res_pjsip: Add PJSIP CLI commands
authorMatthew Jordan <mjordan@digium.com>
Fri, 20 Dec 2013 21:32:13 +0000 (21:32 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 20 Dec 2013 21:32:13 +0000 (21:32 +0000)
commitb172d369c4057cddad18c0d6b1100233c07ebbd7
tree0665c20e48161773916473a951bac27315d26d2b
parenta0c288bb23164c6ff91019172980c8aff6fd8c8d
res_pjsip: Add PJSIP CLI commands

Implements the following cli commands:
pjsip list aors
pjsip list auths
pjsip list channels
pjsip list contacts
pjsip list endpoints
pjsip show aor(s)
pjsip show auth(s)
pjsip show channels
pjsip show endpoint(s)

Also...
Minor modifications made to the AMI command implementations to facilitate
reuse.

New function ast_variable_list_sort added to config.c and config.h to implement
variable list sorting.

(issue ASTERISK-22610)
patches:
  pjsip_cli_v2.patch uploaded by george.joseph (License 6322)
........

Merged revisions 404480 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
15 files changed:
CREDITS
include/asterisk/config.h
include/asterisk/res_pjsip.h
include/asterisk/res_pjsip_cli.h [new file with mode: 0644]
include/asterisk/sorcery.h
main/channel.c
main/config.c
main/sorcery.c
res/res_pjsip/config_auth.c
res/res_pjsip/include/res_pjsip_private.h
res/res_pjsip/location.c
res/res_pjsip/pjsip_cli.c [new file with mode: 0644]
res/res_pjsip/pjsip_configuration.c
res/res_pjsip_endpoint_identifier_ip.c
res/res_pjsip_registrar.c