mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
fix internal state machine session yuckyness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@598 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -274,7 +274,7 @@ SWITCH_DECLARE(switch_channel_state) switch_channel_set_state(switch_channel *ch
|
||||
return state;
|
||||
}
|
||||
|
||||
if (last_state >= CS_HANGUP) {
|
||||
if (last_state >= CS_HANGUP && state < last_state) {
|
||||
return last_state;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user