Hi everybody, I've got a very strange problem: As far as I remember I didn't change anything on my Asterisk side. I have 2 SIP providers to which I can place outbound calls. Today I noticed that outbound calls to provider "inode" fail (and inbound from this provider too). On the CLI I get every 20 seconds following messages: Nov 9 20:01:07 NOTICE[952]: chan_sip.c:5422 sip_reg_timeout: -- Registration for '018904676@voip.inode.at' timed out, trying again (Attempt #1) Nov 9 20:01:07 WARNING[952]: chan_sip.c:1998 create_addr: No such host: voip.inode.at Nov 9 20:01:07 WARNING[952]: chan_sip.c:5505 transmit_register: Probably a DNS error for registration to 018904676@voip.inode.at, trying REGISTER again (after 20 seconds) Nov 9 20:01:27 NOTICE[952]: chan_sip.c:5422 sip_reg_timeout: -- Registration for '018904676@voip.inode.at' timed out, trying again (Attempt #2) Nov 9 20:01:28 WARNING[952]: chan_sip.c:1998 create_addr: No such host: voip.inode.at Nov 9 20:01:28 WARNING[952]: chan_sip.c:5505 transmit_register: Probably a DNS error for registration to 018904676@voip.inode.at, trying REGISTER again (after 20 seconds DNS lookup works: root@asterina:~# ping voip.inode.at PING voip.inode.at (212.41.253.181) 56(84) bytes of data. 64 bytes from 212-41-253-181.inhouse-line.inode.at (212.41.253.181): icmp_seq=1 ttl=60 time=15.3 ms 64 bytes from 212-41-253-181.inhouse-line.inode.at (212.41.253.181): icmp_seq=2 ttl=60 time=15.9 ms --- voip.inode.at ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 15.375/15.669/15.963/0.294 ms Since I am sure that I didn't change anything within the last week, I called inode support. But they said, that they didn't change anything either. Next I tried was a 'SIP RELOAD' which produced following output: asterina*CLI> sip reload Nov 9 20:02:48 WARNING[952]: acl.c:244 ast_get_ip_or_srv: Unable to lookup 'h. } ' Nov 9 20:02:48 WARNING[952]: chan_sip.c:1998 create_addr: No such host: voip.inode.at Nov 9 20:02:48 WARNING[952]: chan_sip.c:5505 transmit_register: Probably a DNS error for registration to 018904676@voip.inode.at, trying REGISTER again (after 20 seconds) Nov 9 20:03:08 NOTICE[952]: chan_sip.c:5422 sip_reg_timeout: -- Registration for '018904676@voip.inode.at' timed out, trying again (Attempt #1) Nov 9 20:03:08 WARNING[952]: chan_sip.c:1998 create_addr: No such host: voip.inode.at Nov 9 20:03:08 WARNING[952]: chan_sip.c:5505 transmit_register: Probably a DNS error for registration to 018904676@voip.inode.at, trying REGISTER again (after 20 seconds) asterina*CLI> Now, what makes me wonder ist the first line after the reload which says "Unable to lookup 'h. }....." Anybody of you got any idea ?? Norbert
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 . Here's xample : [general] enable=yes ; enable creation of managed DNS lookups refreshinterval=1200 ; refresh managed DNS lookups every <n> seconds --------- Forwarded message ----------> From: Norbert Zawodsky <norbert@zawodsky.at> > To: Asterisk Users Mailing List - Non-Commercial Discussion < > asterisk-users@lists.digium.com> > Date: Thu, 09 Nov 2006 20:28:59 +0100 > Subject: [asterisk-users] register suddenly fails > Hi everybody, > > I've got a very strange problem: > > As far as I remember I didn't change anything on my Asterisk side. I > have 2 SIP providers to which I can place outbound calls. > > Today I noticed that outbound calls to provider "inode" fail (and > inbound from this provider too). On the CLI I get every 20 seconds > following messages: > > Nov 9 20:01:07 NOTICE[952]: chan_sip.c:5422 sip_reg_timeout: -- > Registration for '018904676@voip.inode.at' timed out, trying again > (Attempt #1) > Nov 9 20:01:07 WARNING[952]: chan_sip.c:1998 create_addr: No such host: > voip.inode.at > Nov 9 20:01:07 WARNING[952]: chan_sip.c:5505 transmit_register: > Probably a DNS error for registration to 018904676@voip.inode.at, trying > REGISTER again (after 20 seconds) > Nov 9 20:01:27 NOTICE[952]: chan_sip.c:5422 sip_reg_timeout: -- > Registration for '018904676@voip.inode.at' timed out, trying again > (Attempt #2) > Nov 9 20:01:28 WARNING[952]: chan_sip.c:1998 create_addr: No such host: > voip.inode.at > Nov 9 20:01:28 WARNING[952]: chan_sip.c:5505 transmit_register: > Probably a DNS error for registration to 018904676@voip.inode.at, trying > REGISTER again (after 20 seconds > > DNS lookup works: > > root@asterina:~# ping voip.inode.at > PING voip.inode.at (212.41.253.181) 56(84) bytes of data. > 64 bytes from 212-41-253-181.inhouse-line.inode.at (212.41.253.181): > icmp_seq=1 ttl=60 time=15.3 ms > 64 bytes from 212-41-253-181.inhouse-line.inode.at (212.41.253.181): > icmp_seq=2 ttl=60 time=15.9 ms > > --- voip.inode.at ping statistics --- > 2 packets transmitted, 2 received, 0% packet loss, time 1001ms > rtt min/avg/max/mdev = 15.375/15.669/15.963/0.294 ms > > Since I am sure that I didn't change anything within the last week, I > called inode support. But they said, that they didn't change anything > either. > Next I tried was a 'SIP RELOAD' which produced following output: > > asterina*CLI> sip reload > Nov 9 20:02:48 WARNING[952]: acl.c:244 ast_get_ip_or_srv: Unable to > lookup 'h. } > ' > Nov 9 20:02:48 WARNING[952]: chan_sip.c:1998 create_addr: No such host: > voip.inode.at > Nov 9 20:02:48 WARNING[952]: chan_sip.c:5505 transmit_register: > Probably a DNS error for registration to 018904676@voip.inode.at, trying > REGISTER again (after 20 seconds) > Nov 9 20:03:08 NOTICE[952]: chan_sip.c:5422 sip_reg_timeout: -- > Registration for '018904676@voip.inode.at' timed out, trying again > (Attempt #1) > Nov 9 20:03:08 WARNING[952]: chan_sip.c:1998 create_addr: No such host: > voip.inode.at > Nov 9 20:03:08 WARNING[952]: chan_sip.c:5505 transmit_register: > Probably a DNS error for registration to 018904676@voip.inode.at, trying > REGISTER again (after 20 seconds) > asterina*CLI> > > Now, what makes me wonder ist the first line after the reload which says > "Unable to lookup 'h. }....." > > Anybody of you got any idea ?? > > Norbert > > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061110/97efff13/attachment.htm
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 . Here's example : [general] enable=yes ; enable creation of managed DNS lookups refreshinterval=1200 ; refresh managed DNS lookups every <n> second> > > > --------- Forwarded message ---------- > > From: Norbert Zawodsky <norbert at zawodsky.at> > > To: Asterisk Users Mailing List - Non-Commercial Discussion < > > asterisk-users at lists.digium.com> > > Date: Thu, 09 Nov 2006 20:28:59 +0100 > > Subject: [asterisk-users] register suddenly fails > > Hi everybody, > > > > I've got a very strange problem: > > > > As far as I remember I didn't change anything on my Asterisk side. I > > have 2 SIP providers to which I can place outbound calls. > > > > Today I noticed that outbound calls to provider "inode" fail (and > > inbound from this provider too). On the CLI I get every 20 seconds > > following messages: > > > > Nov 9 20:01:07 NOTICE[952]: chan_sip.c:5422 sip_reg_timeout: -- > > Registration for '018904676 at voip.inode.at' timed out, trying again > > (Attempt #1) > > Nov 9 20:01:07 WARNING[952]: chan_sip.c:1998 create_addr: No such host: > > voip.inode.at > > Nov 9 20:01:07 WARNING[952]: chan_sip.c:5505 transmit_register: > > Probably a DNS error for registration to 018904676 at voip.inode.at, > trying > > REGISTER again (after 20 seconds) > > Nov 9 20:01:27 NOTICE[952]: chan_sip.c:5422 sip_reg_timeout: -- > > Registration for '018904676 at voip.inode.at' timed out, trying again > > (Attempt #2) > > Nov 9 20:01:28 WARNING[952]: chan_sip.c:1998 create_addr: No such host: > > voip.inode.at > > Nov 9 20:01:28 WARNING[952]: chan_sip.c:5505 transmit_register: > > Probably a DNS error for registration to 018904676 at voip.inode.at, > trying > > REGISTER again (after 20 seconds > > > > DNS lookup works: > > > > root at asterina:~# ping voip.inode.at > > PING voip.inode.at (212.41.253.181) 56(84) bytes of data. > > 64 bytes from 212-41-253-181.inhouse-line.inode.at (212.41.253.181): > > icmp_seq=1 ttl=60 time=15.3 ms > > 64 bytes from 212-41-253-181.inhouse-line.inode.at (212.41.253.181): > > icmp_seq=2 ttl=60 time=15.9 ms > > > > --- voip.inode.at ping statistics --- > > 2 packets transmitted, 2 received, 0% packet loss, time 1001ms > > rtt min/avg/max/mdev = 15.375/15.669/15.963/0.294 ms > > > > Since I am sure that I didn't change anything within the last week, I > > called inode support. But they said, that they didn't change anything > > either. > > Next I tried was a 'SIP RELOAD' which produced following output: > > > > asterina*CLI> sip reload > > Nov 9 20:02:48 WARNING[952]: acl.c:244 ast_get_ip_or_srv: Unable to > > lookup 'h. } > > ' > > Nov 9 20:02:48 WARNING[952]: chan_sip.c:1998 create_addr: No such host: > > voip.inode.at > > Nov 9 20:02:48 WARNING[952]: chan_sip.c:5505 transmit_register: > > Probably a DNS error for registration to 018904676 at voip.inode.at, > trying > > REGISTER again (after 20 seconds) > > Nov 9 20:03:08 NOTICE[952]: chan_sip.c:5422 sip_reg_timeout: -- > > Registration for '018904676 at voip.inode.at' timed out, trying again > > (Attempt #1) > > Nov 9 20:03:08 WARNING[952]: chan_sip.c:1998 create_addr: No such host: > > voip.inode.at > > Nov 9 20:03:08 WARNING[952]: chan_sip.c:5505 transmit_register: > > Probably a DNS error for registration to 018904676 at voip.inode.at, > trying > > REGISTER again (after 20 seconds) > > asterina*CLI> > > > > Now, what makes me wonder ist the first line after the reload which says > > "Unable to lookup 'h. }....." > > > > Anybody of you got any idea ?? > > > > Norbert > > > > > > > > > > > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061110/dcf45598/attachment.htm