update core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2361 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
326e36e72d
commit
da727681fc
|
@ -55,7 +55,6 @@ static void audio_bridge_function(switch_core_session_t *session, char *data)
|
|||
switch_channel_hangup(caller_channel, SWITCH_CAUSE_REQUESTED_CHAN_UNAVAIL);
|
||||
return;
|
||||
} else {
|
||||
/* peer channel is read locked now the bridge func will unlock it for us */
|
||||
switch_ivr_multi_threaded_bridge(session, peer_session, NULL, NULL, NULL);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1560,7 +1560,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
|||
}
|
||||
|
||||
if (switch_channel_test_flag(peer_channel, CF_ANSWERED) || switch_channel_test_flag(peer_channel, CF_EARLY_MEDIA)) {
|
||||
switch_core_session_read_lock(peer_session);
|
||||
*bleg = peer_session;
|
||||
if (caller_channel) {
|
||||
switch_channel_set_variable(caller_channel, "originate_disposition", "call accepted");
|
||||
|
|
Loading…
Reference in New Issue