> If I replace the whole lot with:
> exten => _88XXXXXXX,1,Dial,Zap/4/1414${EXTEN:1}
> exten => _88XXXXXXX,2,Dial,Zap/3/1414${EXTEN:1}
> exten => _88XXXXXXX,3,Dial(SIP/jya-home-out/${EXTEN:1},60,r)
> exten => _88XXXXXXX,4,Dial(IAX2/freshtel/${EXTEN:1},60,r)
> exten => _89XXXXXXX,1,Dial,Zap/4/1414${EXTEN:1}
> exten => _89XXXXXXX,2,Dial,Zap/3/1414${EXTEN:1}
> exten => _89XXXXXXX,3,Dial(SIP/jya-home-out/${EXTEN:1},60,r)
> exten => _89XXXXXXX,4,Dial(IAX2/freshtel/${EXTEN:1},60,r)
> exten => _8X.,1,Dial(IAX2/freshtel/${EXTEN:1},60,r)
> exten => _8X.,2,Congestion
> 
> Then if dialing 88888888 it will use the Zap interface first...
> 
> How could that be?

IIRC, the order of evaluation is not guaranteed in the dialplan. I
read that to impose an order of evaluation, you need to use contexts
and include them in the order you want.
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to