Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-26 Thread Gilles
On Fri, 25 Jun 2010 11:19:25 +0100, Gareth Blades list-aster...@skycomuk.com wrote: If you are going to reboot the server regularly then make sure and system updates are set to not automatically install new kernel versions. Otherwise if you get a kernel update and reboot zaptel/dahdi wont load

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-26 Thread Gilles
On Fri, 25 Jun 2010 13:25:18 +0300, Tzafrir Cohen tzafrir.co...@xorcom.com wrote: Asterisk 1.4.x works with Zaptel as well. But yes, this means an upgrade of Asterisk, and maybe you'd like to avoid that. Yup. I'll just stop/start Zaptel every night and see if that fixes the problem. Thank you.

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-26 Thread Gilles
On Fri, 25 Jun 2010 06:45:29 -0700 (PDT), Steve Edwards asterisk@sedwards.com wrote: However, the philosophy of regularly rebooting the box ensures that you will never find the source of the problem. I think I'll just stop/start Zaptel and see if this is the cause for Asterisk no longer

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-26 Thread Gilles
On Fri, 25 Jun 2010 12:32:03 -0400, Barry Miller asterisk-us...@notanet.net wrote: Hi Gilles. You appear to be both posting to newsgroup gmane.comp.telephony.pbx.asterisk.user AND sending the same message directly to the asterisk-users list. This means that we list subscribers see two copies of

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-26 Thread Gilles
On Fri, 25 Jun 2010 08:59:32 +0200, Gilles codecompl...@free.fr wrote: Before I go ahead, I'd like to know if I can just send the following commands, or if there are issues I should know about: To avoid issues about the host hanging after a reboot due to upgrades... I think I'll just run a CRON

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-25 Thread Randy R
On Fri, Jun 25, 2010 at 8:59 AM, Gilles codecompl...@free.fr wrote: Hello About every three months, my dad's little Asterisk server that handles his business phone line with an OpenVox PCI card stops taking calls. To check if it's the cause, I'd like to run a CRON job every night to restart

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-25 Thread Tzafrir Cohen
On Fri, Jun 25, 2010 at 08:59:32AM +0200, Gilles wrote: Hello About every three months, my dad's little Asterisk server that handles his business phone line with an OpenVox PCI card stops taking calls. To check if it's the cause, I'd like to run a CRON job every night to restart Zaptel

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-25 Thread Gilles
On Fri, 25 Jun 2010 09:53:34 +0200, Randy R randulo2...@gmail.com wrote: IMO, if it's a business phone, you'd do well to just reboot it at 3AM once a week or once a month or some interval that you're comfortable with. We used to do this for a similar reason. Right, but he won't remember to do

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-25 Thread Gilles
On Fri, 25 Jun 2010 11:43:04 +0300, Tzafrir Cohen tzafrir.co...@xorcom.com wrote: That does not really check if that is the problem. Mind giving more information as for the nature of the problem? I don't have more information. Could just be the Zaptel driver working with the OpenVoice card, in

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-25 Thread Randy R
On Fri, Jun 25, 2010 at 11:44 AM, Gilles codecompl...@free.fr wrote: On Fri, 25 Jun 2010 09:53:34 +0200, Randy R randulo2...@gmail.com once a week or once a month or some interval that you're comfortable with. We used to do this for a similar reason. Right, but he won't remember to do this, and

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-25 Thread Gilles
On Fri, 25 Jun 2010 12:09:09 +0200, Randy R randulo2...@gmail.com wrote: No I meant as a CRON job! No one will be calling at 3AM, there's ample time to reboot once a month for example. Sorry for the misunderstanding. So I can just run reboot from a CRON job then. --

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-25 Thread Hugo Serrano
On 25/06/10 10:44, Gilles wrote: On Fri, 25 Jun 2010 09:53:34 +0200, Randy Rrandulo2...@gmail.com wrote: IMO, if it's a business phone, you'd do well to just reboot it at 3AM once a week or once a month or some interval that you're comfortable with. We used to do this for a similar

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-25 Thread Gareth Blades
Hugo Serrano wrote: On 25/06/10 10:44, Gilles wrote: On Fri, 25 Jun 2010 09:53:34 +0200, Randy Rrandulo2...@gmail.com wrote: IMO, if it's a business phone, you'd do well to just reboot it at 3AM once a week or once a month or some interval that you're comfortable with. We used to do

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-25 Thread Randy R
On Fri, Jun 25, 2010 at 12:10 PM, Gilles codecompl...@free.fr wrote: Sorry for the misunderstanding. So I can just run reboot from a CRON job then. From root's cron, yes -- _ -- Bandwidth and Colocation Provided by

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-25 Thread Tzafrir Cohen
On Fri, Jun 25, 2010 at 11:46:37AM +0200, Gilles wrote: 'dahdi restart' has become more relaible as of 1.4.22 ... If possible, I'd rather not uninstall Zaptel and install Dahdi because the system works OK the rest of the time (installed about 3 years ago). So I guess I'll just send the

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-25 Thread Steve Edwards
On Fri, 25 Jun 2010, Gareth Blades wrote: If you are going to reboot the server regularly then make sure and system updates are set to not automatically install new kernel versions. Otherwise if you get a kernel update and reboot zaptel/dahdi wont load until you recompile it. I enhanced

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-25 Thread Tzafrir Cohen
On Fri, Jun 25, 2010 at 06:45:29AM -0700, Steve Edwards wrote: On Fri, 25 Jun 2010, Gareth Blades wrote: If you are going to reboot the server regularly then make sure and system updates are set to not automatically install new kernel versions. Otherwise if you get a kernel update and

Re: [asterisk-users] [CRON] Right way to restart Asterisk and Zaptel?

2010-06-25 Thread Barry Miller
Hi Gilles. You appear to be both posting to newsgroup gmane.comp.telephony.pbx.asterisk.user AND sending the same message directly to the asterisk-users list. This means that we list subscribers see two copies of all your messages: one from gmane, one from you. (They don't show up that way on