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... --

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 gracefully' for other possible commands

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: Friday,

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

2009-12-11 Thread Danny Nicholas
-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' (type 'help restart gracefully' for other possible commands) On Behalf

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

2009-12-10 Thread Michelle Dupuis
the 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 restart

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 see if there is something

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 that

[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

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 supp...@ocg.ca 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

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 supp...@ocg.ca mailto:supp...@ocg.ca 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:

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 supp...@ocg.ca mailto:supp...@ocg.ca wrote: I'm running * 1.4 and can successfully restart asterisk from the command line with: /usr/sbin/asterisk -r -x restart gracefully I

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

2009-12-09 Thread Michelle Dupuis
To: 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 supp...@ocg.ca mailto:supp...@ocg.ca wrote: I'm running * 1.4 and can successfully restart asterisk from the command line

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 asterisk from

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

2009-12-09 Thread Bill Kenworthy
restart asterisk from script Doug Lytle wrote: Warren Selby wrote: On Wed, Dec 9, 2009 at 3:08 PM, Michelle Dupuis supp...@ocg.ca mailto:supp...@ocg.ca wrote: I'm running * 1.4 and can successfully restart asterisk from the command line with: /usr/sbin

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

2009-12-09 Thread Michelle Dupuis
] 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 other environment

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

2009-12-09 Thread Juan E. Rodríguez
[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 security reasons - you may need

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

2009-12-09 Thread Michelle Dupuis
: [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-Commercial Discussion Subject

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

2009-12-09 Thread Bill Kenworthy
-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-Commercial Discussion

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 gracefully'

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 supp...@ocg.ca 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

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

2009-12-09 Thread Olivier
2009/12/9 Michelle Dupuis supp...@ocg.ca 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

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 supp...@ocg.ca 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

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 Olivier
2009/12/10 Tzafrir Cohen tzafrir.co...@xorcom.com On Thu, Dec 10, 2009 at 08:02:22AM +0100, Olivier wrote: 2009/12/9 Michelle Dupuis supp...@ocg.ca I'm running * 1.4 and can successfully restart asterisk from the command line with: /usr/sbin/asterisk -r -x restart gracefully