[asterisk-commits] rmudgett: branch 10 r338664 - in /branches/10:	./ channels/chan_sip.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Fri Sep 30 11:35:51 CDT 2011
    
    
  
Author: rmudgett
Date: Fri Sep 30 11:35:48 2011
New Revision: 338664
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=338664
Log:
Fix formatting of AMI header for SIP show peer.
ASTERISK-17486 exposed the problem for AMI parsers.
(closes issue ASTERISK-18649)
Reported by: Jacek Konieczny
Patches:
      asterisk-sipshowpeer_response_end.patch (license #6298) patch uploaded by Jacek Konieczny
........
Merged revisions 338663 from http://svn.asterisk.org/svn/asterisk/branches/1.8
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=338664&r1=338663&r2=338664
==============================================================================
--- branches/10/channels/chan_sip.c (original)
+++ branches/10/channels/chan_sip.c Fri Sep 30 11:35:48 2011
@@ -17554,8 +17554,8 @@
 				astman_append(s, "ChanVariable: %s=%s\r\n", v->name, v->value);
 			}
 		}
-		astman_append(s, "SIP-Use-Reason-Header : %s\r\n", (ast_test_flag(&peer->flags[1], SIP_PAGE2_Q850_REASON)) ? "Y" : "N");
-		astman_append(s, "Description : %s\r\n", peer->description);
+		astman_append(s, "SIP-Use-Reason-Header: %s\r\n", (ast_test_flag(&peer->flags[1], SIP_PAGE2_Q850_REASON)) ? "Y" : "N");
+		astman_append(s, "Description: %s\r\n", peer->description);
 
 		peer = sip_unref_peer(peer, "sip_show_peer: sip_unref_peer: done with peer");
 
    
    
More information about the asterisk-commits
mailing list