[Asterisk-Users] (no subject)

Steven Critchfield critch at basesys.com
Mon Jun 28 08:21:30 MST 2004


On Mon, 2004-06-28 at 09:55, Simon wrote:
> Ok so here's one i have already asked but i don't know if anyone saw it
> 
> Has anyone managed to get the 'i' extension to work.
> I have included within each context the following
> 
> exten => i,1,Goto(wrong-number,s,1)
> 
> then in
> [wrong-number]
> exten => s,1,GotoIf($[${EXTEN:0:2} = 43}]?10:2)

Take a quick moment to excersize the brain here and think about what the
${EXTEN} would evaluate when at exten=> s. I doubt it is what you wanted
it to be.

> exten => s,2,GotoIf($[${EXTEN:0:2} = 62}]?11:99)
> exten => s,10,Goto(main-office,${EXTEN},1)
> exten => s,11,Goto(remote-office,${EXTEN},1)
> exten => s,99,Congestion
> 
> Problem is the i does not seem to work at all , any suggestions ( have
> searched the WiKi )
> 
> Best Regards
> Simon
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list