ENUM Lookup runs but does not perform function correctly. I have confirmed lookup information is valid with e164.org email list. FreePBX 2.5.2.2 All updated exccept for version to Beta. (if bug is confirmed as fixed in Beta I will upgrade to beta)
I have a dial pattern matching on the enum trunk 1+NXXXXXXXXX
When the number 555-555-1212 is dialed (replaced my number for this post not for test) it matches the pattern but returns result of 0 even though it does exists. I also checked to make sure the uri was valid in GizmoProject?.com with sip uri dialing.
My only guess is either the lookups are not working at all or it is looking up the number before the outgoing string is adjusted,
Ideas?
Thanks!
-- Executing [s@macro-dialout-enum:6] Set("SIP/200-a02ad9e0",
"DIAL_NUMBER=5555551212") in new stack
-- Executing [s@macro-dialout-enum:7] Set("SIP/200-a02ad9e0",
"DIAL_TRUNK=7") in new stack
-- Executing [s@macro-dialout-enum:8] ExecIf("SIP/200-a02ad9e0",
"1|AGI|fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== fixlocalprefix: Dialpattern 1+NXXXXXXXXX matched. 5555551212 ->
15555551212
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-enum:9] AGI("SIP/200-a02ad9e0",
"enumlookup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/enumlookup.agi
-- AGI Script enumlookup.agi completed, returning 0
-- Executing [s@macro-dialout-enum:10] GotoIf("SIP/200-a02ad9e0",
"1?end") in new stack
-- Goto (macro-dialout-enum,s,18)
-- Executing [s@macro-dialout-enum:18] NoOp("SIP/200-a02ad9e0",
"Exiting macro-dialout-enum") in new stack
-- Executing [5033501765@from-internal:6]
Macro("SIP/200-a02ad9e0", "dialout-trunk|8|5555551212||") in new stack