提交 4ce06aa5 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix win32 build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13178 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a8029768
......@@ -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)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论