res_pjsip_endpoint_identifier_ip: Add 'show identify(ies)' cli commands
authorGeorge Joseph <george.joseph@fairview5.com>
Tue, 2 Dec 2014 00:31:49 +0000 (00:31 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Tue, 2 Dec 2014 00:31:49 +0000 (00:31 +0000)
commitf418f25c449cc160f4e15b259076e516bba0f6bf
treeeeeb4bfdbc6bc461b18b12a3148c9acdec836512
parent4ff6bd831f78d53ee65b9598536976c9d9b216aa
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/
........

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

Merged revisions 428731 from http://svn.asterisk.org/svn/asterisk/branches/13

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