]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 21 Nov 2008 18:00:15 +0000 (18:00 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 21 Nov 2008 18:00:15 +0000 (18:00 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10501 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_bridge.c

index 486dbe2a73871b60cec9277fc3e1f31cd6728f6a..696cd1557ede3a93b28ce4395bbaa68f07bea91a 100644 (file)
@@ -484,7 +484,7 @@ static switch_status_t audio_bridge_on_exchange_media(switch_core_session_t *ses
                }
        }
 
-       if (switch_channel_get_state(channel) < CS_HANGUP) {
+       if (switch_channel_get_state(channel) == CS_EXCHANGE_MEDIA) {
                switch_channel_set_state(channel, CS_RESET);
        }