[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 16:35:52 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14349 
====================================================================== 
Reported By:                erik_dedecker
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14349
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
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 16:35 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;
}


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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-27 16:35 erik_dedecker  New Issue                                    
2009-01-27 16:35 erik_dedecker  Asterisk Version          => 1.6.0.5         
2009-01-27 16:35 erik_dedecker  Regression                => No              
2009-01-27 16:35 erik_dedecker  SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list