[asterisk-commits] kmoore: branch 10 r334007 - in /branches/10: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 31 10:19:34 CDT 2011


Author: kmoore
Date: Wed Aug 31 10:19:30 2011
New Revision: 334007

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=334007
Log:
Merged revisions 334006 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r334006 | kmoore | 2011-08-31 10:18:37 -0500 (Wed, 31 Aug 2011) | 7 lines
  
  Correct an AMI protocol violation with SIPshowpeer
  
  The response of SIPshowpeer ends with "\r\n\r\n". Since other commands are
  ended by using \r\n this confuses any interfacing script.
  
  (closes issue ASTERISK-17486)
........

Modified:
    branches/10/   (props changed)
    branches/10/channels/chan_sip.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_sip.c?view=diff&rev=334007&r1=334006&r2=334007
==============================================================================
--- branches/10/channels/chan_sip.c (original)
+++ branches/10/channels/chan_sip.c Wed Aug 31 10:19:30 2011
@@ -17156,7 +17156,7 @@
 	a[3] = peer;
 
 	_sip_show_peer(1, -1, s, m, 4, a);
-	astman_append(s, "\r\n\r\n" );
+	astman_append(s, "\r\n" );
 	return 0;
 }
 




More information about the asterisk-commits mailing list