[asterisk-bugs] [Asterisk 0014349]: manager.c - error in action_originate resulting in "Channel not specified" error

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 27 21:08:00 CST 2009


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14349 
====================================================================== 
Reported By:                erik_dedecker
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14349
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.0.5 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-01-27 16:35 CST
Last Modified:              2009-01-27 21:08 CST
====================================================================== 
Summary:                    manager.c - error in action_originate resulting in
"Channel not specified" error
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;
}


====================================================================== 

---------------------------------------------------------------------- 
 (0098929) blitzrage (administrator) - 2009-01-27 21:08
 http://bugs.digium.com/view.php?id=14349#c98929 
---------------------------------------------------------------------- 
Assigned to mnicholson to confirm this is really a simple issue that can be
fixed easily :) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-27 21:08 blitzrage      Note Added: 0098929                          
2009-01-27 21:08 blitzrage      Assigned To               => mnicholson      
======================================================================




More information about the asterisk-bugs mailing list