mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
fix some bypass xfer scenarios
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15326 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -77,6 +77,10 @@ static void switch_core_standard_on_routing(switch_core_session_t *session)
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s Standard ROUTING\n", switch_channel_get_name(session->channel));
|
||||
|
||||
if (switch_channel_test_flag(session->channel, CF_PROXY_MODE)) {
|
||||
switch_ivr_media(session->uuid_str, SMF_NONE);
|
||||
}
|
||||
|
||||
if ((caller_profile = switch_channel_get_caller_profile(session->channel)) == 0) {
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Can't get profile!\n");
|
||||
switch_channel_hangup(session->channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
|
||||
|
Reference in New Issue
Block a user