[asterisk-users] * Waiting for asterisk to shutdown .............
Joseph
syscon780 at gmail.com
Sun Nov 25 13:39:01 CST 2012
On 11/25/12 10:53, Mikhail Lischuk wrote:
> Joseph wrote 25.11.2012 02:12:
>
>
> ebegin "Stopping asterisk PBX gracefully"
> /usr/sbin/asterisk -r -x "core stop gracefully" &>/dev/null
> # Now we have to wait until asterisk has _really_ stopped.
>
>
> As you can see, it is trying to execute "core stop gracefully". I don't
> know why it wont shutdown, or maybe it would but you can't wait till it
> happens, so I can't help in troubleshooting.
>
> But if you need a quick workaround to be able to shut down without
> killing process - change it to "core stop now". It should shut the
> Asterisk down immediately, dropping all active calls.
>
>--
>With Best Regards
>[1]Mikhail Lischuk
Good suggestion, thank you.
I've modified the scrip and will monitor it for a week.
--
Joseph
More information about the asterisk-users
mailing list