pjsip_cli: Create pjsip show channel and contact, and general cli code cleanup.
authorGeorge Joseph <george.joseph@fairview5.com>
Sat, 8 Mar 2014 16:50:36 +0000 (16:50 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Sat, 8 Mar 2014 16:50:36 +0000 (16:50 +0000)
commit3ff60b75b144d70034a768fc7d7da4537bf7cd7a
tree41509c60312f10e14a72c4f3a6bf37bb85c06cb9
parent5ca081e05369e2611048ac942f6c48e4814e4fe2
pjsip_cli: Create pjsip show channel and contact, and general cli code cleanup.

Created the 'pjsip show channel' and 'pjsip show contact' commands.
Refactored out the hated ast_hashtab.  Replaced with ao2_container.
Cleaned up function naming.  Internal only, no public name changes.
Cleaned up whitespace and brace formatting in cli code.
Changed some NULL checking from "if"s to ast_asserts.
Fixed some register/unregister ordering to reduce deadlock potential.
Fixed ast_sip_location_add_contact where the 'name' buffer was too short.
Fixed some self-assignment issues in res_pjsip_outbound_registration.

(closes issue ASTERISK-23276)
Review: http://reviewboard.asterisk.org/r/3283/
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@410288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/res_pjsip.h
include/asterisk/res_pjsip_cli.h
include/asterisk/sorcery.h
main/sorcery.c
res/res_pjsip/config_auth.c
res/res_pjsip/config_transport.c
res/res_pjsip/location.c
res/res_pjsip/pjsip_cli.c
res/res_pjsip/pjsip_configuration.c
res/res_pjsip_endpoint_identifier_ip.c
res/res_pjsip_outbound_registration.c