[asterisk-users] How to manipulate a plus in a phone number

Ira ira at extrasensory.com
Tue Sep 5 09:00:19 MST 2006


At 03:21 AM 9/5/2006, you wrote:
>exten => 1,n,set(INNAT=${FIELDQTY(+,${ATELNO})})
>
>None of them work.....

This is what I do:
exten => s,n,gotoif($["${EXTEN:0:2}" = "+1"]?fixcid:okcid)
exten => s,n(fixcid), set(xxx=${EXTEN:0:2})
exten => s,n(okcid), noop()

Ira 




More information about the asterisk-users mailing list