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

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


Author: anthm
Date: Thu May 29 17:49:01 2008
New Revision: 8727

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

Log:
legs option to cdr_csv doh2

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:49:01 2008
@@ -173,7 +173,7 @@
 	char *log_line, *path = NULL;
 
 	if (!((globals.legs & CDR_LEG_A) && (globals.legs & CDR_LEG_B))) {
-		if ((globals.legs && CDR_LEG_A)) {
+		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