[Asterisk-Users] WANTED: Toll-Free gateways in
Europe/Asia/Africa/South America
info-lists at robertc.de
info-lists at robertc.de
Sun Jan 18 14:43:50 MST 2004
John Todd said:
>
> The freenum.org project wants to use your trunks! The freenum.org project
> is an ENUM parallel tree, which has as an eventual goal the distribution
> of ENUM numbering in nations or areas which due to political or other
> issues are not able to get secure, inexpensive, or functional ENUM
> capabilities.
>
....
>
my sip.conf contains:
[general]
search => freenum.org
search => e164.arpa
Extensions.conf
exten => _1800X.,1,EnumLookup(${EXTEN})
exten => _1800X.,52,Goto(long-distance,${EXTEN},1)
exten => _1800X.,102,Goto(long-distancei2,${EXTEN},1)
exten => _1800X.,2,GotoIf($[$[${ENUM:0:3} = SIP}] |$[${ENUM:0:3} =
IAX]]?3:4)
exten => _1800X.,3,Dial(${ENUM})
exten => _1800X..,4,Goto(normal-dial,${EXTEN},1)
exten => _1800X.,104,Goto(normal-dial,${EXTEN},1)
I setup my sip.conf and extensions.conf as above. EnumLookup seems to get
a zero return code but the priority that gets executed is 102.
Messages in the console.log are:
Executing EnumLookup("IAX2[41 at 41]/3", "18005551212") in new stack
ENUM got '0'
-- Executing Goto("IAX2[41 at 41]/3", "long-distance2|18005551212|1") in new
stack
-- Goto (long-distance2,18005551212,1)
Any ideas on how to debug this problem??
Robert
More information about the asterisk-users
mailing list