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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Dec 10 01:07:42 CST 2009


On Thu, Dec 10, 2009 at 08:02:22AM +0100, Olivier wrote:
> 2009/12/9 Michelle Dupuis <support at 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 'help restart gracefully' for
> > other possible commands)
> >
> > Can anyone think of why this is happening?
> >
> >
> 
> I've met a situation where a call remained active tough obviously, no one
> was talking to anyone.
> This kept gracefully restart from working.
> 
> So, would a 'restart now' behave differently ?

Why would one want a daily sabotage of the system in the first place?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list