Re: [asterisk-users] Can't restart asterisk from script

2009-12-11 Thread Danny Nicholas
[asterisk-users] Can't restart asterisk from script Un-top-posting... > On Wed, 9 Dec 2009, Michelle Dupuis wrote: > >> However, I have a cron job that tries to restart asterisk and gets >> this >> error: > >> No such command 'restart gracefully&#

Re: [asterisk-users] Can't restart asterisk from script

2009-12-11 Thread Steve Edwards
Un-top-posting... > On Wed, 9 Dec 2009, Michelle Dupuis wrote: > >> However, I have a cron job that tries to restart asterisk and gets >> this >> error: > >> No such command 'restart gracefully' (type 'help restart gracefully' >> for other possible commands) > On Behalf Of Steve Edwards > Sent: F

Re: [asterisk-users] Can't restart asterisk from script

2009-12-11 Thread Michelle Dupuis
List Subject: Re: [asterisk-users] Can't restart asterisk from script On Wed, 9 Dec 2009, Michelle Dupuis wrote: > However, I have a cron job that tries to restart asterisk and gets > this > error: > No such command 'restart gracefully' (type 'help restart g

Re: [asterisk-users] Can't restart asterisk from script

2009-12-11 Thread Steve Edwards
On Wed, 9 Dec 2009, Michelle Dupuis wrote: > However, I have a cron job that tries to restart asterisk and gets this > error: > No such command 'restart gracefully' (type 'help restart gracefully' for > other possible commands) Did you find a solution -- inquiring minds want to know... -- Th

Re: [asterisk-users] Can't restart asterisk from script

2009-12-10 Thread Tzafrir Cohen
On Thu, Dec 10, 2009 at 07:49:11AM -0500, Michelle Dupuis wrote: > I encounter an interesting situation where the internet connection goes down > and then goes back up. The IAX trunks are then unregistered, and * is > confused...only a restart allows * to function again. I have a cron script > th

Re: [asterisk-users] Can't restart asterisk from script

2009-12-10 Thread Michelle Dupuis
: Wednesday, December 09, 2009 11:04 PM To: Asterisk Users List Subject: Re: [asterisk-users] Can't restart asterisk from script Yes, but if asterisk cant find some of its components due to abbreviated path or ... Just run a cron that prints the results from "env" and compare and

Re: [asterisk-users] Can't restart asterisk from script

2009-12-10 Thread Michelle Dupuis
conncection is back up. This is not a daily kill -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Alex Balashov Sent: Thursday, December 10, 2009 2:11 AM To: Asterisk Users List Subject: Re: [asterisk-users] Can't re

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Olivier
2009/12/10 Tzafrir Cohen > On Thu, Dec 10, 2009 at 08:02:22AM +0100, Olivier wrote: > > 2009/12/9 Michelle Dupuis > > > > > I'm running * 1.4 and can successfully restart asterisk from the > command > > > line with: > > > /usr/sbin/asterisk -r -x "restart gracefully" > > > > > > However, I have

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Alex Balashov
On 12/10/2009 02:07 AM, Tzafrir Cohen wrote: > Why would one want a daily sabotage of the system in the first place? An apt question. -- Alex Balashov - Principal Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Tzafrir Cohen
On Thu, Dec 10, 2009 at 08:02:22AM +0100, Olivier wrote: > 2009/12/9 Michelle Dupuis > > > I'm running * 1.4 and can successfully restart asterisk from the command > > line with: > > /usr/sbin/asterisk -r -x "restart gracefully" > > > > However, I have a cron job that tries to restart asterisk an

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Olivier
2009/12/9 Michelle Dupuis > I'm running * 1.4 and can successfully restart asterisk from the command > line with: > /usr/sbin/asterisk -r -x "restart gracefully" > > However, I have a cron job that tries to restart asterisk and gets this > error: > No such command 'restart gracefully' (type 'help

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Tzafrir Cohen
On Wed, Dec 09, 2009 at 03:28:19PM -0600, Warren Selby wrote: > On Wed, Dec 9, 2009 at 3:08 PM, Michelle Dupuis wrote: > > > I'm running * 1.4 and can successfully restart asterisk from the command > > line with: > > /usr/sbin/asterisk -r -x "restart gracefully" > > > > However, I have a cron job

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Steve Edwards
On Wed, 9 Dec 2009, Michelle Dupuis wrote: > I'm running * 1.4 and can successfully restart asterisk from the command > line with: /usr/sbin/asterisk -r -x "restart gracefully" > > However, I have a cron job that tries to restart asterisk and gets this > error: > > No such command 'restart grace

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Bill Kenworthy
9 10:14 PM > To: Asterisk Users List > Subject: Re: [asterisk-users] Can't restart asterisk from script > > You should replace the single quote with double quote. > > --Original Message-- > From: Michelle Dupuis > Sender: asterisk-users-boun...@lists.digium.c

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Michelle Dupuis
t: Re: [asterisk-users] Can't restart asterisk from script You should replace the single quote with double quote. --Original Message-- From: Michelle Dupuis Sender: asterisk-users-boun...@lists.digium.com To: 'Asterisk Users List' ReplyTo: Asterisk Users Mailing List - Non-Commercia

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Juan E. Rodríguez
-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Bill Kenworthy Sent: Wednesday, December 09, 2009 9:31 PM To: Asterisk Users List Subject: Re: [asterisk-users] Can't restart asterisk from script Keep in mond that cron usually has a very abbreviated environment for s

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Michelle Dupuis
um.com] On Behalf Of Bill Kenworthy Sent: Wednesday, December 09, 2009 9:31 PM To: Asterisk Users List Subject: Re: [asterisk-users] Can't restart asterisk from script Keep in mond that cron usually has a very abbreviated environment for security reasons - you may need to set the PATH or ot

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Bill Kenworthy
t > Subject: Re: [asterisk-users] Can't restart asterisk from script > > > > Doug Lytle wrote: > > Warren Selby wrote: > > > > > On Wed, Dec 9, 2009 at 3:08 PM, Michelle Dupuis > > <mailto:supp...@ocg.ca>> wrote: > > > > >

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Michelle Dupuis
Interesting...I'll try that. Thanks _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Lyle Giese Sent: Wednesday, December 09, 2009 8:47 PM To: Asterisk Users List Subject: Re: [asterisk-users] Can't restart ast

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Michelle Dupuis
: Asterisk Users List Subject: Re: [asterisk-users] Can't restart asterisk from script Warren Selby wrote: > On Wed, Dec 9, 2009 at 3:08 PM, Michelle Dupuis <mailto:supp...@ocg.ca>> wrote: > > I'm running * 1.4 and can successfully restart asterisk from the > comm

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Lyle Giese
Doug Lytle wrote: > Warren Selby wrote: > >> On Wed, Dec 9, 2009 at 3:08 PM, Michelle Dupuis > > wrote: >> >> I'm running * 1.4 and can successfully restart asterisk from the >> command >> line with: >> /usr/sbin/asterisk -r -x "restart gracefully" >> >>

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Doug Lytle
Warren Selby wrote: > On Wed, Dec 9, 2009 at 3:08 PM, Michelle Dupuis > wrote: > > I'm running * 1.4 and can successfully restart asterisk from the > command > line with: > /usr/sbin/asterisk -r -x "restart gracefully" > I have the following cron job: /usr/

Re: [asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Warren Selby
On Wed, Dec 9, 2009 at 3:08 PM, Michelle Dupuis wrote: > I'm running * 1.4 and can successfully restart asterisk from the command > line with: > /usr/sbin/asterisk -r -x "restart gracefully" > > However, I have a cron job that tries to restart asterisk and gets this > error: > No such command 're

[asterisk-users] Can't restart asterisk from script

2009-12-09 Thread Michelle Dupuis
I'm running * 1.4 and can successfully restart asterisk from the command line with: /usr/sbin/asterisk -r -x "restart gracefully" However, I have a cron job that tries to restart asterisk and gets this error: No such command 'restart gracefully' (type 'help restart gracefully' for other possible