mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-24 05:38:11 +00:00
pjsip_cli: Add pjsip commands 'show registrations' and 'show contacts'.
Added 'show registrations' and 'show contacts' to pjsip cli to make things a little more consistent. The output is exactly the same as the list command. Just needed to add entries to their respective ast_cli_entry structures. (closes issue ASTERISK-23275) Review: http://reviewboard.asterisk.org/r/3210/ ........ Merged revisions 408522 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@408523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user