sean darcy
2010-Jun-18 16:40 UTC
[asterisk-users] Why asterisk down when inet server down?
We have a 10.10.0.0 internal network. The asterisk server - 10.10.10.180 - has a PRI connection to a T-1. Another server is the router to the internet. All phones in the office and the workstations are on the network. Most of the internal phones are aastra 9133i's. Here the network config from a phone: Network Settings Basic Network Settings DHCP [ ] Enabled IP Address 10.10.10.44_________ Subnet Mask 255.255.255.0_______ Gateway 10.10.10.180________ Primary DNS 10.10.10.180________ Secondary DNS 0.0.0.0_____________ If the network server is down, the phones go out of service. From a workstation I can still ssh into the asterisk server. But for some reason the phones don't work. I can console dial out from the server. The asterisk server doesn't need the internet for connectivity. Why do the internal phones go down? sean
Danny Nicholas
2010-Jun-18 16:53 UTC
[asterisk-users] Why asterisk down when inet server down?
Just a guess - the phones are down because they can't get to the DCHP server. If you can't ping 10.10.10.44 you'll never reach 10.10.10.180. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of sean darcy Sent: Friday, June 18, 2010 11:40 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Why asterisk down when inet server down? We have a 10.10.0.0 internal network. The asterisk server - 10.10.10.180 - has a PRI connection to a T-1. Another server is the router to the internet. All phones in the office and the workstations are on the network. Most of the internal phones are aastra 9133i's. Here the network config from a phone: Network Settings Basic Network Settings DHCP [ ] Enabled IP Address 10.10.10.44_________ Subnet Mask 255.255.255.0_______ Gateway 10.10.10.180________ Primary DNS 10.10.10.180________ Secondary DNS 0.0.0.0_____________ If the network server is down, the phones go out of service. From a workstation I can still ssh into the asterisk server. But for some reason the phones don't work. I can console dial out from the server. The asterisk server doesn't need the internet for connectivity. Why do the internal phones go down? sean -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Tim Nelson
2010-Jun-18 16:57 UTC
[asterisk-users] Why asterisk down when inet server down?
----- "sean darcy" <seandarcy2 at gmail.com> wrote:> We have a 10.10.0.0 internal network. The asterisk server - > 10.10.10.180 > - has a PRI connection to a T-1. Another server is the router to the > internet. All phones in the office and the workstations are on the > network. > > Most of the internal phones are aastra 9133i's. Here the network > config > from a phone: > > Network Settings > > Basic Network Settings > DHCP [ ] Enabled > IP Address 10.10.10.44_________ > Subnet Mask 255.255.255.0_______ > Gateway 10.10.10.180________ > Primary DNS 10.10.10.180________ > Secondary DNS 0.0.0.0_____________ > > If the network server is down, the phones go out of service. From a > workstation I can still ssh into the asterisk server. But for some > reason the phones don't work. I can console dial out from the server. > > The asterisk server doesn't need the internet for connectivity. > > Why do the internal phones go down? >Are your network settings correct or is that a typo? "We have a 10.10.0.0 internal network. The asterisk server - 10.10.10.180" ...which tells me your mask should probably be 255.255.0.0. BUT, in the phone config, you have the mask as 255.255.255.0. This might not tbe cause and 'be-all end-all' of your issues, but it's worth some attention. --Tim
Gordon Henderson
2010-Jun-18 17:19 UTC
[asterisk-users] Why asterisk down when inet server down?
On Fri, 18 Jun 2010, sean darcy wrote:> We have a 10.10.0.0 internal network. The asterisk server - 10.10.10.180 > - has a PRI connection to a T-1. Another server is the router to the > internet. All phones in the office and the workstations are on the network. > > Most of the internal phones are aastra 9133i's. Here the network config > from a phone: > > Network Settings > > Basic Network Settings > DHCP [ ] Enabled > IP Address 10.10.10.44_________ > Subnet Mask 255.255.255.0_______ > Gateway 10.10.10.180________ > Primary DNS 10.10.10.180________ > Secondary DNS 0.0.0.0_____________ > > If the network server is down, the phones go out of service. From a > workstation I can still ssh into the asterisk server. But for some > reason the phones don't work. I can console dial out from the server. > The asterisk server doesn't need the internet for connectivity. > > Why do the internal phones go down?If you mean that the phones simply can't dial and don't actually un-register themselves, it probably because asterisk needs a working DNS server somewhere, and with no Internet, then your DNS server - which looks like your gateway - which I'm guessing is just a dumb forwarder - is failling. I've never undersood quite why asterisk wants to do a DNS lookup for every call, but not been bothered enough to do something about it other than to run a cacheing DNS server on the asterisk box itself just for it's own use. Gordon
Zeeshan Zakaria
2010-Jun-18 18:25 UTC
[asterisk-users] Why asterisk down when inet server down?
Did you check /etc/resolv? Does it point to any DNS by domain name? Zeeshan A Zakaria -- www.ilovetovoip.com On 2010-06-18 2:04 PM, "sean darcy" <seandarcy2 at gmail.com> wrote: On 06/18/2010 01:42 PM, Zeeshan Zakaria wrote:> Based on my somewhat similar experience a few times... > www.ilovetovoip.com <http://www.ilovetovoip.com>> >> On 2010-06-18 1:29 PM, "sean darcy" <seandarcy2 at gmail.com>> <mailto:seandarcy2 at gmail.com>> wrote: >> >> On 06/18/2010 12:57 PM, Tim Nelson wrote: >> > ----- ...>> <mailto:seandarcy2 at gmail.com>> wrote: >> >> We h... >> >> Yes, it is a typo. The network is 10.10... >> <http://10.10.10.0/255.255.255.0>. >> >> sean >>If the internet server is down, there can't be a valid DNS server accessible to Asterisk. The asterisk server is a caching name server, but obviously won't be able to resolve addresses not in its cache. Asterisk clearly doesn't need to resolve addresses to connect calls internally or over the T1. Is there any way to turn off its requirement for a DNS server? Or at least not fail catastrophically? sean -- _____________________________________________________________________ -- Bandwidth and C... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100618/36e54ac0/attachment.htm
Steve Edwards
2010-Jun-18 19:09 UTC
[asterisk-users] Why asterisk down when inet server down?
Abandoning all hope of un-top-posting... On Fri, 18 Jun 2010, sean darcy wrote: (Sean has a problem and several posters suspect it is DNS related.) On Fri, 18 Jun 2010, Zeeshan Zakaria wrote:> Did you check /etc/resolv? Does it point to any DNS by domain name?If you mean "/etc/resolv.conf" and the "nameserver" option, an IP address is required -- otherwise all attempts to use the resolver library fail. Have you tried running "tcpdump -i [eth0|eth1|lo] port domain" to see if it is a DNS query (and what the query is for) that is the issue? Have you tried entering the host names and IP addresses in /etc/hosts? -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
Steve Edwards wrote:> On Fri, 18 Jun 2010, sean darcy wrote: > > (Sean has a problem and several posters suspect it is DNS related.) > > On Fri, 18 Jun 2010, Zeeshan Zakaria wrote: > >> Did you check /etc/resolv? Does it point to any DNS by domain name? >> > > If you mean "/etc/resolv.conf" and the "nameserver" option, an IP address > is required -- otherwise all attempts to use the resolver library fail. >And what if you have two servers in /etc/resolv.conf? I have two but if the first fails Asterisk does not resolve on the second one. Open calls continue but registrations start to fail. I probably gonna try the caching name server, but it feels like a bug in Asterisk. Theo