stop

Asterisk has various ways of controlling how and when it stops the system. The options are similar to the restart commands. You can instruct Asterisk to stop only when there no longer any active channels, thus preventing calls from being dropped.

Get Asterisk: The Future of Telephony now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.