Re: [asterisk-users] Asterisk temporary hangs when no internet connection

2008-05-19 Thread Eric Wieling
Seems like it would have been much simpler just to correct your /etc/hosts file. Most systems check /etc/hosts before consulting DNS for IP and host information. Loic DIDELOT wrote: > Hello, > sorry for dropping in so late but I encountered the same problems so I > started playing around with I

Re: [asterisk-users] Asterisk temporary hangs when no internet connection

2008-05-19 Thread Loic DIDELOT
Hello, sorry for dropping in so late but I encountered the same problems so I started playing around with IPTABLES and DNS servers. For me it looks like asterisk has a problem because it seems to do reverse dns lookups (PTR records). For me the following helped: I installed a local dns recursor

Re: [asterisk-users] Asterisk temporary hangs when no internet connection

2008-04-11 Thread Andres
Marius Muja wrote: > Hello all, > > I have the following problem: if there is a temporary loss of Internet > connectivity, the asterisk server 'hangs' if it has external SIP > trunks configured. By hanging I mean that any calls between the local > extensions and any calls to the voicemail exten

Re: [asterisk-users] Asterisk temporary hangs when no internet connection

2008-04-11 Thread Eric Wieling
This is a very common issue with Asterisk. There is no good fix, but if you make sure ALL IP addresses of the server are listed in /etc/hosts on the server it may help. Marius Muja wrote: > It is using a local DNS server. > > On Fri, Apr 11, 2008 at 10:43 AM, Steven Kurylo <[EMAIL PROTECTED]>

Re: [asterisk-users] Asterisk temporary hangs when no internet connection

2008-04-11 Thread Marius Muja
It is using a local DNS server. On Fri, Apr 11, 2008 at 10:43 AM, Steven Kurylo <[EMAIL PROTECTED]> wrote: > Marius Muja wrote: > > My guess is that the asterisk server tries resolving the names of the > > SIP providers when it tries to re-register to them and because there > > is no internet con

Re: [asterisk-users] Asterisk temporary hangs when no internet connection

2008-04-11 Thread Steven Kurylo
Marius Muja wrote: > My guess is that the asterisk server tries resolving the names of the > SIP providers when it tries to re-register to them and because there > is no internet connectivity it hangs there for a while. However in > that time all the local calls to the asterisk server stop worki

[asterisk-users] Asterisk temporary hangs when no internet connection

2008-04-11 Thread Marius Muja
Hello all, I have the following problem: if there is a temporary loss of Internet connectivity, the asterisk server 'hangs' if it has external SIP trunks configured. By hanging I mean that any calls between the local extensions and any calls to the voicemail extension stop working. Everything work