[Home]

Summary:ASTERISK-12226: Incorrect format of events send to the child's stdin - missing second coma.
Reporter:Chris Maciejewski (chris-mac)Labels:
Date Opened:2008-06-19 08:31:35Date Closed:2008-06-19 10:47:08
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_externalivr
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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
Comments:By: Digium Subversion (svnbot) 2008-06-19 10:45:30

Repository: asterisk
Revision: 123865

U   trunk/apps/app_externalivr.c

------------------------------------------------------------------------
r123865 | tilghman | 2008-06-19 10:45:28 -0500 (Thu, 19 Jun 2008) | 4 lines

Missing comma
(closes issue ASTERISK-12226)
Reported by: chris-mac

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

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

By: Digium Subversion (svnbot) 2008-06-19 10:47:08

Repository: asterisk
Revision: 123866

_U  branches/1.6.0/

------------------------------------------------------------------------
r123866 | tilghman | 2008-06-19 10:47:07 -0500 (Thu, 19 Jun 2008) | 11 lines

Blocked revisions 123865 via svnmerge

........
r123865 | tilghman | 2008-06-19 10:52:17 -0500 (Thu, 19 Jun 2008) | 4 lines

Missing comma
(closes issue ASTERISK-12226)
Reported by: chris-mac

........

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

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