Try this: (You'll have to change the dial portion of course...)
exten => _1800NXXXXXX,1,Dial(${TRUNK}/[EMAIL PROTECTED])
exten => _1800NXXXXXX,2,Congestion
exten => _1888NXXXXXX,1,Dial(${TRUNK}/[EMAIL PROTECTED])
exten => _1888NXXXXXX,2,Congestion
exten => _1877NXXXXXX,1,Dial(${TRUNK}/[EMAIL PROTECTED])
exten => _1877NXXXXXX,2,Congestion
exten => _1866NXXXXXX,1,Dial(${TRUNK}/[EMAIL PROTECTED])
exten => _1866NXXXXXX,2,Congestion
exten => _1NXXNXXXXXX,1,Dial(SIP/......)
exten => _1NXXNXXXXXX,2,CongestionI'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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ 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
