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

Andres andres at telesip.net
Fri Apr 11 13:49:03 CDT 2008


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 extension stop working. 
> Everything works fine again when the internet connectivity returns (I 
> tested this by removing and reinserting the network cable from the 
> cable modem).
>
> 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 working.
>
> Has anybody else encountered this problem?

Yes, this is a common issue.  A workaround is to use IP Addresses or 
enter hostnames manually in /etc/hosts

Andres
http://www.neuroredes.com

>
> Thanks!
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>-- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
>asterisk-users mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list