[asterisk-users] Can't restart asterisk from script
Olivier
oza-4h07 at myamail.com
Thu Dec 10 01:52:11 CST 2009
2009/12/10 Tzafrir Cohen <tzafrir.cohen at xorcom.com>
> 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?
>
Reading this thread, I wondered why a gracefully restart wouldn't work in
the first place and focused my modest contribution on this.
You're right that a daily "restart now" in not recommended.
IMHO, for daily maintenance, taking this specific case (a ghost call is
keeping "restart gracefully" from running) into account is necessary.
> --
> Tzafrir Cohen
> icq#16849755 jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
> +972-50-7952406 mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> 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/20091210/f80f8e80/attachment.htm
More information about the asterisk-users
mailing list