[Home]

Summary:ASTERISK-06930: Wrong event reported for Originate. Reports the opposite of what the event is.
Reporter:Christopher Chenoweth (cdyne)Labels:
Date Opened:2006-05-08 21:08:04Date Closed:2006-05-09 01:00:37
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:manager.c has a bug on line 1314.  The OriginateFailure/OriginateSuccess is backwards.

http://svn.digium.com/view/asterisk/trunk/manager.c?r1=7682&r2=7732




****** ADDITIONAL INFORMATION ******

line: 1314

res ? "OriginateSuccess" : "OriginateFailure"

could be:

res ? "OriginateFailure" : "OriginateSuccess"

or to match the older code better it should be:
!res ? "OriginateSuccess" : "OriginateFailure"

This URL shows the difference and when the error was introduced:
http://svn.digium.com/view/asterisk/trunk/manager.c?r1=7682&r2=7732


Comments:By: Tilghman Lesher (tilghman) 2006-05-09 01:00:37

Fixed in trunk.