Robert P. J. Day
2010-Sep-24 14:55 UTC
[asterisk-users] should trixbox system hang when ISP drops connection?
NEWBIE alert: i'm a linux person, not an asterisk person so i'm certainly capable of handling any linux-flavoured solution you can suggest. here's a note i got from a local company i know (some proper names removed): ===== start ==== Now and again our ISP goes down and when it does give us a hicup, the Asterisk system shuts down (not very forgiving). When it shuts down our phone system as well goes down. This will need some visitation as to a resolution however would it be possible for now to have a heartbeat happening on the ISP so that should it go down, a email is generated to myself advising that this has occurred. This will then notify me to reboot the tribox. Let me know if this is doable. ===== end ==== so, is there an easy fix for this? if the ISP goes down, does that necessarily mean that trixbox has to go down as well? or should i be asking this question on a trixbox-specific list? thanks. rday -- =======================================================================Robert P. J. Day Waterloo, Ontario, CANADA Top-notch, inexpensive online Linux/OSS/kernel courses http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
Danny Nicholas
2010-Sep-24 15:09 UTC
[asterisk-users] should trixbox system hang when ISP dropsconnection?
-----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Robert P. J. Day Sent: Friday, September 24, 2010 9:55 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] should trixbox system hang when ISP dropsconnection? NEWBIE alert: i'm a linux person, not an asterisk person so i'm certainly capable of handling any linux-flavoured solution you can suggest. here's a note i got from a local company i know (some proper names removed): ===== start ==== Now and again our ISP goes down and when it does give us a hicup, the Asterisk system shuts down (not very forgiving). When it shuts down our phone system as well goes down. This will need some visitation as to a resolution however would it be possible for now to have a heartbeat happening on the ISP so that should it go down, a email is generated to myself advising that this has occurred. This will then notify me to reboot the tribox. Let me know if this is doable. ===== end ==== so, is there an easy fix for this? if the ISP goes down, does that necessarily mean that trixbox has to go down as well? or should i be asking this question on a trixbox-specific list? thanks. rday -- =======================================================================Robert P. J. Day Waterloo, Ontario, CANADA Trixbox (Asterisk) should not "go down" when the ISP does. Of course the actual process wouldn't "go down", just the connectivity (assuming SIP connections/trunks). The BOBW solution I would suggest is that you run your Trixbox/Asterisk using a local DCHP provider/server so you aren't as vulnerable to how efficient your ISP is at staying up.
Warren Selby
2010-Sep-24 15:10 UTC
[asterisk-users] should trixbox system hang when ISP drops connection?
On Fri, Sep 24, 2010 at 9:55 AM, Robert P. J. Day <rpjday at crashcourse.ca>wrote:> > so, is there an easy fix for this? if the ISP goes down, does that > necessarily mean that trixbox has to go down as well? or should i be > asking this question on a trixbox-specific list? thanks. > > rday > >Try installing a local caching nameserver on the same box that runs asterisk, and have that handle DNS queries for you. I remember at one point that trixbox would hang if you had any SIP trunks configured and you lost internet connectivity, but a caching nameserver on the same box tended to help. -- Thanks, --Warren Selby http://www.selbytech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100924/cae55c69/attachment.htm
Zeeshan Zakaria
2010-Sep-24 15:38 UTC
[asterisk-users] should trixbox system hang when ISP drops connection?
Is your ISP doing DNS resolutions for you? If yes, then I also think it has something to do with the DNS queries which hangs asterisk. But it should not bring the server down. On CentOS, caching name server should be very easy to install by doing: yum install caching-nameserver I don't remember if it also sets up the required config files. Zeeshan A Zakaria -- www.ilovetovoip.com On 2010-09-24 11:15 AM, "Warren Selby" <wcselby at selbytech.com> wrote: On Fri, Sep 24, 2010 at 9:55 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:> > > so, is there...Try installing a local caching nameserver on the same box that runs asterisk, and have that handle DNS queries for you. I remember at one point that trixbox would hang if you had any SIP trunks configured and you lost internet connectivity, but a caching nameserver on the same box tended to help. -- Thanks, --Warren Selby http://www.selbytech.com -- _____________________________________________________________________ -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100924/d0e47749/attachment.htm