[asterisk-bugs] [Asterisk 0012891]: Incorrect format of events send to the child's stdin - missing second coma.

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jun 19 08:31:37 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12891 
====================================================================== 
Reported By:                chris-mac
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12891
Category:                   Applications/app_externalivr
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 123826 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             06-19-2008 08:31 CDT
Last Modified:              06-19-2008 08:31 CDT
====================================================================== 
Summary:                    Incorrect format of events send to the child's stdin
- missing second coma.
Description: 
Events are not sent in the correct format:
tag,timestamp[,data]

second comma is missing eg: "F,1213882295vm-messages"

I think I already found a fix: 

trunk/apps/app_externalivr.c:

Line 121 is:     ast_str_append(&tmp, 0, "%s", data);
should be:       ast_str_append(&tmp, 0, ",%s", data);

However as I never coded single line for *, please verify the above.

Regards,
Chris
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-19-08 08:31  chris-mac      Asterisk Version          => SVN             
06-19-08 08:31  chris-mac      SVN Branch (only for SVN checkou =>  trunk       
  
06-19-08 08:31  chris-mac      SVN Revision (number only!) => 123826          
======================================================================




More information about the asterisk-bugs mailing list