At 12:03 PM 8/20/2003, radan wrote:
On Tue, 19 Aug 2003, Jiri Kuthan wrote:
Well, you need to use the enum feature in your
script, not just to load
the module. For example at iptel, we resolve all numbers beginning with +
by ENUM:
# is this an ENUM destination (leading +?)
if (method=="INVITE" && uri=~"sip:\+[0-9]+@iptel\.org")
{
if (!enum_query("voice")) # if parameter empty, it defaults to
"e2u+sip"
enum_query(""); # E2U+sip
};
Thanks Jiri but it still doesn't works.
Ser does't send query about NAPTR record
to my DNS :(
Is still have 404 :(
The script fragment is correct, perhaps you put it in a wrnig place in the sript.
The zone is correct (received from dns query for my DNS
enum)
7.7.0.1.7.4.3.8.5.8.4.e164.arpa. 259200 IN NAPTR 100 10 "u" "sip+e2u"
"!^.*$!sip:radan@gda.pl!"
Is it some local DNS map? I can't reach it.
serinstall@sipser:~> host -t naptr 7.7.0.1.7.4.3.8.5.8.4.e164.arpa
Host 7.7.0.1.7.4.3.8.5.8.4.e164.arpa not found: 3(NXDOMAIN)
-jiri