fix win32 build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13178 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a802976818
commit
4ce06aa5d1
|
@ -573,6 +573,7 @@ SWITCH_DECLARE(void) switch_core_session_reporting_state(switch_core_session_t *
|
|||
int do_extra_handlers = 1;
|
||||
int silly = 0;
|
||||
int index = 0;
|
||||
const char *var = switch_channel_get_variable(session->channel, SWITCH_PROCESS_CDR_VARIABLE);
|
||||
|
||||
if (switch_channel_test_flag(session->channel, CF_REPORTING)) {
|
||||
return;
|
||||
|
@ -589,9 +590,6 @@ SWITCH_DECLARE(void) switch_core_session_reporting_state(switch_core_session_t *
|
|||
driver_state_handler = endpoint_interface->state_handler;
|
||||
switch_assert(driver_state_handler != NULL);
|
||||
|
||||
|
||||
const char *var = switch_channel_get_variable(session->channel, SWITCH_PROCESS_CDR_VARIABLE);
|
||||
|
||||
if (!switch_strlen_zero(var)) {
|
||||
if (!strcasecmp(var, "a_only")) {
|
||||
if (switch_channel_get_originator_caller_profile(session->channel)) {
|
||||
|
|
Loading…
Reference in New Issue