[Asterisk-Users] Call priority

John Fraizer tvo at enterzone.net
Tue Feb 24 10:17:24 MST 2004


Try this: (You'll have to change the dial portion of course...)

exten => _1800NXXXXXX,1,Dial(${TRUNK}/${EXTEN}@iaxtel)
exten => _1800NXXXXXX,2,Congestion
exten => _1888NXXXXXX,1,Dial(${TRUNK}/${EXTEN}@iaxtel)
exten => _1888NXXXXXX,2,Congestion
exten => _1877NXXXXXX,1,Dial(${TRUNK}/${EXTEN}@iaxtel)
exten => _1877NXXXXXX,2,Congestion
exten => _1866NXXXXXX,1,Dial(${TRUNK}/${EXTEN}@iaxtel)
exten => _1866NXXXXXX,2,Congestion
exten => _1NXXNXXXXXX,1,Dial(SIP/......)
exten => _1NXXNXXXXXX,2,Congestion


I've never seen any of my toll-free calls fall through to the _1NXXNXXXXXX 
extension before.

John


Isamar Maia wrote:
> I am trying to make some call routing...
> 
> I have the following rules in the same context:
> 
> ; 1st rule
> exten => _1800.,1,Dial(SIP/......)
> exten => _1800.,2,Congestion
> 
> ; 2nd rule
> exten => _1.,1,Dial(SIP/......)
> exten => _1.,2,Congestion
> 
> The problem is that some 1800 calls are still going to the second rule.
> What is the best way to accomplish that?
> 
> Thanks,
> 
> Isamar Maia
> 
> 
> 
> _______________________________________________
> 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




More information about the asterisk-users mailing list