There are four common commands related to stopping the Asterisk service. They are:
- core stop now - This command stops the Asterisk service immediately, ending any calls in progress.
- core stop gracefully - This command prevents new calls from starting up in Asterisk, but allows calls in progress to continue. When all the calls have finished, Asterisk stops.
- core stop when convenient - This command waits until Asterisk has no calls in progress, and then it stops the service. It does not prevent new calls from entering the system.