[asterisk-users] 1.6.1: "DNS error" but ping works

Cary Fitch caryf at usawide.net
Sun Apr 26 14:10:55 CDT 2009


Probably the phone is using a "wrong" DNS entry.

Try changing the Proxy address to the IP address and see if the phone
registers.

If so, work backwards from there.  

Change DNS setting to some other DNS.  And, remember you have to set an IP
DNS, you can't use a URL to look up a DNS. (Assuming you don't have a DNS
available to start with.)

Also some low end routers are a little flakey about getting a real DNS and
serving as a DNS for downstream devices.  It is more sure to specify YOUR
DNS addresses on the phone.

Cary Fitch

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of sean darcy
Sent: Sunday, April 26, 2009 2:03 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] 1.6.1: "DNS error" but ping works

With 1.6.1 svn:

[2009-04-26 15:01:00] NOTICE[1844]: chan_sip.c:9927 sip_reg_timeout: 
-- Registration for '17470121145 at proxy01.sipphone.com' timed out, trying 
again (Attempt #30)
[2009-04-26 15:01:00] WARNING[1844]: acl.c:376 ast_get_ip_or_srv: Unable 
to lookup 'proxy01.sipphone.com'
[2009-04-26 15:01:00] WARNING[1844]: chan_sip.c:10037 transmit_register: 
Probably a DNS error for registration to 
1747yyyxxxx at proxy01.sipphone.com, trying REGISTER again (after 20 seconds)

but ping works:

ping proxy01.sipphone.com
PING northamerica.sipphone.com (198.65.166.131) 56(84) bytes of data.
64 bytes from northamerica.sipphone.com (198.65.166.131): icmp_seq=1 
ttl=52 time=96.5 ms
64 bytes from northamerica.sipphone.com (198.65.166.131): icmp_seq=2 
ttl=52 time=94.4 ms

Is this a bug, or could it be caused by a faulty configuration?

sean


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list