[asterisk-bugs] [Asterisk 0014305]: pbx.c's show_dialplan_helper prints an "\r\n" at the end of every call

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 21 20:23:09 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14305 
====================================================================== 
Reported By:                martins
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14305
Category:                   Core/PBX
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 169943 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-21 20:21 CST
Last Modified:              2009-01-21 20:23 CST
====================================================================== 
Summary:                    pbx.c's show_dialplan_helper prints an "\r\n" at the
end of every call
Description: 
Asterisk-Java has expected to consistently see any Manager responses of the
"response: Follows" style to contain whatever response in a single
"\r\n"-ending line somewhere in the response, which could contain multiple
"\n", but ends in "--END COMMAND--\r\n". We've had much success with this
consistent behavior. In fact, it's one of the only ways we can recognize
the data lines that come with a command (because they aren't delimited with
"\r\n", but only an "\n").

Doing an "action: Command" with "dialplan show" as the command fails this
expectation. See additional information for more.
====================================================================== 

---------------------------------------------------------------------- 
 (0098404) martins (reporter) - 2009-01-21 20:23
 http://bugs.digium.com/view.php?id=14305#c98404 
---------------------------------------------------------------------- 
See line 657 of conv.txt for the hex "0d 0a", which is what usually doesn't
appear mid-data stream of manager responses of the "response: Follows"
form. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-21 20:23 martins        Note Added: 0098404                          
======================================================================




More information about the asterisk-bugs mailing list