On Monday 06 July 2009 12:15:03 am Joseph L. Casale wrote: > >exten => s,n,ExecIf($["${ARG1}" = "1${ARG1:1}" > > ]?Set(Dialnum=${ARG1:1}):Set(Dialnum=${ARG1})) > > Much simpler Dhaval, thanks! Even simpler: exten => s,n,Set(Dialnum=${IF($["${ARG1:0:1}"="1"]?${ARG1:1}:${ARG1})}) -- Tilghman