]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip_cli: Create pjsip show channel and contact, and general cli code cleanup.
authorGeorge Joseph <george.joseph@fairview5.com>
Sat, 8 Mar 2014 16:41:04 +0000 (16:41 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Sat, 8 Mar 2014 16:41:04 +0000 (16:41 +0000)
commite59a4de0e40fd903b28a5ec5b40b22d819207d73
treef57bc41055f9a383eb51af2649029667b3fb8711
parent14afa3297928999a9730a456982217074ab620c3
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/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@410287 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