[Home]

Summary:ASTERISK-09190: When using CUT() in a DUNDi mapping, you always get a NULL value back
Reporter:Leif Madsen (lmadsen)Labels:
Date Opened:2007-04-04 16:05:15Date Closed:2007-04-04 16:07:07
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When using a DUNDi mapping like the following:

[mappings]
conferences => conference_cluster,0,SIP,${CUT(NUMBER|-|1)}

You get a SIP/   as the return value (when you should get 12345 assuming the value of NUMBER is 12345-abcde).

This is a patch Corydon made that works, but no one was confident it wouldn't introduce other issues:

http://asterisk.drunkcoder.com/hacks/20070404__blitzrage.diff.txt
Comments:By: Leif Madsen (lmadsen) 2007-04-04 16:07:07

Corydon beat me to posting this bug :)