mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 06:34:19 +00:00
tweak to confirm blind transfer patch
This commit is contained in:
1 parent
d82a38dfd6
commit
f106c18f51
4 files changed
+32
-18
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user