diff --git a/res/res_pjsip/location.c b/res/res_pjsip/location.c index 8826286690078ad78a6cbf13406529d1c1dba38b..6c77beefe79fc955005d2f8affcfcc8647fa524d 100644 --- a/res/res_pjsip/location.c +++ b/res/res_pjsip/location.c @@ -649,6 +649,10 @@ static struct ast_cli_entry cli_commands[] = { .command = "pjsip list contacts", .usage = "Usage: pjsip list contacts\n" " List the configured PJSIP contacts\n"), + AST_CLI_DEFINE(ast_sip_cli_traverse_objects, "Show PJSIP Contacts", + .command = "pjsip show contacts", + .usage = "Usage: pjsip show contacts\n" + " Show the configured PJSIP contacts\n"), }; /*! \brief Initialize sorcery with location support */ diff --git a/res/res_pjsip_outbound_registration.c b/res/res_pjsip_outbound_registration.c index c97fb750cb283bcc587b180a1980d026e6c01f2b..0ef9507110055615ea9fee3977be3132ed38d887 100644 --- a/res/res_pjsip_outbound_registration.c +++ b/res/res_pjsip_outbound_registration.c @@ -1211,6 +1211,10 @@ static struct ast_cli_entry cli_outbound_registration[] = { .command = "pjsip list registrations", .usage = "Usage: pjsip list registrations\n" " List the configured PJSIP Registrations\n"), + AST_CLI_DEFINE(my_cli_traverse_objects, "Show PJSIP Registrations", + .command = "pjsip show registrations", + .usage = "Usage: pjsip show registrations\n" + " Show the configured PJSIP Registrations\n"), AST_CLI_DEFINE(my_cli_traverse_objects, "Show PJSIP Registration", .command = "pjsip show registration", .usage = "Usage: pjsip show registration <id>\n"