Fix sip show peers port output, align columns, and fix ami port output.
authorJonathan Rose <jrose@digium.com>
Thu, 2 Feb 2012 17:07:35 +0000 (17:07 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 2 Feb 2012 17:07:35 +0000 (17:07 +0000)
commit516419697278a9d029825b17f55a25302bf3fc0d
tree5fcb156dfc4b8eeeb172c44852a565159376e01a
parent0e334d427b55915fca4d3bd0241df1d23c2aa68c
Fix sip show peers port output, align columns, and fix ami port output.

A previous patch I committed from ASTERISK-16930 unexpectedly changed some output for
the AMI action "sippeers" which this patch changes back. Also, this aligns the output
for the cli command "sip show peers" and fixes another issue that patch introduced by
using ast_sockaddr_stringify calls multiple times without immediately using the pointer.
I also went ahead and did a little janitorial work to clean up whitespace in
_sip_show_peers.

(issue ASTERISK-16930)
(closes issue ASTERISK-19281)
Reported by: Patrick El Youssef
Patches:
ASTERISK-19281.diff uploaded by Walter Doekes (license 5674)
........

Merged revisions 353769 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 353771 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@353772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c