[asterisk-users] better enumlookup handler

Brian J. Murrell brian at interlinx.bc.ca
Tue May 6 21:34:58 CDT 2008


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:1866\\1 at tollfree.sip-happens.com!" .
8.9.9.3.2.8.8.6.6.8.1.e164.org has NAPTR record 200 10 "u" "E2U+SIP" "!^\\+1866(.*)$!sip:1641641866\\1 at sip.tollfreegateway.com!" .

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080506/01b347cd/attachment.pgp 


More information about the asterisk-users mailing list