tweak on calle[re] id

This commit is contained in:
Anthony Minessale
2010-12-16 16:03:05 -06:00
parent 7b1de56baa
commit 9db4a8265c
2 changed files with 3 additions and 3 deletions

View File

@@ -123,9 +123,7 @@ static void switch_core_standard_on_routing(switch_core_session_t *session)
}
}
if (count) {
switch_channel_set_flag(session->channel, CF_DIALPLAN);
} else {
if (!count) {
if (switch_channel_direction(session->channel) == SWITCH_CALL_DIRECTION_OUTBOUND) {
if (switch_channel_test_flag(session->channel, CF_ANSWERED)) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG,