Hi! > ; 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?
I would really love to see a NOT implemented, wouldn't that be nice to have? with [0-7,9] I can only treat one digit but not 800 or 1800 as such. exten => _1!800.,1,Dial(SIP/......) exten => _1!800.,2,Congestion Ok, now to your question: Make a separate context for each of your rules, and then include those contexts in your working context in the order (!) that you want the rules to be followed - that should solve your problem. Cheers, Philipp _______________________________________________ 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
