[asterisk-commits] juggie: branch juggie/NoLossCDR r82586 - /team/juggie/NoLossCDR/cdr/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 17 10:32:25 CDT 2007


Author: juggie
Date: Mon Sep 17 10:32:24 2007
New Revision: 82586

URL: http://svn.digium.com/view/asterisk?view=rev&rev=82586
Log:
couple of minor fixes

Modified:
    team/juggie/NoLossCDR/cdr/cdr_custom.c
    team/juggie/NoLossCDR/cdr/cdr_manager.c
    team/juggie/NoLossCDR/cdr/cdr_odbc.c
    team/juggie/NoLossCDR/cdr/cdr_pgsql.c
    team/juggie/NoLossCDR/cdr/cdr_sqlite3_custom.c

Modified: team/juggie/NoLossCDR/cdr/cdr_custom.c
URL: http://svn.digium.com/view/asterisk/team/juggie/NoLossCDR/cdr/cdr_custom.c?view=diff&rev=82586&r1=82585&r2=82586
==============================================================================
--- team/juggie/NoLossCDR/cdr/cdr_custom.c (original)
+++ team/juggie/NoLossCDR/cdr/cdr_custom.c Mon Sep 17 10:32:24 2007
@@ -155,7 +155,7 @@
 	int res = 0;
 
 	if (!load_config(0)) {
-		res = ast_cdr_register(name, NULL, ast_module_info->description, custom_log, NULL);
+		res = ast_cdr_register(name, NULL, ast_module_info->description, custom_log, NULL, NULL);
 		if (res)
 			ast_log(LOG_ERROR, "Unable to register custom CDR handling\n");
 		if (mf)

Modified: team/juggie/NoLossCDR/cdr/cdr_manager.c
URL: http://svn.digium.com/view/asterisk/team/juggie/NoLossCDR/cdr/cdr_manager.c?view=diff&rev=82586&r1=82585&r2=82586
==============================================================================
--- team/juggie/NoLossCDR/cdr/cdr_manager.c (original)
+++ team/juggie/NoLossCDR/cdr/cdr_manager.c Mon Sep 17 10:32:24 2007
@@ -184,7 +184,7 @@
 	if (!load_config(0))
 		return AST_MODULE_LOAD_DECLINE;
 	
-	res = ast_cdr_register(name, NULL, "Asterisk Manager Interface CDR Backend", manager_log, NULL);
+	res = ast_cdr_register(name, NULL, "Asterisk Manager Interface CDR Backend", manager_log, NULL, NULL);
 	if (res) {
 		ast_log(LOG_ERROR, "Unable to register Asterisk Call Manager CDR handling\n");
 	}

Modified: team/juggie/NoLossCDR/cdr/cdr_odbc.c
URL: http://svn.digium.com/view/asterisk/team/juggie/NoLossCDR/cdr/cdr_odbc.c?view=diff&rev=82586&r1=82585&r2=82586
==============================================================================
--- team/juggie/NoLossCDR/cdr/cdr_odbc.c (original)
+++ team/juggie/NoLossCDR/cdr/cdr_odbc.c Mon Sep 17 10:32:24 2007
@@ -339,7 +339,7 @@
 		ast_log(LOG_ERROR, "cdr_odbc: Unable to connect to datasource: %s\n", dsn);
 		ast_verb(3, "cdr_odbc: Unable to connect to datasource: %s\n", dsn);
 		}
-	res = ast_cdr_register(name, NULL, ast_module_info->description, odbc_log, NULL);
+	res = ast_cdr_register(name, NULL, ast_module_info->description, odbc_log, NULL, NULL);
 	if (res) {
 		ast_log(LOG_ERROR, "cdr_odbc: Unable to register ODBC CDR handling\n");
 	}

Modified: team/juggie/NoLossCDR/cdr/cdr_pgsql.c
URL: http://svn.digium.com/view/asterisk/team/juggie/NoLossCDR/cdr/cdr_pgsql.c?view=diff&rev=82586&r1=82585&r2=82586
==============================================================================
--- team/juggie/NoLossCDR/cdr/cdr_pgsql.c (original)
+++ team/juggie/NoLossCDR/cdr/cdr_pgsql.c Mon Sep 17 10:32:24 2007
@@ -302,7 +302,7 @@
 		connected = 0;
 	}
 
-	return ast_cdr_register(name, NULL, ast_module_info->description, pgsql_log, NULL);
+	return ast_cdr_register(name, NULL, ast_module_info->description, pgsql_log, NULL, NULL);
 }
 
 static int load_module(void)

Modified: team/juggie/NoLossCDR/cdr/cdr_sqlite3_custom.c
URL: http://svn.digium.com/view/asterisk/team/juggie/NoLossCDR/cdr/cdr_sqlite3_custom.c?view=diff&rev=82586&r1=82585&r2=82586
==============================================================================
--- team/juggie/NoLossCDR/cdr/cdr_sqlite3_custom.c (original)
+++ team/juggie/NoLossCDR/cdr/cdr_sqlite3_custom.c Mon Sep 17 10:32:24 2007
@@ -204,7 +204,7 @@
 	char *sql_cmd;
 
 	if (!load_config(0)) {
-		res = ast_cdr_register(name, NULL, desc, sqlite3_log, NULL);
+		res = ast_cdr_register(name, NULL, desc, sqlite3_log, NULL, NULL);
 		if (res) {
 			ast_log(LOG_ERROR, "%s: Unable to register custom SQLite3 CDR handling\n", name);
 			return AST_MODULE_LOAD_DECLINE;




More information about the asterisk-commits mailing list