[asterisk-bugs] [Asterisk 0014208]: Channel not specified - Asterisk-1.6.0.3

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jan 11 16:01:05 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14208 
====================================================================== 
Reported By:                ccesario
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14208
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.3-rc1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-10 16:17 CST
Last Modified:              2009-01-11 16:01 CST
====================================================================== 
Summary:                    Channel not specified - Asterisk-1.6.0.3
Description: 
The originate command in AMI, return "Channel not specified", but channel
param is defined.

maybe is a mismatch in manager.c ?

--- manager.c.ori       2009-01-10 20:03:24.000000000 -0200
+++ manager.c   2009-01-10 20:04:40.000000000 -0200
@@ -2163,7 +2163,7 @@
        int format = AST_FORMAT_SLINEAR;

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


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

---------------------------------------------------------------------- 
 (0097453) ccesario (reporter) - 2009-01-11 16:01
 http://bugs.digium.com/view.php?id=14208#c97453 
---------------------------------------------------------------------- 
blitzrage, 

   I don't know... but in actual 1.6.0 branch this appear be fixed.

   http://svn.digium.com/svn/asterisk/branches/1.6.0/main/manager.c


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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-11 16:01 ccesario       Note Added: 0097453                          
======================================================================




More information about the asterisk-bugs mailing list