Asterisk - The Open Source Telephony Project
18.5.0
|
PJSIP CLI functions header file. More...
Go to the source code of this file.
Functions | |
int | pjsip_channel_cli_register (void) |
Registers the channel cli commands. More... | |
void | pjsip_channel_cli_unregister (void) |
Unregisters the channel cli commands. More... | |
PJSIP CLI functions header file.
Definition in file cli_functions.h.
int pjsip_channel_cli_register | ( | void | ) |
Registers the channel cli commands.
0 | on success |
-1 | on failure |
Definition at line 448 of file cli_commands.c.
References ao2_alloc, ao2_ref, ARRAY_LEN, ast_cli_register_multiple, ast_log, ast_sip_register_cli_formatter(), cli_channel_get_container(), cli_channel_get_id(), cli_channel_iterate(), cli_channel_print_body(), cli_channel_print_header(), cli_channel_retrieve_by_id(), cli_channelstats_get_container(), cli_channelstats_iterate(), cli_channelstats_print_body(), cli_channelstats_print_header(), ast_sip_cli_formatter_entry::get_container, ast_sip_cli_formatter_entry::get_id, ast_sip_cli_formatter_entry::iterate, LOG_ERROR, ast_sip_cli_formatter_entry::name, NULL, ast_sip_cli_formatter_entry::print_body, ast_sip_cli_formatter_entry::print_header, and ast_sip_cli_formatter_entry::retrieve_by_id.
Referenced by load_module().
void pjsip_channel_cli_unregister | ( | void | ) |
Unregisters the channel cli commands.
Definition at line 484 of file cli_commands.c.
References ARRAY_LEN, ast_cli_unregister_multiple(), and ast_sip_unregister_cli_formatter().
Referenced by unload_module().