mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +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:
1 parent
1f820b1c1e
commit
abde08febc
2 files changed
+14
-9
No files matched your search
@@ -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