forked from Mirrors/freeswitch
legs option to cdr_csv doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8726 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e1250f58b5
commit
4fbd1ef83a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user