>Even simpler:
>exten => s,n,Set(Dialnum=${IF($["${ARG1:0:1}"="1"]?${ARG1:1}:${ARG1})})

Thanks Tilghman,
I am making a note of this as well!
jlc

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to