mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-26 19:57:42 +00:00
legs option to cdr_csv doh2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8727 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
4fbd1ef83a
commit
775aee2a31
@ -173,7 +173,7 @@ static switch_status_t my_on_hangup(switch_core_session_t *session)
|
|||||||
char *log_line, *path = 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 ((globals.legs & CDR_LEG_A)) {
|
||||||
if (switch_channel_get_originator_caller_profile(channel)) {
|
if (switch_channel_get_originator_caller_profile(channel)) {
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user