On Sat, 2007-08-18 at 21:11 -0700, Ira wrote:
> At 08:29 PM 8/18/2007, you wrote:
> > > > exten => _1NXXNXXXXXX,1,GotoIf($[${EXTEN} = "15554441212"]?100)
> >Where?
> >
> >I the only variable I am using is ${EXTEN} and as far as I can see I
> >have a dollar sign on each ${EXTEN}.
> 
> I think it's this one.
> 
> GotoIf($[${EXTEN} = "15554441212"]?100)
> 
> Ira 

Both issues have to be fixed for this to work right, the $ issue and the
quote issue:

exten => _1NXXNXXXXXX,1,GotoIf($["${EXTEN}" = "15554441212"]?100)

or you can, in this case, drop the quotes on both sides:

exten => _1NXXNXXXXXX,1,GotoIf($[${EXTEN} = 15554441212]?100)


Best of luck,

murf


> 
> 
> _______________________________________________
> --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
-- 
Steve Murphy
Software Developer
Digium

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
--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