Hi,
I am configuring ser to use enum module.
I am getting this error when dns lookup is done from ser.
0(27798) get_record: lookup(8.7.6.e164.arpa,
35) failed
0(27798) enum_query(): No NAPTR record
found for 8.7.6.e164.arpa.
This is my zone file:
$TTL 3D
@
IN SOA e164.arpa. root(
4
; serial (d.
3H
; refresh
15M ; retry
1W
; expiry
1D ) ; minimum
IN NS localhost
IN NS e164.arpa.
localhost
A 127.0.0.1
e164.arpa.
A 10.200.220.200
$ORIGIN 1.2.3.4.e164.arpa.
IN NAPTR 10 100 "u" "E2U+sip"
"!^.*$!sip:abcd@e164.arpa!" .
$ORIGIN 8.7.6.e164.arpa.
IN NAPTR 20 100 "u" "E2U+sip"
"!^.*$!sip:xyz@e164.arpa!" .
named.conf file contains,
zone "e164.arpa" IN {
type master;
file "/var/named/named.enum";
};
This is my enum code in ser.cfg.
loadmodule "/usr/local/lib/ser/modules/enum.so"
modparam("enum", "domain_suffix", "e164.arpa.")
if (method == "INVITE" && uri =~ "sip:\+[0-9]*+@.")
{
if (enum_query("e164.arpa"))
{
route(1);
};
};
Its possible to ping the domain e164.arpa from the m/c where
ser is installed.
Any help in this regard is appreciated.
Regards
Geethanjali