Summary:ASTERISK-07224: Stripping digits does not work in NoOp
Reporter:William Piper (billyp)Labels:
Date Opened:2006-06-22 21:27:42Date Closed:2011-06-07 14:08:27
Versions:Frequency of
Description:Stripping digits does not work for NoOp.

Example Error: exten => s,2,NoOp(${CALLERIDNUM:-12:2})
This will return the full calleridnum.  It should only display the first 2 digits of the callerid.

The same thing works fine under another function:
Example works: exten => s,2,SetCallerID(${CALLERIDNUM:-12:2})
This will return only the first 2 digits (as it is written to do).

It seems as though the NoOp is the only command that has trouble with the stripping of digits.
Comments:By: Serge Vecher (serge-v) 2006-06-23 08:30:15

same thing happens in Also, can you please show console output

By: Malcolm Davenport (mdavenport) 2006-06-23 09:56:01

Reported e-mailed bugnote, rather than attaching it via web interface.  Reported indicated that they'd made a mistake in syntax.