kill0u
January 11, 2021, 2:26pm
1
Hello, i asked myself and wasn’t able too find the answer so i ask here.
When Asterisk is stopped does it unload modules like it loads them at launch ?
Depends on whether you are shutting down nicely, or not:
return 1; } /*! Called when exiting is certain. */ static void really_quit(int num, shutdown_nice_t niceness, int restart) { int active_channels; struct ast_json *json_object = NULL; int run_cleanups = niceness >= SHUTDOWN_NICE; if (run_cleanups && modules_shutdown()) { ast_verb(0, "Some modules could not be unloaded, switching to fast shutdown\n"); run_cleanups = 0; } if (!restart) { ast_sd_notify("STOPPING=1"); } if (ast_opt_console || (ast_opt_remote && !ast_opt_exec)) { ast_el_write_default_histfile(); if (consolethread == AST_PTHREADT_NULL || consolethread == pthread_self()) {
2 Likes
system
Closed
February 10, 2021, 3:29pm
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.