[asterisk-commits] file: trunk r75183 - in /trunk: apps/ funcs/ res/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jul 16 08:35:21 CDT 2007
Author: file
Date: Mon Jul 16 08:35:20 2007
New Revision: 75183
URL: http://svn.digium.com/view/asterisk?view=rev&rev=75183
Log:
It is no longer required for each module that deals with a channel to call ast_module_user_hangup_all in it's unload function. The loader will automatically perform this action for it.
Modified:
trunk/apps/app_adsiprog.c
trunk/apps/app_alarmreceiver.c
trunk/apps/app_amd.c
trunk/apps/app_authenticate.c
trunk/apps/app_cdr.c
trunk/apps/app_chanisavail.c
trunk/apps/app_channelredirect.c
trunk/apps/app_chanspy.c
trunk/apps/app_dial.c
trunk/apps/app_disa.c
trunk/apps/app_dumpchan.c
trunk/apps/app_echo.c
trunk/apps/app_exec.c
trunk/apps/app_externalivr.c
trunk/apps/app_festival.c
trunk/apps/app_flash.c
trunk/apps/app_followme.c
trunk/apps/app_forkcdr.c
trunk/apps/app_getcpeid.c
trunk/apps/app_ices.c
trunk/apps/app_image.c
trunk/apps/app_ivrdemo.c
trunk/apps/app_macro.c
trunk/apps/app_meetme.c
trunk/apps/app_milliwatt.c
trunk/apps/app_minivm.c
trunk/apps/app_mixmonitor.c
trunk/apps/app_morsecode.c
trunk/apps/app_mp3.c
trunk/apps/app_nbscat.c
trunk/apps/app_osplookup.c
trunk/apps/app_page.c
trunk/apps/app_parkandannounce.c
trunk/apps/app_playback.c
trunk/apps/app_privacy.c
trunk/apps/app_queue.c
trunk/apps/app_read.c
trunk/apps/app_readfile.c
trunk/apps/app_record.c
trunk/apps/app_rpt.c
trunk/apps/app_sayunixtime.c
trunk/apps/app_senddtmf.c
trunk/apps/app_sendtext.c
trunk/apps/app_setcallerid.c
trunk/apps/app_sms.c
trunk/apps/app_softhangup.c
trunk/apps/app_speech_utils.c
trunk/apps/app_stack.c
trunk/apps/app_system.c
trunk/apps/app_talkdetect.c
trunk/apps/app_test.c
trunk/apps/app_transfer.c
trunk/apps/app_url.c
trunk/apps/app_userevent.c
trunk/apps/app_verbose.c
trunk/apps/app_voicemail.c
trunk/apps/app_waitforring.c
trunk/apps/app_waitforsilence.c
trunk/apps/app_while.c
trunk/apps/app_zapateller.c
trunk/apps/app_zapbarge.c
trunk/apps/app_zapras.c
trunk/apps/app_zapscan.c
trunk/funcs/func_blacklist.c
trunk/funcs/func_curl.c
trunk/funcs/func_cut.c
trunk/funcs/func_enum.c
trunk/funcs/func_realtime.c
trunk/funcs/func_vmcount.c
trunk/res/res_agi.c
trunk/res/res_config_odbc.c
trunk/res/res_config_pgsql.c
trunk/res/res_features.c
trunk/res/res_realtime.c
Modified: trunk/apps/app_adsiprog.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_adsiprog.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_adsiprog.c (original)
+++ trunk/apps/app_adsiprog.c Mon Jul 16 08:35:20 2007
@@ -1572,14 +1572,7 @@
static int unload_module(void)
{
- int res;
-
- ast_module_user_hangup_all();
-
- res = ast_unregister_application(app);
-
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_alarmreceiver.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_alarmreceiver.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_alarmreceiver.c (original)
+++ trunk/apps/app_alarmreceiver.c Mon Jul 16 08:35:20 2007
@@ -823,13 +823,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_amd.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_amd.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_amd.c (original)
+++ trunk/apps/app_amd.c Mon Jul 16 08:35:20 2007
@@ -383,7 +383,6 @@
static int unload_module(void)
{
- ast_module_user_hangup_all();
return ast_unregister_application(app);
}
Modified: trunk/apps/app_authenticate.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_authenticate.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_authenticate.c (original)
+++ trunk/apps/app_authenticate.c Mon Jul 16 08:35:20 2007
@@ -223,14 +223,7 @@
static int unload_module(void)
{
- int res;
-
- ast_module_user_hangup_all();
-
- res = ast_unregister_application(app);
-
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_cdr.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_cdr.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_cdr.c (original)
+++ trunk/apps/app_cdr.c Mon Jul 16 08:35:20 2007
@@ -61,13 +61,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(nocdr_app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(nocdr_app);
}
static int load_module(void)
Modified: trunk/apps/app_chanisavail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_chanisavail.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_chanisavail.c (original)
+++ trunk/apps/app_chanisavail.c Mon Jul 16 08:35:20 2007
@@ -157,13 +157,7 @@
static int unload_module(void)
{
- int res = 0;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_channelredirect.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_channelredirect.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_channelredirect.c (original)
+++ trunk/apps/app_channelredirect.c Mon Jul 16 08:35:20 2007
@@ -122,13 +122,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_chanspy.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_chanspy.c (original)
+++ trunk/apps/app_chanspy.c Mon Jul 16 08:35:20 2007
@@ -799,8 +799,6 @@
res |= ast_unregister_application(app_chan);
res |= ast_unregister_application(app_ext);
- ast_module_user_hangup_all();
-
return res;
}
Modified: trunk/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_dial.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_dial.c (original)
+++ trunk/apps/app_dial.c Mon Jul 16 08:35:20 2007
@@ -1946,8 +1946,6 @@
res = ast_unregister_application(app);
res |= ast_unregister_application(rapp);
- ast_module_user_hangup_all();
-
if ((con = ast_context_find("app_dial_gosub_virtual_context"))) {
ast_context_remove_extension2(con, "s", 1, NULL);
}
Modified: trunk/apps/app_disa.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_disa.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_disa.c (original)
+++ trunk/apps/app_disa.c Mon Jul 16 08:35:20 2007
@@ -388,13 +388,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_dumpchan.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_dumpchan.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_dumpchan.c (original)
+++ trunk/apps/app_dumpchan.c Mon Jul 16 08:35:20 2007
@@ -165,13 +165,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_echo.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_echo.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_echo.c (original)
+++ trunk/apps/app_echo.c Mon Jul 16 08:35:20 2007
@@ -87,13 +87,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_exec.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_exec.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_exec.c (original)
+++ trunk/apps/app_exec.c Mon Jul 16 08:35:20 2007
@@ -207,8 +207,6 @@
res |= ast_unregister_application(app_tryexec);
res |= ast_unregister_application(app_execif);
- ast_module_user_hangup_all();
-
return res;
}
Modified: trunk/apps/app_externalivr.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_externalivr.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_externalivr.c (original)
+++ trunk/apps/app_externalivr.c Mon Jul 16 08:35:20 2007
@@ -578,13 +578,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_festival.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_festival.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_festival.c (original)
+++ trunk/apps/app_festival.c Mon Jul 16 08:35:20 2007
@@ -536,13 +536,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_flash.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_flash.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_flash.c (original)
+++ trunk/apps/app_flash.c Mon Jul 16 08:35:20 2007
@@ -111,13 +111,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_followme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_followme.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_followme.c (original)
+++ trunk/apps/app_followme.c Mon Jul 16 08:35:20 2007
@@ -1052,8 +1052,6 @@
{
struct call_followme *f;
- ast_module_user_hangup_all();
-
ast_unregister_application(app);
/* Free Memory. Yeah! I'm free! */
Modified: trunk/apps/app_forkcdr.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_forkcdr.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_forkcdr.c (original)
+++ trunk/apps/app_forkcdr.c Mon Jul 16 08:35:20 2007
@@ -97,13 +97,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_getcpeid.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_getcpeid.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_getcpeid.c (original)
+++ trunk/apps/app_getcpeid.c Mon Jul 16 08:35:20 2007
@@ -131,13 +131,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_ices.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_ices.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_ices.c (original)
+++ trunk/apps/app_ices.c Mon Jul 16 08:35:20 2007
@@ -208,13 +208,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_image.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_image.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_image.c (original)
+++ trunk/apps/app_image.c Mon Jul 16 08:35:20 2007
@@ -99,13 +99,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_ivrdemo.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_ivrdemo.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_ivrdemo.c (original)
+++ trunk/apps/app_ivrdemo.c Mon Jul 16 08:35:20 2007
@@ -115,13 +115,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_macro.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_macro.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_macro.c (original)
+++ trunk/apps/app_macro.c Mon Jul 16 08:35:20 2007
@@ -536,8 +536,6 @@
res |= ast_unregister_application(app);
res |= ast_unregister_application(exclusive_app);
- ast_module_user_hangup_all();
-
return res;
}
Modified: trunk/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_meetme.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Mon Jul 16 08:35:20 2007
@@ -4972,8 +4972,6 @@
ast_devstate_prov_del("Meetme");
ast_devstate_prov_del("SLA");
-
- ast_module_user_hangup_all();
sla_destroy();
Modified: trunk/apps/app_milliwatt.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_milliwatt.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_milliwatt.c (original)
+++ trunk/apps/app_milliwatt.c Mon Jul 16 08:35:20 2007
@@ -140,13 +140,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_minivm.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_minivm.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_minivm.c (original)
+++ trunk/apps/app_minivm.c Mon Jul 16 08:35:20 2007
@@ -3130,9 +3130,6 @@
timezone_destroy_list(); /* Destroy list of timezones */
vmaccounts_destroy_list(); /* Destroy list of voicemail accounts */
-
- ast_module_user_hangup_all();
-
return res;
}
Modified: trunk/apps/app_mixmonitor.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_mixmonitor.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_mixmonitor.c (original)
+++ trunk/apps/app_mixmonitor.c Mon Jul 16 08:35:20 2007
@@ -450,8 +450,6 @@
res = ast_unregister_application(stop_app);
res |= ast_unregister_application(app);
- ast_module_user_hangup_all();
-
return res;
}
Modified: trunk/apps/app_morsecode.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_morsecode.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_morsecode.c (original)
+++ trunk/apps/app_morsecode.c Mon Jul 16 08:35:20 2007
@@ -161,13 +161,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app_morsecode);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app_morsecode);
}
static int load_module(void)
Modified: trunk/apps/app_mp3.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_mp3.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_mp3.c (original)
+++ trunk/apps/app_mp3.c Mon Jul 16 08:35:20 2007
@@ -238,13 +238,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_nbscat.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_nbscat.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_nbscat.c (original)
+++ trunk/apps/app_nbscat.c Mon Jul 16 08:35:20 2007
@@ -220,13 +220,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_osplookup.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_osplookup.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_osplookup.c (original)
+++ trunk/apps/app_osplookup.c Mon Jul 16 08:35:20 2007
@@ -2049,8 +2049,6 @@
ast_cli_unregister_multiple(cli_osp, sizeof(cli_osp) / sizeof(struct ast_cli_entry));
osp_unload();
- ast_module_user_hangup_all();
-
return res;
}
Modified: trunk/apps/app_page.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_page.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_page.c (original)
+++ trunk/apps/app_page.c Mon Jul 16 08:35:20 2007
@@ -195,13 +195,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app_page);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app_page);
}
static int load_module(void)
Modified: trunk/apps/app_parkandannounce.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_parkandannounce.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_parkandannounce.c (original)
+++ trunk/apps/app_parkandannounce.c Mon Jul 16 08:35:20 2007
@@ -242,13 +242,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_playback.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_playback.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_playback.c (original)
+++ trunk/apps/app_playback.c Mon Jul 16 08:35:20 2007
@@ -462,8 +462,6 @@
ast_cli_unregister_multiple(cli_playback, sizeof(cli_playback) / sizeof(struct ast_cli_entry));
- ast_module_user_hangup_all();
-
if (say_cfg)
ast_config_destroy(say_cfg);
Modified: trunk/apps/app_privacy.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_privacy.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_privacy.c (original)
+++ trunk/apps/app_privacy.c Mon Jul 16 08:35:20 2007
@@ -206,18 +206,12 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application (app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application (app);
}
static int load_module(void)
{
- return ast_register_application (app, privacy_exec, synopsis, descrip);
+ return ast_register_application(app, privacy_exec, synopsis, descrip);
}
AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Require phone number to be entered, if no CallerID sent");
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Mon Jul 16 08:35:20 2007
@@ -4784,8 +4784,6 @@
ast_context_remove_extension2(con, "s", 1, NULL);
}
- ast_module_user_hangup_all();
-
clear_and_free_interfaces();
return res;
Modified: trunk/apps/app_read.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_read.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_read.c (original)
+++ trunk/apps/app_read.c Mon Jul 16 08:35:20 2007
@@ -218,13 +218,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_readfile.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_readfile.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_readfile.c (original)
+++ trunk/apps/app_readfile.c Mon Jul 16 08:35:20 2007
@@ -103,13 +103,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app_readfile);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app_readfile);
}
static int load_module(void)
Modified: trunk/apps/app_record.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_record.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_record.c (original)
+++ trunk/apps/app_record.c Mon Jul 16 08:35:20 2007
@@ -375,13 +375,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_rpt.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_rpt.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_rpt.c (original)
+++ trunk/apps/app_rpt.c Mon Jul 16 08:35:20 2007
@@ -7437,7 +7437,6 @@
{
int i;
- ast_module_user_hangup_all();
for (i = 0; i < nrpts; i++) {
if (!strcmp(rpt_vars[i].name, rpt_vars[i].p.nodes))
continue;
Modified: trunk/apps/app_sayunixtime.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_sayunixtime.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_sayunixtime.c (original)
+++ trunk/apps/app_sayunixtime.c Mon Jul 16 08:35:20 2007
@@ -107,8 +107,6 @@
res = ast_unregister_application(app_sayunixtime);
res |= ast_unregister_application(app_datetime);
-
- ast_module_user_hangup_all();
return res;
}
Modified: trunk/apps/app_senddtmf.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_senddtmf.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_senddtmf.c (original)
+++ trunk/apps/app_senddtmf.c Mon Jul 16 08:35:20 2007
@@ -125,8 +125,6 @@
res = ast_unregister_application(app);
res |= ast_manager_unregister("PlayDTMF");
- ast_module_user_hangup_all();
-
return res;
}
Modified: trunk/apps/app_sendtext.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_sendtext.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_sendtext.c (original)
+++ trunk/apps/app_sendtext.c Mon Jul 16 08:35:20 2007
@@ -104,13 +104,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_setcallerid.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_setcallerid.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_setcallerid.c (original)
+++ trunk/apps/app_setcallerid.c Mon Jul 16 08:35:20 2007
@@ -92,9 +92,7 @@
static int unload_module(void)
{
- int res = ast_unregister_application(app2);
- ast_module_user_hangup_all();
- return res;
+ return ast_unregister_application(app2);
}
static int load_module(void)
Modified: trunk/apps/app_sms.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_sms.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_sms.c (original)
+++ trunk/apps/app_sms.c Mon Jul 16 08:35:20 2007
@@ -1929,13 +1929,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_softhangup.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_softhangup.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_softhangup.c (original)
+++ trunk/apps/app_softhangup.c Mon Jul 16 08:35:20 2007
@@ -104,13 +104,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_speech_utils.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_speech_utils.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_speech_utils.c (original)
+++ trunk/apps/app_speech_utils.c Mon Jul 16 08:35:20 2007
@@ -823,8 +823,6 @@
res |= ast_custom_function_unregister(&speech_engine_function);
res |= ast_custom_function_unregister(&speech_results_type_function);
- ast_module_user_hangup_all();
-
return res;
}
Modified: trunk/apps/app_stack.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_stack.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_stack.c (original)
+++ trunk/apps/app_stack.c Mon Jul 16 08:35:20 2007
@@ -421,8 +421,6 @@
ast_unregister_application(app_gosub);
ast_custom_function_unregister(&local_function);
- ast_module_user_hangup_all();
-
return 0;
}
Modified: trunk/apps/app_system.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_system.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_system.c (original)
+++ trunk/apps/app_system.c Mon Jul 16 08:35:20 2007
@@ -123,8 +123,6 @@
res = ast_unregister_application(app);
res |= ast_unregister_application(app2);
-
- ast_module_user_hangup_all();
return res;
}
Modified: trunk/apps/app_talkdetect.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_talkdetect.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_talkdetect.c (original)
+++ trunk/apps/app_talkdetect.c Mon Jul 16 08:35:20 2007
@@ -211,13 +211,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_test.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_test.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_test.c (original)
+++ trunk/apps/app_test.c Mon Jul 16 08:35:20 2007
@@ -465,8 +465,6 @@
res = ast_unregister_application(testc_app);
res |= ast_unregister_application(tests_app);
- ast_module_user_hangup_all();
-
return res;
}
Modified: trunk/apps/app_transfer.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_transfer.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_transfer.c (original)
+++ trunk/apps/app_transfer.c Mon Jul 16 08:35:20 2007
@@ -131,13 +131,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_url.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_url.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_url.c (original)
+++ trunk/apps/app_url.c Mon Jul 16 08:35:20 2007
@@ -145,13 +145,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_userevent.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_userevent.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_userevent.c (original)
+++ trunk/apps/app_userevent.c Mon Jul 16 08:35:20 2007
@@ -92,13 +92,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_verbose.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_verbose.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_verbose.c (original)
+++ trunk/apps/app_verbose.c Mon Jul 16 08:35:20 2007
@@ -150,8 +150,6 @@
res = ast_unregister_application(app_verbose);
res |= ast_unregister_application(app_log);
- ast_module_user_hangup_all();
-
return res;
}
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Mon Jul 16 08:35:20 2007
@@ -8501,8 +8501,6 @@
res |= ast_manager_unregister("VoicemailUsersList");
ast_cli_unregister_multiple(cli_voicemail, sizeof(cli_voicemail) / sizeof(struct ast_cli_entry));
ast_uninstall_vm_functions();
-
- ast_module_user_hangup_all();
if (poll_thread != AST_PTHREADT_NULL)
stop_poll_thread();
Modified: trunk/apps/app_waitforring.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_waitforring.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_waitforring.c (original)
+++ trunk/apps/app_waitforring.c Mon Jul 16 08:35:20 2007
@@ -120,13 +120,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_waitforsilence.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_waitforsilence.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_waitforsilence.c (original)
+++ trunk/apps/app_waitforsilence.c Mon Jul 16 08:35:20 2007
@@ -187,13 +187,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_while.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_while.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_while.c (original)
+++ trunk/apps/app_while.c Mon Jul 16 08:35:20 2007
@@ -315,8 +315,6 @@
res |= ast_unregister_application(exit_app);
res |= ast_unregister_application(continue_app);
- ast_module_user_hangup_all();
-
return res;
}
Modified: trunk/apps/app_zapateller.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_zapateller.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_zapateller.c (original)
+++ trunk/apps/app_zapateller.c Mon Jul 16 08:35:20 2007
@@ -105,13 +105,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_zapbarge.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_zapbarge.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_zapbarge.c (original)
+++ trunk/apps/app_zapbarge.c Mon Jul 16 08:35:20 2007
@@ -300,13 +300,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_zapras.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_zapras.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_zapras.c (original)
+++ trunk/apps/app_zapras.c Mon Jul 16 08:35:20 2007
@@ -241,13 +241,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/apps/app_zapscan.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_zapscan.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/apps/app_zapscan.c (original)
+++ trunk/apps/app_zapscan.c Mon Jul 16 08:35:20 2007
@@ -363,13 +363,7 @@
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(app);
}
static int load_module(void)
Modified: trunk/funcs/func_blacklist.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_blacklist.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/funcs/func_blacklist.c (original)
+++ trunk/funcs/func_blacklist.c Mon Jul 16 08:35:20 2007
@@ -75,9 +75,7 @@
static int unload_module(void)
{
- int res = ast_custom_function_unregister(&blacklist_function);
- ast_module_user_hangup_all();
- return res;
+ return ast_custom_function_unregister(&blacklist_function);
}
static int load_module(void)
Modified: trunk/funcs/func_curl.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_curl.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/funcs/func_curl.c (original)
+++ trunk/funcs/func_curl.c Mon Jul 16 08:35:20 2007
@@ -187,8 +187,6 @@
res = ast_custom_function_unregister(&acf_curl);
- ast_module_user_hangup_all();
-
curl_global_cleanup();
return res;
Modified: trunk/funcs/func_cut.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_cut.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/funcs/func_cut.c (original)
+++ trunk/funcs/func_cut.c Mon Jul 16 08:35:20 2007
@@ -306,8 +306,6 @@
res |= ast_custom_function_unregister(&acf_cut);
res |= ast_custom_function_unregister(&acf_sort);
- ast_module_user_hangup_all();
-
return res;
}
Modified: trunk/funcs/func_enum.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_enum.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/funcs/func_enum.c (original)
+++ trunk/funcs/func_enum.c Mon Jul 16 08:35:20 2007
@@ -392,8 +392,6 @@
res |= ast_custom_function_unregister(&enum_function);
res |= ast_custom_function_unregister(&txtcidname_function);
- ast_module_user_hangup_all();
-
return res;
}
Modified: trunk/funcs/func_realtime.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_realtime.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/funcs/func_realtime.c (original)
+++ trunk/funcs/func_realtime.c Mon Jul 16 08:35:20 2007
@@ -148,18 +148,12 @@
static int unload_module(void)
{
- int res = ast_custom_function_unregister(&realtime_function);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_custom_function_unregister(&realtime_function);
}
static int load_module(void)
{
- int res = ast_custom_function_register(&realtime_function);
-
- return res;
+ return ast_custom_function_register(&realtime_function);
}
AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Read/Write values from a RealTime repository");
Modified: trunk/funcs/func_vmcount.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_vmcount.c?view=diff&rev=75183&r1=75182&r2=75183
==============================================================================
--- trunk/funcs/func_vmcount.c (original)
+++ trunk/funcs/func_vmcount.c Mon Jul 16 08:35:20 2007
@@ -90,10 +90,7 @@
static int unload_module(void)
{
- int res = ast_custom_function_unregister(&acf_vmcount);
- ast_module_user_hangup_all();
-
- return res;
+ return ast_custom_function_unregister(&acf_vmcount);
}
static int load_module(void)
Modified: trunk/res/res_agi.c
[... 71 lines stripped ...]
More information about the asterisk-commits
mailing list