add CF_DIALPLAN

This commit is contained in:
Anthony Minessale committed 2010-12-16 09:45:43 -06:00
1 parent 43393f26d1
commit 3ff07445d4
3 files changed
+5 -2

No files matched your search

+3 -1
View File
@@ -123,7 +123,9 @@ static void switch_core_standard_on_routing(switch_core_session_t *session)
}
}
if (!count) {
if (count) {
switch_channel_set_flag(session->channel, CF_DIALPLAN);
} else {
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,