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

Olivier oza-4h07 at myamail.com
Thu Dec 10 01:02:22 CST 2009


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 ?


> Thanks
>
>
> _______________________________________________
> -- 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/6fae7eab/attachment.htm 


More information about the asterisk-users mailing list