FSCORE-508

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15799 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-12-04 23:21:51 +00:00
parent f7ad9df843
commit ceb68513b0
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ static void switch_core_standard_on_execute(switch_core_session_t *session)
}
if (switch_channel_get_state(session->channel) == CS_EXECUTE) {
if (switch_channel_ready(session->channel) && switch_channel_get_state(session->channel) == CS_EXECUTE) {
switch_channel_hangup(session->channel, SWITCH_CAUSE_NORMAL_CLEARING);
}
}