Summary: | ASTERISK-05719: [patch] CUT() function has no error msg | ||
Reporter: | Clod Patry (junky) | Labels: | |
Date Opened: | 2005-11-27 00:05:57.000-0600 | Date Closed: | 2011-06-07 14:10:43 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Functions/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) cut_noargs.txt | |
Description: | Having this in the dialplan: exten => 73,1,Set(bb=${CUT()}); before the patch: no error at all. with that patch: Nov 27 01:02:02 ERROR[13765]: app_cut.c:390 acf_cut_exec: CUT() requires an argument -- Executing Set("SIP/10-7c2a", "bb=") in new stack | ||
Comments: | By: Russell Bryant (russell) 2005-11-29 00:12:53.000-0600 I have added this to the 1.2 branch, but it still needs to be pulled into the trunk ... By: Russell Bryant (russell) 2005-11-29 23:29:46.000-0600 fixed in the trunk as well By: Digium Subversion (svnbot) 2008-01-15 16:02:29.000-0600 Repository: asterisk Revision: 7230 U trunk/apps/app_cut.c ------------------------------------------------------------------------ r7230 | russell | 2008-01-15 16:02:28 -0600 (Tue, 15 Jan 2008) | 2 lines print an error message if invalid arguments are specified (issue ASTERISK-5719) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=7230 |