mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FSCORE-508
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15799 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user