]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix sip show peers port output, align columns, and fix ami port output.
authorJonathan Rose <jrose@digium.com>
Thu, 2 Feb 2012 16:57:36 +0000 (16:57 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 2 Feb 2012 16:57:36 +0000 (16:57 +0000)
commitad2462475183c8336ac8d54e472c5e77d5fb7abe
tree99684de65423e6ed1c6ebd8784211cc8c0e4506a
parent3c1a9894e8a92ee86b821660ce92340c79778dce
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)

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