[Home]

Summary:ASTERISK-12720: Func CUT requires default of '-' to be entered
Reporter:Alec Davis (alecdavis)Labels:
Date Opened:2008-09-12 06:22:49Date Closed:2008-10-28 10:37:57
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Functions/func_cut
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:asterisk 1.6.0.rc6

core show function CUT, reports that the "char-delim - defaults to '-'".
But in practice the default of '-' is now required to be entered.

http://svn.digium.com/view/asterisk?view=rev&revision=99015
Log Message: Reset default CUT delimiter back to '-'

Doesn't seem to have stuck.



****** ADDITIONAL INFORMATION ******

example from macro-dialout:
exten => s,n,Set(AVAILCHAN_NOSESSION=${CUT(AVAILCHAN,,1)})

actually required is:
exten => s,n,Set(AVAILCHAN_NOSESSION=${CUT(AVAILCHAN,-,1)})

If this is fixed, it's one less set of changes required to a 1.4 dialplan.

Comments:By: Tilghman Lesher (tilghman) 2008-09-12 11:50:02

Fixed in trunk revision 142748, 1.6.0 revision 142749.