Background: In the v1.2 Asterisk I was running on my MacMini I found that ENUM was unreliable because every call to ENUMLOOKUP() did a new DNS query and the DNS server did not reliably return all the records in the same order (and there is no spec reason why it should). I ended up patching that myself as by then no one seemed to care too much about v1.2.
Yesterday I cut over to my 0.6.1 Astlinux on a NET5501 and just now tried testing ENUM after changing the ENUMLOOKUP() calls in extensions.conf to use the revised v1.4 parameter list. The test number I tried was +437800047111
Dig returns three NAPTR records:1.1.1.7.4.0.0.0.8.7.3.4.e164.arpa. 600 IN NAPTR 100 10 "u" "E2U +email:mailto" "!^.*$!mailto:[EMAIL PROTECTED]" . 1.1.1.7.4.0.0.0.8.7.3.4.e164.arpa. 600 IN NAPTR 100 10 "u" "E2U+sip" "! ^.*$!sip:[EMAIL PROTECTED]" . 1.1.1.7.4.0.0.0.8.7.3.4.e164.arpa. 600 IN NAPTR 100 10 "u" "E2U +web:http" "!^.*$!http://q.nemox.net/!" .
But when I execute my dial plan regardless of the counter I give I only get the web related record: -- Executing [EMAIL PROTECTED]:4] Set("SIP/home_03-081e7228", "counter=1") in new stack -- Executing [EMAIL PROTECTED]:5] Set("SIP/home_03-081e7228", "ENUM=http://q.nemox.net/") in new stack -- Executing [EMAIL PROTECTED]:6] GotoIf("SIP/ home_03-081e7228", "0?next_entry") in new stack -- Executing [EMAIL PROTECTED]:7] GotoIf("SIP/ home_03-081e7228", "0?sipuri") in new stack -- Executing [EMAIL PROTECTED]:8] GotoIf("SIP/ home_03-081e7228", "1?next_entry") in new stack
-- Goto (macro-enum_domain,s,3)
-- Executing [EMAIL PROTECTED]:3] GotoIf("SIP/
home_03-081e7228", "0?exit") in new stack
-- Executing [EMAIL PROTECTED]:4] Set("SIP/home_03-081e7228",
"counter=2") in new stack
-- Executing [EMAIL PROTECTED]:5] Set("SIP/home_03-081e7228",
"ENUM=http://q.nemox.net/") in new stack
-- Executing [EMAIL PROTECTED]:6] GotoIf("SIP/
home_03-081e7228", "0?next_entry") in new stack
-- Executing [EMAIL PROTECTED]:7] GotoIf("SIP/
home_03-081e7228", "0?sipuri") in new stack
-- Executing [EMAIL PROTECTED]:8] GotoIf("SIP/
home_03-081e7228", "1?next_entry") in new stack
-- Goto (macro-enum_domain,s,3)
-- Executing [EMAIL PROTECTED]:3] GotoIf("SIP/
home_03-081e7228", "0?exit") in new stack
-- Executing [EMAIL PROTECTED]:4] Set("SIP/home_03-081e7228",
"counter=3") in new stack
-- Executing [EMAIL PROTECTED]:5] Set("SIP/home_03-081e7228",
"ENUM=http://q.nemox.net/") in new stack
I am using my own variation of an ENUM lookup macro and can post it if needed but I think the above console log snippet shows the issue.
Thanks! --Tod
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
