While re-setting up my Asterisk system I decided that implementing call routing through ENUM lookups would be a good idea. However, I've hit a bit of a problem. Given DNS records like:

*.4.4                   IN      NAPTR   blah
9.8.7.6.5.4.3.2.1.4.4   IN      NAPTR   blah

The first record is there to route all numbers starting +44 via a particular gateway. The second record overrides that routing for a specific number, which I want to route via a different gateway. The problem is that it appears this stops a lookup for "1.1.1.1.1.1.1.1.1.4.4" from returning the wildcard record, which is a behaviour I hadn't realised DNS had.

Is there a way around this, short of splitting up the override and the wildcard domains into separate domains and doing the lookups separately?

It seems quite a short-coming of the ENUM system since I can imagine telephone companies wanting to put a wild card in for their (large) blocks of numbers but still having the ability to add more specific records (e.g. for number portability, etc).

--

 - Steve
   xmpp:[EMAIL PROTECTED]   sip:[EMAIL PROTECTED]   http://www.nexusuk.org/

     Servatis a periculum, servatis a maleficum - Whisper, Evanescence

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to