[Asterisk-Users] New PRI with DID in US?

Peter Svensson psvasterisk at psv.nu
Sat Dec 11 00:34:00 MST 2004


On Fri, 10 Dec 2004, Rich Adamson wrote:

> Just turned up a new PRI with DID's in the US. I'm receiving 5 digits
> of the DID numbers as I requested.
> 
> Assuming I have 100 DID numbers but only define 50 of those in
> extensions.conf, is there an easy way to send the incoming calls
> for the 20 undefined numbers to a common resource (ivr, operator, 
> or canned message) without having to define each one?

You should be able to us a pattern to match. By placing the catch-all 
pattern in an included context it will only match if none of the actual 
extensions match. 

http://www.voip-info.org/wiki-Asterisk+config+extensions.conf+sorting

Peter




More information about the asterisk-users mailing list