[asterisk-addons-commits] anthonyl: trunk r284 - in /trunk: ./ asterisk-ooh323c/src/ format_mp3/

asterisk-addons-commits at lists.digium.com asterisk-addons-commits at lists.digium.com
Thu Aug 31 12:03:23 MST 2006


Author: anthonyl
Date: Thu Aug 31 14:03:23 2006
New Revision: 284

URL: http://svn.digium.com/view/asterisk-addons?rev=284&view=rev
Log:
updating asteriskaddons

Modified:
    trunk/app_addon_sql_mysql.c
    trunk/app_saycountpl.c
    trunk/asterisk-ooh323c/src/chan_h323.c
    trunk/cdr_addon_mysql.c
    trunk/format_mp3/format_mp3.c
    trunk/res_config_mysql.c

Modified: trunk/app_addon_sql_mysql.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/app_addon_sql_mysql.c?rev=284&r1=283&r2=284&view=diff
==============================================================================
--- trunk/app_addon_sql_mysql.c (original)
+++ trunk/app_addon_sql_mysql.c Thu Aug 31 14:03:23 2006
@@ -12,7 +12,7 @@
  * the GNU General Public License
  */
 
-#include <asterisk.h>
+#include <asterisk/asterisk.h>
 
 #include <stdlib.h>
 #include <unistd.h>
@@ -417,7 +417,6 @@
 
 static int unload_module(void *mod)
 {
-	STANDARD_HANGUP_LOCALUSERS;
 	return ast_unregister_application(app);
 }
 

Modified: trunk/app_saycountpl.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/app_saycountpl.c?rev=284&r1=283&r2=284&view=diff
==============================================================================
--- trunk/app_saycountpl.c (original)
+++ trunk/app_saycountpl.c Thu Aug 31 14:03:23 2006
@@ -7,8 +7,7 @@
  *
  */
 
-#include <asterisk.h>
-
+#include <asterisk/asterisk.h>
 #include <stdio.h>
 #include <asterisk/file.h>
 #include <asterisk/logger.h>
@@ -116,7 +115,7 @@
 
 static int unload_module(void *mod)
 {
-	STANDARD_HANGUP_LOCALUSERS;
+	ast_module_user_hangup_all(); 
 	return ast_unregister_application(app);
 }
 

Modified: trunk/asterisk-ooh323c/src/chan_h323.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/asterisk-ooh323c/src/chan_h323.c?rev=284&r1=283&r2=284&view=diff
==============================================================================
--- trunk/asterisk-ooh323c/src/chan_h323.c (original)
+++ trunk/asterisk-ooh323c/src/chan_h323.c Thu Aug 31 14:03:23 2006
@@ -3188,4 +3188,4 @@
    ooGkClientDestroy();
 }
 
-STD_MOD(MOD_0, reload, NULL, NULL);
+/* STD_MOD(MOD_0, reload, NULL, NULL); */

Modified: trunk/cdr_addon_mysql.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/cdr_addon_mysql.c?rev=284&r1=283&r2=284&view=diff
==============================================================================
--- trunk/cdr_addon_mysql.c (original)
+++ trunk/cdr_addon_mysql.c Thu Aug 31 14:03:23 2006
@@ -19,7 +19,7 @@
  *
  */
 
-#include <asterisk.h>
+#include <asterisk/asterisk.h>
 
 #include <sys/types.h>
 #include <asterisk/config.h>
@@ -483,4 +483,3 @@
 	return ASTERISK_GPL_KEY;
 }
 
-STD_MOD(MOD_0, reload, NULL, NULL);

Modified: trunk/format_mp3/format_mp3.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/format_mp3/format_mp3.c?rev=284&r1=283&r2=284&view=diff
==============================================================================
--- trunk/format_mp3/format_mp3.c (original)
+++ trunk/format_mp3/format_mp3.c Thu Aug 31 14:03:23 2006
@@ -319,7 +319,6 @@
 	.getcomment = mp3_getcomment,
 	.buf_size = MP3_BUFLEN + AST_FRIENDLY_OFFSET,
 	.desc_size = sizeof(struct mp3_private),
-	.module = &mod_data,
 };
 
 

Modified: trunk/res_config_mysql.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/res_config_mysql.c?rev=284&r1=283&r2=284&view=diff
==============================================================================
--- trunk/res_config_mysql.c (original)
+++ trunk/res_config_mysql.c Thu Aug 31 14:03:23 2006
@@ -38,7 +38,7 @@
  *                       Code beautification (doc/CODING-GUIDELINES)
  */
 
-#include <asterisk.h>
+#include <asterisk/asterisk.h>
 
 #include <asterisk/channel.h>
 #include <asterisk/logger.h>
@@ -501,7 +501,6 @@
 		ast_verbose("MySQL RealTime unloaded.\n");
 	}
 
-	STANDARD_HANGUP_LOCALUSERS;
 
 	/* Unlock so something else can destroy the lock. */
 	ast_mutex_unlock(&mysql_lock);
@@ -701,4 +700,3 @@
 	}
 }
 
-STD_MOD(MOD_0, reload, NULL, NULL);



More information about the asterisk-addons-commits mailing list