]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update core
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 22 Aug 2006 18:29:00 +0000 (18:29 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 22 Aug 2006 18:29:00 +0000 (18:29 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2361 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_bridgecall/mod_bridgecall.c
src/switch_ivr.c

index cc18d87d63f09b7b0c80bfcaba5aee966d26a5e1..b4da03930c564b43f9d1110b32c777089e700550 100644 (file)
@@ -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);
        }
 }
index fbdfdeb85851adc63a90513f8fbedd33f761c5fe..6ec076db25ac212b0541fba038279b27d04b0844 100644 (file)
@@ -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");