]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorMichael Jerris <mike@jerris.com>
Sat, 11 Oct 2008 20:55:26 +0000 (20:55 +0000)
committerMichael Jerris <mike@jerris.com>
Sat, 11 Oct 2008 20:55:26 +0000 (20:55 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9969 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_bridge.c

index 52f93b33d2c300f2773b09004580dec6b99ea44b..8d014b14055e70a7702b6736e3d0599a4932ecee 100644 (file)
@@ -455,7 +455,7 @@ static switch_status_t audio_bridge_on_exchange_media(switch_core_session_t *ses
 
        state = switch_channel_get_state(channel);
 
-       if (!switch_channel_test_flag(channel, CF_TRANSFER) && !bd->clean_exit && state != CS_PARK && 
+       if (!switch_channel_test_flag(channel, CF_TRANSFER) && bd && !bd->clean_exit && state != CS_PARK && 
                state != CS_ROUTING && !switch_channel_test_flag(channel, CF_INNER_BRIDGE)) {
                switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
        }