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

Vinícius Fontes vinicius at canall.com.br
Fri Feb 5 07:41:57 CST 2010


Have you tried to set srvlookup=no on your sip.conf?


Atenciosamente,

Vinícius Fontes
Gerente de Segurança da Informação
Canall Tecnologia em Comunicações
Passo Fundo - RS - Brasil
+55 54 2104-7000

Information Security Manager
Canall Tecnologia em Comunicações
Passo Fundo - RS - Brazil
+55 54 2104-7000

----- "Nikhil Nair" <nnair at pobox.com> escreveu:

> Hi again,
> 
> OK, I've now installed a local caching nameserver, but don't see any 
> change at all.
> 
> IN detail, what I did:
> 
> - Installed Debian packages resolvconf and dnsmasq (resolvconf just
> takes 
> care of dynamic nameserver allocations in /etc/resolv.conf).
> 
> - After looking at the docs, edited /etc/network/interfaces to add a
>    dns-nameservers line in the entry for eth1.  Then reconfigured
>    resolvconf.
> 
> - Checked /etc/resolv.conf: now showing 127.0.0.1 as the only
> nameserver.
> 
> - Tested name resolution in general: working fine.
> 
> - Turned ADSL router off and tried to make local and Zap calls: no
> luck.
> 
> - Rebooted machine and tried again: still no luck.
> 
> Again, the logs indicate that Asterisk thinks the SIP phones are 
> unreachable.
> 
> Was there anything special I needed to do with the setup of dnsmasq,
> or 
> its interface with Asterisk?  If not, I'm stuck again.
> 
> Thoughts?
> 
> Nikhil.
> 
> 
> 
> On Fri, 5 Feb 2010, Nikhil Nair wrote:
> 
> > Hi all,
> >
> > Many thanks for all your very fast and really helpful replies!
> >
> > Now I know about the asynchronous DNS issue, this all starts to
> make
> > sense: presumably, when I disabled eth1 completely, the DNS queries
> just
> > failed immediately, so didn't hold anything else up, whereas in the
> other
> > scenarios (router or phone line down) the DNS requests weren't
> being
> > answered, so Asterisk was waiting, preventing it from doing other
> things
> > properly.
> >
> > So, as suggested, I'll go ahead and install dnsmasq (or similar),
> and that
> > should fix things.
> >
> > Cheers,
> >
> > Nikhil.
> >
> >
> > -- 
> >
> _____________________________________________________________________
> > -- 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
> >
> 
> -- 
> _____________________________________________________________________
> -- 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