fix double sessions on auth challenged calls

This commit is contained in:
Anthony Minessale committed 2012-08-29 10:38:37 -05:00
1 parent edad5d3348
commit 3c685bff25
5 files changed
+47 -9

No files matched your search

+5
View File
@@ -697,6 +697,11 @@ SWITCH_DECLARE(void) switch_core_session_reporting_state(switch_core_session_t *
}
}
if (switch_channel_test_flag(session->channel, CF_NO_CDR)) {
do_extra_handlers = 0;
}
STATE_MACRO(reporting, "REPORTING");
if ((hook_var = switch_channel_get_variable(session->channel, SWITCH_API_REPORTING_HOOK_VARIABLE))) {