res_pjsip: Updates and adds more PJSIP CLI commands.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 6 Feb 2014 17:55:45 +0000 (17:55 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 6 Feb 2014 17:55:45 +0000 (17:55 +0000)
commitb5ca213e34055724a5cd669938e356569847edcb
treeae81ec8dc3add7c1ed3cb94c361a205e94a3bcd7
parent8ff02ac951c979b1e5e340b3b1cc05736780be20
res_pjsip: Updates and adds more PJSIP CLI commands.

* Adds identify, transport, and registration support to the PJSIP CLI.

* Creates three additional callbacks, one for an iterator, one for a
comparator, and one for a container.  This eliminates the link dependency
from higher level modules to lower level ones.

* Eliminates duplicate sorting in PJSIP CLI commands.

* Cleans up PJSIP CLI output formatting.

* Pushes CLI command registration down to the implementing source file.

* Adds several ast_sip_destroy_sorcery functions to complement existing
ast_sip_sorcery_initialize functions.  The destroy functions unregister
PJSIP CLI commands and PJSIP CLI formatters.

Reported by: George Joseph

Review: https://reviewboard.asterisk.org/r/3104/
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@407573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
14 files changed:
include/asterisk/res_pjsip.h
include/asterisk/res_pjsip_cli.h
res/res_pjsip/config_auth.c
res/res_pjsip/config_domain_aliases.c
res/res_pjsip/config_global.c
res/res_pjsip/config_transport.c
res/res_pjsip/include/res_pjsip_private.h
res/res_pjsip/location.c
res/res_pjsip/pjsip_cli.c
res/res_pjsip/pjsip_configuration.c
res/res_pjsip/pjsip_options.c
res/res_pjsip_endpoint_identifier_ip.c
res/res_pjsip_logger.c
res/res_pjsip_outbound_registration.c