[Freeswitch-svn] [commit] r9762 - freeswitch/trunk/src/mod/event_handlers/mod_cdr_csv
Freeswitch SVN
anthm at freeswitch.org
Tue Sep 30 14:20:39 EDT 2008
Author: anthm
Date: Tue Sep 30 14:20:38 2008
New Revision: 9762
Modified:
freeswitch/trunk/src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c
Log:
up
Modified: freeswitch/trunk/src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c
==============================================================================
--- freeswitch/trunk/src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c (original)
+++ freeswitch/trunk/src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c Tue Sep 30 14:20:38 2008
@@ -215,6 +215,10 @@
if ((accountcode = switch_channel_get_variable(channel, "ACCOUNTCODE"))) {
a_template_str = (const char *) switch_core_hash_find(globals.template_hash, accountcode);
}
+
+ if (!g_template_str) {
+ g_template_str = "\"${accountcode}\",\"${caller_id_number}\",\"${destination_number}\",\"${context}\",\"${caller_id}\",\"${channel_name}\",\"${bridge_channel}\",\"${last_app}\",\"${last_arg}\",\"${start_stamp}\",\"${answer_stamp}\",\"${end_stamp}\",\"${duration}\",\"${billsec}\",\"${hangup_cause}\",\"${amaflags}\",\"${uuid}\",\"${userfield}\";";
+ }
if (!a_template_str) {
a_template_str = g_template_str;
More information about the Freeswitch-svn
mailing list