[asterisk-bugs] [Asterisk 0013903]: Pong response not properly terminated.

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 14 11:02:08 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13903 
====================================================================== 
Reported By:                kebl0155
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13903
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0-rc6 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-14 10:37 CST
Last Modified:              2008-11-14 11:02 CST
====================================================================== 
Summary:                    Pong response not properly terminated.
Description: 
In 1.6 the pong response has been changed to:

Response: Success
Ping: Pong

However, the response ends with a single carriage return, so the next
event comes as merged with the response, like this:

Response: Success
Ping: Pong
Event: Newchannel
Privilege: call,all
Channel: SIP/12344-0823b700
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: 12344
CallerIDName: 12344
AccountCode:
Uniqueid: 1226680481.26

There should be a blank line between the Response and the Event.

====================================================================== 

---------------------------------------------------------------------- 
 (0094906) svnbot (reporter) - 2008-11-14 11:02
 http://bugs.digium.com/view.php?id=13903#c94906 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 156911

U   trunk/main/manager.c

------------------------------------------------------------------------
r156911 | tilghman | 2008-11-14 11:02:07 -0600 (Fri, 14 Nov 2008) | 4
lines

Ping is missing the standard double-newline after the event.
(closes issue http://bugs.digium.com/view.php?id=13903)
 Reported by: kebl0155

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=156911 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-14 11:02 svnbot         Checkin                                      
2008-11-14 11:02 svnbot         Note Added: 0094906                          
======================================================================




More information about the asterisk-bugs mailing list