<div><div>For the time being try putting 212.41.253.181in hostname= line in ur sip config and it should work . Also check if you /etc/resolv.conf has correct dns list ( i guess it does bcoz OS can resolve) . Also check /etc/asterisk/dnsmgr.conf .
<br> <br>Here's xample :<br>[general]<br>enable=yes ; enable creation of managed DNS lookups<br>refreshinterval=1200 ; refresh managed DNS lookups every <n> seconds<br> <br><br>
</div><br><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
--------- Forwarded message ----------<br>From: Norbert Zawodsky <<a href="mailto:norbert@zawodsky.at">norbert@zawodsky.at</a>><br>To: Asterisk Users Mailing List - Non-Commercial Discussion <<a href="mailto:asterisk-users@lists.digium.com">
asterisk-users@lists.digium.com</a>><br>Date: Thu, 09 Nov 2006 20:28:59 +0100<br>Subject: [asterisk-users] register suddenly fails<br>Hi everybody,<br><br>I've got a very strange problem:<br><br>As far as I remember I didn't change anything on my Asterisk side. I
<br>have 2 SIP providers to which I can place outbound calls.<br><br>Today I noticed that outbound calls to provider "inode" fail (and<br>inbound from this provider too). On the CLI I get every 20 seconds<br>following messages:
<br><br>Nov 9 20:01:07 NOTICE[952]: chan_sip.c:5422 sip_reg_timeout: --<br>Registration for '<a href="mailto:018904676@voip.inode.at">018904676@voip.inode.at</a>' timed out, trying again<br>(Attempt #1)<br>Nov 9 20:01:07 WARNING[952]: chan_sip.c:1998 create_addr: No such host:
<br><a href="http://voip.inode.at">voip.inode.at</a><br>Nov 9 20:01:07 WARNING[952]: chan_sip.c:5505 transmit_register:<br>Probably a DNS error for registration to <a href="mailto:018904676@voip.inode.at">018904676@voip.inode.at
</a>, trying<br>REGISTER again (after 20 seconds)<br>Nov 9 20:01:27 NOTICE[952]: chan_sip.c:5422 sip_reg_timeout: --<br>Registration for '<a href="mailto:018904676@voip.inode.at">018904676@voip.inode.at</a>' timed out, trying again
<br>(Attempt #2)<br>Nov 9 20:01:28 WARNING[952]: chan_sip.c:1998 create_addr: No such host:<br><a href="http://voip.inode.at">voip.inode.at</a><br>Nov 9 20:01:28 WARNING[952]: chan_sip.c:5505 transmit_register:<br>Probably a DNS error for registration to
<a href="mailto:018904676@voip.inode.at">018904676@voip.inode.at</a>, trying<br>REGISTER again (after 20 seconds<br><br>DNS lookup works:<br><br>root@asterina:~# ping <a href="http://voip.inode.at">voip.inode.at</a><br>PING
<a href="http://voip.inode.at">voip.inode.at</a> (<a href="http://212.41.253.181">212.41.253.181</a>) 56(84) bytes of data.<br>64 bytes from <a href="http://212-41-253-181.inhouse-line.inode.at">212-41-253-181.inhouse-line.inode.at
</a> (<a href="http://212.41.253.181">212.41.253.181</a>):<br>icmp_seq=1 ttl=60 time=15.3 ms<br>64 bytes from <a href="http://212-41-253-181.inhouse-line.inode.at">212-41-253-181.inhouse-line.inode.at</a> (<a href="http://212.41.253.181">
212.41.253.181</a>):<br>icmp_seq=2 ttl=60 time=15.9 ms<br><br>--- <a href="http://voip.inode.at">voip.inode.at</a> ping statistics ---<br>2 packets transmitted, 2 received, 0% packet loss, time 1001ms<br>rtt min/avg/max/mdev =
15.375/15.669/15.963/0.294 ms<br><br>Since I am sure that I didn't change anything within the last week, I<br>called inode support. But they said, that they didn't change anything<br>either.<br>Next I tried was a 'SIP RELOAD' which produced following output:
<br><br>asterina*CLI> sip reload<br>Nov 9 20:02:48 WARNING[952]: acl.c:244 ast_get_ip_or_srv: Unable to<br>lookup 'h. }<br>'<br>Nov 9 20:02:48 WARNING[952]: chan_sip.c:1998 create_addr: No such host:<br><a href="http://voip.inode.at">
voip.inode.at</a><br>Nov 9 20:02:48 WARNING[952]: chan_sip.c:5505 transmit_register:<br>Probably a DNS error for registration to <a href="mailto:018904676@voip.inode.at">018904676@voip.inode.at</a>, trying<br>REGISTER again (after 20 seconds)
<br>Nov 9 20:03:08 NOTICE[952]: chan_sip.c:5422 sip_reg_timeout: --<br>Registration for '<a href="mailto:018904676@voip.inode.at">018904676@voip.inode.at</a>' timed out, trying again<br>(Attempt #1)<br>Nov 9 20:03:08 WARNING[952]: chan_sip.c:1998 create_addr: No such host:
<br><a href="http://voip.inode.at">voip.inode.at</a><br>Nov 9 20:03:08 WARNING[952]: chan_sip.c:5505 transmit_register:<br>Probably a DNS error for registration to <a href="mailto:018904676@voip.inode.at">018904676@voip.inode.at
</a>, trying<br>REGISTER again (after 20 seconds)<br>asterina*CLI><br><br>Now, what makes me wonder ist the first line after the reload which says<br>"Unable to lookup 'h. }....."<br><br>Anybody of you got any idea ??
<br><br>Norbert<br><br><br><br><br></blockquote></div><br>