From 5bed1b0c2da38d96dfad8ec3b026cd7391cd02e1 Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 17 Nov 2016 14:18:47 -0600 Subject: [PATCH] FS-9755 conference cdr is required for 4579 support in mod_conference --- src/mod/applications/mod_conference/conference_cdr.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mod/applications/mod_conference/conference_cdr.c b/src/mod/applications/mod_conference/conference_cdr.c index 36938cb22c..35e03593e6 100644 --- a/src/mod/applications/mod_conference/conference_cdr.c +++ b/src/mod/applications/mod_conference/conference_cdr.c @@ -506,7 +506,11 @@ void conference_cdr_add(conference_member_t *member) switch_caller_profile_t *cp; switch_channel_t *channel; - if (zstr(member->conference->log_dir) && (member->conference->cdr_event_mode == CDRE_NONE)) return; + if (zstr(member->conference->log_dir) && + (member->conference->cdr_event_mode == CDRE_NONE) && + !conference_utils_test_flag(member->conference, CFLAG_RFC4579)) { + return; + } np = switch_core_alloc(member->conference->pool, sizeof(*np));