Hi, this is an old outstanding problem, unfortunately I don't remember how to walkaround it. I use asterisk 1.8.3 and I have a public IP in my network interface. As soon as the Internet connection goes down, phones stop working. I want to be able to use pstn, isdn and the gsm gateway even if the Internet connection goes down, how can I achieve it? Thank you, Darkbasic
Disable DNS lookups. Chan_sip crashes asterisk if you have that enabled and internet is offline. Regards, Alex -----Messaggio originale----- Da: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] Per conto di Niccol? Belli Inviato: luned? 18 aprile 2011 12:17 A: Asterisk Users Mailing List - Non-Commercial Discussion Oggetto: [asterisk-users] No Internet, no asterisk Hi, this is an old outstanding problem, unfortunately I don't remember how to walkaround it. I use asterisk 1.8.3 and I have a public IP in my network interface. As soon as the Internet connection goes down, phones stop working. I want to be able to use pstn, isdn and the gsm gateway even if the Internet connection goes down, how can I achieve it? Thank you, Darkbasic -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On Monday 18 Apr 2011, Niccol? Belli wrote:> As soon as the Internet connection goes down, phones > stop working. I want to be able to use pstn, isdn and the gsm gateway > even if the Internet connection goes down, how can I achieve it?You most probably are using a nameserver somewhere else on the Internet; and when Asterisk can't see the nameserver, everything stops working. The solution is to run your own nameserver. Install bind (probably easier from your distro's package repository than from source, since the former will include some sane config) on the Asterisk box, and reconfigure networking so as only to use 127.0.0.1 as a nameserver. -- AJS Answers come *after* questions.
On 18/04/11 12:16, Niccol? Belli wrote:> Hi, > this is an old outstanding problem, unfortunately I don't remember how > to walkaround it. I use asterisk 1.8.3 and I have a public IP in my > network interface. As soon as the Internet connection goes down, phones > stop working. I want to be able to use pstn, isdn and the gsm gateway > even if the Internet connection goes down, how can I achieve it? >Use dnsmasq which is a caching name server and can be set up simpler than bind. dnsmasq can make use of /etc/hosts to get local details. I also include the name and ip of my sip provider in etc/hosts. Dave Cotton