static int unload_module(void) { ast_module_user_hangup_all(); ast_unregister_application(app3); ast_unregister_application(app2); return ast_unregister_application(app); }
static int unload_module(void) { int res; res = ast_unregister_application(app); ast_module_user_hangup_all(); return res; }
int unload_module(void) { int res; res = ast_unregister_application(app_detectfax); res |= ast_unregister_application(app_background_detect); ast_module_user_hangup_all(); return res; }
static int unload_module( void ) { ast_log( LOG_NOTICE, "unloading app_conference module\n" ) ; ast_module_user_hangup_all(); unregister_conference_cli() ; return ast_unregister_application( app ) ; }
static int unload_module(void) { int res; res = ast_cli_unregister_multiple(cli_cbmysql, ARRAY_LEN(cli_cbmysql)); res |= ast_unregister_application(app); ast_module_user_hangup_all(); return res; }
static int unload_module(void) { int res; res = ast_unregister_application(app); res |= ast_custom_function_unregister(&blacklist_function); ast_module_user_hangup_all(); return res; }
static int unload_module(void) { int res = 0; if (*dahdi_chan_mode == CHAN_DAHDI_PLUS_ZAP_MODE) { res |= ast_unregister_application(dahdi_app); } res |= ast_unregister_application(zap_app); ast_module_user_hangup_all(); return res; }
static int unload_module( void ) { int res = 0; ast_log( LOG_NOTICE, "Unloading app_vonference module\n" ) ; ast_module_user_hangup_all(); unregister_conference_cli() ; res |= ast_unregister_application( app ) ; res |= ast_unregister_application( app2 ) ; dealloc_conference() ; return res ; }
static int unload_module(void) { /* Aquire control before doing anything to the module itself. */ ast_mutex_lock(&pgsql_lock); if (pgsqlConn) { PQfinish(pgsqlConn); pgsqlConn = NULL; }; ast_cli_unregister_multiple(cli_realtime, sizeof(cli_realtime) / sizeof(struct ast_cli_entry)); ast_config_engine_deregister(&pgsql_engine); if (option_verbose) { ast_verbose("Postgresql RealTime unloaded.\n"); } ast_module_user_hangup_all(); /* Unlock so something else can destroy the lock. */ ast_mutex_unlock(&pgsql_lock); return 0; }
static int unload_module(void) { int res = 0; res = ast_unregister_application("SpeechCreate"); res |= ast_unregister_application("SpeechLoadGrammar"); res |= ast_unregister_application("SpeechUnloadGrammar"); res |= ast_unregister_application("SpeechActivateGrammar"); res |= ast_unregister_application("SpeechDeactivateGrammar"); res |= ast_unregister_application("SpeechStart"); res |= ast_unregister_application("SpeechBackground"); res |= ast_unregister_application("SpeechDestroy"); res |= ast_unregister_application("SpeechProcessingSound"); res |= ast_custom_function_unregister(&speech_function); res |= ast_custom_function_unregister(&speech_score_function); res |= ast_custom_function_unregister(&speech_text_function); res |= ast_custom_function_unregister(&speech_grammar_function); res |= ast_custom_function_unregister(&speech_engine_function); res |= ast_custom_function_unregister(&speech_results_type_function); ast_module_user_hangup_all(); return res; }