[asterisk-commits] pabelanger: trunk r293888 - in /trunk: ./ channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 4 08:29:25 CDT 2010
Author: pabelanger
Date: Thu Nov 4 08:29:20 2010
New Revision: 293888
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=293888
Log:
Merged revisions 293887 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r293887 | pabelanger | 2010-11-04 09:27:54 -0400 (Thu, 04 Nov 2010) | 8 lines
Do not output port in IPaddress for AMI sippeers.
(closes issue #18248)
Reported by: orn
Patches:
ami_sippeers.patch uploaded by pabelanger (license 224)
Tested by: orn
........
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=293888&r1=293887&r2=293888
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Nov 4 08:29:20 2010
@@ -15772,7 +15772,7 @@
"RealtimeDevice: %s\r\n\r\n",
idtext,
peer->name,
- ast_sockaddr_isnull(&peer->addr) ? "-none-" : ast_sockaddr_stringify(&peer->addr),
+ ast_sockaddr_isnull(&peer->addr) ? "-none-" : ast_sockaddr_stringify_fmt(&peer->addr, AST_SOCKADDR_STR_HOST),
ast_sockaddr_isnull(&peer->addr) ? 0 : ast_sockaddr_port(&peer->addr),
peer->host_dynamic ? "yes" : "no", /* Dynamic or not? */
ast_test_flag(&peer->flags[0], SIP_NAT_FORCE_RPORT) ? "yes" : "no", /* NAT=yes? */
More information about the asterisk-commits
mailing list