[asterisk-bugs] [Asterisk 0013772]: Default delimiter for ${CUT(var, , n)} is no longer handled

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 28 11:01:22 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13772 
====================================================================== 
Reported By:                jcovert
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13772
Category:                   Functions/func_cut
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-23 06:59 CDT
Last Modified:              2008-10-28 11:01 CDT
====================================================================== 
Summary:                    Default delimiter for ${CUT(var,,n)} is no longer
handled
Description: 
The default delimiter for CUT is supposed to be a "-" (as documented in
show function).

Any existing dialplan will malfunction until this is fixed.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0013470 Func CUT requires default of '-' to be ...
====================================================================== 

---------------------------------------------------------------------- 
 (0094334) jcovert (reporter) - 2008-10-28 11:01
 http://bugs.digium.com/view.php?id=13772#c94334 
---------------------------------------------------------------------- 
I am running release 1.6.0.1, not the release candidate.

Asterisk 1.6.0.1 built by root @ JRCovert.local on a Power Macintosh
running Darwin on 2008-10-23 02:02:13 UTC

The dialplan which produced the output above is:

exten => 999,1,Noop(Test of CUT function default delimiter)
exten => 999,n,Set(foo="one-two")
exten => 999,n,Noop(CUT(foo,,1) returns ${CUT(foo,,1)})
exten => 999,n,Noop(CUT(foo,-,1) returns ${CUT(foo,-,1)})
exten => 999,n,Hangup 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-28 11:01 jcovert        Note Added: 0094334                          
======================================================================




More information about the asterisk-bugs mailing list