[Freeswitch-svn] [commit] r8726 - freeswitch/trunk/src/mod/event_handlers/mod_cdr_csv

Freeswitch SVN anthm at freeswitch.org
Thu May 29 17:46:49 EDT 2008


Author: anthm
Date: Thu May 29 17:46:49 2008
New Revision: 8726

Modified:
   freeswitch/trunk/src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c

Log:
legs option to cdr_csv doh

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	Thu May 29 17:46:49 2008
@@ -172,7 +172,7 @@
 	const char *log_dir = NULL, *accountcode = NULL, *a_template_str = NULL, *g_template_str = NULL;
 	char *log_line, *path = NULL;
 
-	if (!((globals.legs && CDR_LEG_A) && (globals.legs & CDR_LEG_B))) {
+	if (!((globals.legs & CDR_LEG_A) && (globals.legs & CDR_LEG_B))) {
 		if ((globals.legs && CDR_LEG_A)) {
 			if (switch_channel_get_originator_caller_profile(channel)) {
 				return SWITCH_STATUS_SUCCESS;



More information about the Freeswitch-svn mailing list