Summary: | ASTERISK-13336: Channel not specified - Asterisk-1.6.0.3 | ||
Reporter: | Carlos Cesario (ccesario) | Labels: | |
Date Opened: | 2009-01-10 16:17:32.000-0600 | Date Closed: | 2009-01-27 21:17:57.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/ManagerInterface |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
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; } ****** ADDITIONAL INFORMATION ****** Tested with last stable version - Asterisk-1.6.0.3 | ||
Comments: | By: Clod Patry (junky) 2009-01-10 21:04:13.000-0600 +1 for me. I dont know why this has reappear, since this has been already commited: http://svn.digium.com/view/asterisk/branches/1.6.0/main/manager.c?r1=160701&r2=161490 By: Leif Madsen (lmadsen) 2009-01-11 10:39:53.000-0600 Does this appear in the latest 1.6.0 branch beyond the 1.6.0.3 tag? By: Carlos Cesario (ccesario) 2009-01-11 16:01:04.000-0600 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; } By: Leif Madsen (lmadsen) 2009-01-12 09:41:43.000-0600 Fixed in revision 161490. Will make it into 1.6.0.4 and beyond. |