There is a enumlookup.agi that is included with FreePBX and thus trixbox, PBX 
in a flash, etc. etc.

If you have trouble finding it let me know and I can send you it.

I can;t really vouch for its quality, but I do use it and it does work... but 
i;m not sure how well it handles multiple results.  I know it will successfully 
connect to systems that give multiple results, i;m just not sure if it does 
infact failover if the first one doesn;t work.

--
Matt
________________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Brian J. Murrell [EMAIL 
PROTECTED]
Sent: Tuesday, May 06, 2008 10:34 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] better enumlookup handler

Does anyone have a better ENUM lookup handler than the built-in
ENUMLOOKUP() function?  The built-in function does not properly handle
multiple return values such as:

8.9.9.3.2.8.8.6.6.8.1.e164.org has NAPTR record 200 10 "u" "E2U+SIP" 
"!^\\+1866(.*)$!sip:[EMAIL PROTECTED]" .
8.9.9.3.2.8.8.6.6.8.1.e164.org has NAPTR record 200 10 "u" "E2U+SIP" 
"!^\\+1866(.*)$!sip:[EMAIL PROTECTED]" .

And thus does not handle roll-over should one be unavailable for
whatever reason.

There is this voip-info.org wiki page:
http://www.voip-info.org/tiki-index.php?page=Asterisk+and+multiple+ENUM
+entries but the downloads that it's pointing to seem to be dead.

Sure I could take to writing an AGI script and probably be done it in a
few hours, but why re-invent the wheel?

Thanx,
b.


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Reply via email to