How to reboot whole server with gracefully stop?

Friend of me ask me how to reboot whole server but first wait until all calls are finish. First what came to my mind is ‘core stop gracefully’ where command tell to Asterisk ‘go on with connected calls but reject all new’. But how link this command to reboot the system ?

That’s really a question about the OS. You’d need a service stop script that issued the command, and you would probably need to override the LInux time allowance for services to stop.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.