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

Sweet, Larry D ldsweet at midsouth.ualr.edu
Fri Feb 5 09:03:39 CST 2010


Hello,

What do you get with ipconfig from your clients?
What do you get with nslookup of a client or server?
What do you get with tracert to your server from a client?
Can you access the internet from a client? Are you isolated as a private network?
Thanks
Larry
 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Dave Cotton
Sent: Friday, February 05, 2010 8:44 AM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] Losing local SIP phones when internet goesdown?

On 05/02/10 14:21, Nikhil Nair wrote:
> 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.
> 

I can only indicate what my setup is:-

/etc/resolv.conf contains just the real ip of the server 192.168.xxx.xxx

/etc/resolv.conf.dnsmasq  contains the ip addresses of the dns of my isp it could also have 8.8.8.8 and 8.8.4.4 if you like Google.

Dnsmasq is configured to use this file.

/etc/hosts on the server contains details of every item on the network and there names.

192.168.nnn.nnn Aastra9133
192.168.nnn.nnn workstation

/etc/dhcpd.conf list only 192.168.xxx.xxx as nameserver so with this I can do "ping Aastra9133" from any other machine on the network.

Hope this helps

DC




More information about the asterisk-users mailing list