From 4fbd1ef83a6b300d0e638fab0d87a79a71656360 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 29 May 2008 21:46:49 +0000 Subject: [PATCH] legs option to cdr_csv doh git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8726 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c b/src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c index bb9d01c7c2..d976f8a151 100644 --- a/src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c +++ b/src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c @@ -172,7 +172,7 @@ static switch_status_t my_on_hangup(switch_core_session_t *session) 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;