[Home]

Summary:ASTERISK-13464: manager.c - error in action_originate resulting in "Channel not specified" error
Reporter:Erik De Decker (erik_dedecker)Labels:
Date Opened:2009-01-27 16:35:52.000-0600Date Closed:2009-01-27 21:17:57.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:In Asterisk version 1.6.0.5 main/manager.c

in function call: action_originate

The test condition is reversed:

if (!ast_strlen_zero(name)) {
            astman_send_error(s, m, "Channel not specified");
              return 0;
}

must become:

if (ast_strlen_zero(name)) {
            astman_send_error(s, m, "Channel not specified");
              return 0;
}



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

Patch was verified and functioning....

Regards,

Erik
Comments:By: Leif Madsen (lmadsen) 2009-01-27 21:08:00.000-0600

Assigned to mnicholson to confirm this is really a simple issue that can be fixed easily :)

By: Sean Bright (seanbright) 2009-01-27 21:17:46.000-0600

This has been resolved in the 1.6 branch for some time but hasn't yet made it into a release.  It will be in the next 1.6.0.x release.

Duplicate of 14208