tweak to confirm blind transfer patch

This commit is contained in:
Anthony Minessale committed 2012-05-08 19:33:53 -05:00
1 parent d82a38dfd6
commit f106c18f51
4 files changed
+32 -18

No files matched your search

+5 -2
View File
@@ -174,8 +174,11 @@ static void switch_core_standard_on_routing(switch_core_session_t *session)
}
if (!extension) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "No Route, Aborting\n");
switch_channel_hangup(session->channel, SWITCH_CAUSE_NO_ROUTE_DESTINATION);
if (switch_ivr_blind_transfer_ack(session, SWITCH_FALSE) != SWITCH_STATUS_SUCCESS) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "No Route, Aborting\n");
switch_channel_hangup(session->channel, SWITCH_CAUSE_NO_ROUTE_DESTINATION);
}
}
end: