[asterisk-users] Losing local SIP phones when internet goes down?

Dave Cotton dcotton at linuxautrement.com
Fri Feb 5 02:25:26 CST 2010


On 05/02/10 09:15, Randy R wrote:
> On Fri, Feb 5, 2010 at 8:41 AM, Olle E. Johansson <oej at edvina.net> wrote:
>>>> What I have seen on my asterisk box when I had a up/down adsl line was
>>>> that the asterisk box couldn't do dns resolution and would hang( well no
>>>> other internal calls could be made, seemed like some sort of semaphore
>>>> was stuck) when the adsl came up and dns could be done, everything
>>>> worked fine again
> 
> Confirmed and experienced years ago in a release far, far away.
> 
>> Yes, that is the case. Asterisk doesn't have asynchronus DNS support, so in order to work when the link is down, you need a local resolver, like a caching BIND server, on the same host. The calls to DNS resolvers in Asterisk is synchronus, so Asterisk will wait for the response to arrive.
> 
> IIRC, at the time I had this problem, asterisk did not answer analog
> phone lines either so as a company we had no phones and had to revert
> to regular telephones plugged into the wall. Even if Internet is
> working, if the configured DNS is down, you're still sunk. This sorely
> needs to be fixed IMO.
> 
> /r
> 
Also had this many times, the installation and config of dnsmasq fixed
it for my systems.

DC

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6682 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20100205/b28f25d4/attachment.bin 


More information about the asterisk-users mailing list