[asterisk-commits] elguero: branch 1.8 r396236 - /branches/1.8/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 5 14:45:51 CDT 2013


Author: elguero
Date: Mon Aug  5 14:45:49 2013
New Revision: 396236

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=396236
Log:
Restore Extra Line Break Between Peers When Running AMI Action SIPPeers

The commit (r387133) for fixing ASTERISK-21466 accidentally removed an extra
line break between the peers returned by the AMI action SIPPeers.  This
results in some parsers breaking because they expect this extra line break.

This patch restores that extra line break.

(closes issue ASTERISK-22239)
Reported by: Jacek Konieczny
Tested by: Jacek Konieczny, Michael L. Young
Patches:
    asterisk-ami_sippeers_separator.patch by Jacek Konieczny (license 6298)

Modified:
    branches/1.8/channels/chan_sip.c

Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=396236&r1=396235&r2=396236
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Mon Aug  5 14:45:49 2013
@@ -17528,7 +17528,7 @@
 		"TextSupport: %s\r\n"
 		"ACL: %s\r\n"
 		"Status: %s\r\n"
-		"RealtimeDevice: %s\r\n",
+		"RealtimeDevice: %s\r\n\r\n",
 		cont->idtext,
 		peer->name,
 		ast_sockaddr_isnull(&peer->addr) ? "-none-" : tmp_host,




More information about the asterisk-commits mailing list