Bobr.pw - Бобровая сила

Stuff happens, and sometimes it is necessary to perform a stop or restart the PBX after completion of all call or in a free moment. How to do it look below:

To install Asterisk, there are several commands:

core stop now — stops Asterisk immediately, ending all current calls.
core stop gracefully — prevents new calls but allows you to end ongoing calls. When all calls have finished, Asterisk stops.
core stop when convenient — waits for Asterisk to make calls and then stops the service. This does not prevent new challenges.

To restart:

core restart now — overloads Asterisk immediately, ending all current calls.
core restart gracefully — prevents new calls, but allows you to end current calls. When all calls have finished, Asterisk is overloaded.
core restart when convenient — waits for Asterisk to make calls and then overloads the service. This does not prevent new challenges.

There is also a command to cancel shutdown or restart:

core abort shutdown — This command cancels the shutdowns or reboots you have previously run.