]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_endpoint_identifier_ip: Add 'show identify(ies)' cli commands
authorGeorge Joseph <george.joseph@fairview5.com>
Mon, 1 Dec 2014 23:55:05 +0000 (23:55 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Mon, 1 Dec 2014 23:55:05 +0000 (23:55 +0000)
commit2e0fc18b4b997bfb706e8c97ae77f73e9076ebee
tree32b34da7ef2e9938b29cdafc864ea168c15fad64
parent4588a0bc3c51f8b135f38fe69685055197072cc1
res_pjsip_endpoint_identifier_ip: Add 'show identify(ies)' cli commands

While troubleshooting other things I realized there were no pjsip cli
commands for identify.  This patch adds them.  It also also fixes a
reference leak when a 'show endpoint' displayed identifies and properly
sets the return code if load_module can't allocate a cli formatter structure.

Tested-by: George Joseph
Review: https://reviewboard.asterisk.org/r/4212/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@428725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip/pjsip_cli.c
res/res_pjsip_endpoint_identifier_ip.c