FSCORE-508
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15799 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f7ad9df843
commit
ceb68513b0
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue