[asterisk-bugs] manager.c originate bug

Vladimir Vasilev vladimir.vasilev at sirma.bg
Thu Dec 11 04:23:53 CST 2008


Hi folks

I found a problem in the latest stable version 1.6.0.3-rc1 in manager's 
originate function. The check for CHANNEL is wrong:


--- asterisk-1.6.0.3-rc1/main/manager.c 2008-12-03 00:56:36.000000000 +0200
+++ asterisk-1.6.0.3-rc1.patched/main/manager.c 2008-12-11 11:27:25.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;
        }

In asterisk-1.6.1-beta2 it is fixed.
I do not participate in many projects  but why rc1 (release candidate) is a 
stable version? 

Cheers,

-- 

Vladimir Vasilev
System Integrator
-------------------------------
Sirma Group Corp. (www.sirma.bg)
135 Tzarigradsko Shosse, Floor 3
1784 Sofia, Bulgaria
mailto:vladimir.vasilev at sirma.bg
phone: +359 2 809-1499  ;  +359 2 976-8310
fax: +359 2 976-8311
mobile: +359 894 343-252



More information about the asterisk-bugs mailing list