Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-22 Thread Theo Band
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

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-19 Thread Hans Witvliet
On Fri, 2010-06-18 at 21:04 -0400, Andres wrote: > > > Our company has set up hundreds of asterisk boxes over the years. One > thing we learned early on was to avoid any type of DNS resolution by > asterisk. Asterisk gets hung when it can't access your DNS server and > all things grind to

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-19 Thread Hans Witvliet
On Sat, 2010-06-19 at 01:39 +0200, Philipp von Klitzing wrote: > Hi! > > > But why can't my phones call. The outgoing lines are PRI/DAHDI T1. No sip. > > No iax. Why does the asterisk machine have to resolve any address? > > Probably because you have one or more "register =>" statements in your

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-19 Thread Hans Witvliet
On Fri, 2010-06-18 at 17:19 -0500, Cary Fitch wrote: > > If domain name, what are they using for DNS? Indeed, interesting question. On a quiet moment i would suggest you do: "tcpdump -vvX -i eth0 port 53" on the machine that is your gateway to internet, and make an internal call (or use wiresha

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread Andres
On 6/18/2010 7:26 PM, sean darcy wrote: > On 06/18/2010 06:19 PM, Cary Fitch wrote: > >> >> But why can't my phones call. The outgoing lines are PRI/DAHDI T1. No >> sip. No iax. Why does the asterisk machine have to resolve any address? >> >> The internal phones can't even call each other, even

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread Philipp von Klitzing
Hi! > But why can't my phones call. The outgoing lines are PRI/DAHDI T1. No sip. > No iax. Why does the asterisk machine have to resolve any address? Probably because you have one or more "register =>" statements in your sip.conf and Asterisk is trying badly - but without success - to register

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread sean darcy
On 06/18/2010 06:19 PM, Cary Fitch wrote: > > > But why can't my phones call. The outgoing lines are PRI/DAHDI T1. No > sip. No iax. Why does the asterisk machine have to resolve any address? > > The internal phones can't even call each other, even though they have > hard ip addresses. > >> Same fo

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread Cary Fitch
But why can't my phones call. The outgoing lines are PRI/DAHDI T1. No sip. No iax. Why does the asterisk machine have to resolve any address? The internal phones can't even call each other, even though they have hard ip addresses. > Same for doing DHCP for handing out addresses to your phones

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread Steve Edwards
On Fri, 18 Jun 2010, sean darcy wrote: > I'm running named as a caching nameserver. /etc/resolv.conf point to > localhost. But, obviously, it only responds from the cache, since the > root servers are unavailable. If the root servers are not available, what is available to cache? > tcpdump is

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread sean darcy
On 06/18/2010 05:08 PM, Hans Witvliet wrote: > On Fri, 2010-06-18 at 13:59 -0400, sean darcy wrote: > >> >> 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

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread Hans Witvliet
On Fri, 2010-06-18 at 13:59 -0400, sean darcy wrote: > > 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 n

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread sean darcy
On 06/18/2010 03:09 PM, Steve Edwards wrote: > 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

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread Steve Edwards
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" a

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread Zeeshan Zakaria
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" wrote: On 06/18/2010 01:42 PM, Zeeshan Zakaria wrote: > Based on my somewhat similar experience a few times... > www.ilovetovoip.com

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread sean darcy
On 06/18/2010 01:42 PM, Zeeshan Zakaria wrote: > Based on my somewhat similar experience a few times, when this happens, > try to resolve an IP, to make sure there is a valid DNS server > accessible to Asterisk. If not, either make asterisk a DNS as well, or > remove any domain name entries from /e

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread Zeeshan Zakaria
Based on my somewhat similar experience a few times, when this happens, try to resolve an IP, to make sure there is a valid DNS server accessible to Asterisk. If not, either make asterisk a DNS as well, or remove any domain name entries from /etc/resolv file and replace them with the IP addresses o

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread sean darcy
On 06/18/2010 01:19 PM, Gordon Henderson wrote: > 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 a

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread sean darcy
On 06/18/2010 12:57 PM, Tim Nelson wrote: > - "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 >> netw

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread sean darcy
m.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of sean darcy > Sent: Friday, June 18, 2010 11:40 AM > To: asterisk-users@lists.digium.com > Subject: [asterisk-users] Why asterisk down when inet server down? > > We have a 10.10.0.0 internal network. The asterisk ser

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread Gordon Henderson
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

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread Tim Nelson
- "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 aastr

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread Danny Nicholas
sean darcy Sent: Friday, June 18, 2010 11:40 AM To: asterisk-users@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

[asterisk-users] Why asterisk down when inet server down?

2010-06-18 Thread sean darcy
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