*** cdr/cdr_sqlite3_custom.c.orig Fri Sep 10 09:51:30 2010 --- cdr/cdr_sqlite3_custom.c Fri Sep 10 09:32:11 2010 *************** *** 226,232 **** ast_free(value); } ! static int sqlite3_log(struct ast_cdr *cdr) { int res = 0; char *error = NULL; --- 226,232 ---- ast_free(value); } ! static int write_cdr(struct ast_cdr *cdr) { int res = 0; char *error = NULL; *************** *** 329,335 **** } } ! res = ast_cdr_register(name, desc, sqlite3_log); if (res) { ast_log(LOG_ERROR, "Unable to register custom SQLite3 CDR handling\n"); free_config(0); --- 329,335 ---- } } ! res = ast_cdr_register(name, desc, write_cdr); if (res) { ast_log(LOG_ERROR, "Unable to register custom SQLite3 CDR handling\n"); free_config(0);