On Tue, Feb 15, 2011 at 3:03 PM, Doug Lytle <[email protected]> wrote:

> Gabriel Ortiz Lour wrote:
>
>> exten => _6XXX,1,NoOp(test1)
>>
>> exten => _XXXX,1,NoOp(test2)
>> exten => _XXXX,2,NoOp(test3)
>>
>
>
>
If you're going to keep them in the same context, you can change the second
pattern to exclude 4 digit numbers starting with a 6:

exten => _6XXX,1,Verbose(Test1)

exten => _[123457890]XXX,1,Verbose(Test2)
same => 2,Verbose(Test3)

There may even be a better pattern exclusion match parameter...this is just
what I came up with off the top of my head.

-- 
Thanks,
--Warren Selby, dCAP
http://www.selbytech.com
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to