[asterisk-commits] qwell: branch 1.6.1 r139212 - in /branches/1.6.1: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 20 17:07:48 CDT 2008


Author: qwell
Date: Wed Aug 20 17:07:47 2008
New Revision: 139212

URL: http://svn.digium.com/view/asterisk?view=rev&rev=139212
Log:
Merged revisions 139210 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r139210 | qwell | 2008-08-20 17:06:40 -0500 (Wed, 20 Aug 2008) | 7 lines

Fix output of sipshowpeer manager response.

(closes issue #13346)
Reported by: srt
Patches:
      13346_malformed_sip_show_peer_response.diff uploaded by srt (license 378)

........

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

Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.1/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/channels/chan_sip.c?view=diff&rev=139212&r1=139211&r2=139212
==============================================================================
--- branches/1.6.1/channels/chan_sip.c (original)
+++ branches/1.6.1/channels/chan_sip.c Wed Aug 20 17:07:47 2008
@@ -13244,12 +13244,11 @@
 		peer_status(peer, status, sizeof(status));
 		astman_append(s, "%s\r\n", status);
  		astman_append(s, "SIP-Useragent: %s\r\n", peer->useragent);
- 		astman_append(s, "Reg-Contact : %s\r\n", peer->fullcontact);
-		astman_append(s, "QualifyFreq : %d ms\n", peer->qualifyfreq);
+ 		astman_append(s, "Reg-Contact: %s\r\n", peer->fullcontact);
+		astman_append(s, "QualifyFreq: %d ms\r\n", peer->qualifyfreq);
 		if (peer->chanvars) {
 			for (v = peer->chanvars ; v ; v = v->next) {
- 				astman_append(s, "ChanVariable:\n");
- 				astman_append(s, " %s,%s\r\n", v->name, v->value);
+ 				astman_append(s, "ChanVariable: %s=%s\r\n", v->name, v->value);
 			}
 		}
 




More information about the asterisk-commits mailing list