[Serusers] FW: problem in DNS lookup from enum

geethanjali.csg at wipro.com geethanjali.csg at wipro.com
Thu Sep 13 10:19:05 CEST 2007


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.
adams)

                                        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 at e164.arpa!" .

 

$ORIGIN 8.7.6.e164.arpa.

   IN NAPTR 20 100 "u" "E2U+sip" "!^.*$!sip:xyz at 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]*+ at .")

        {

             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

 

 

 

 




The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070913/407f4408/attachment.htm>


More information about the sr-users mailing list