mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 08:14:13 +00:00
move callstate changes down to take place after the core states have run
This commit is contained in:
1 parent
08e28d46b4
commit
8adeab7d5a
3 files changed
+18
-5
No files matched your search
@@ -684,6 +684,7 @@ SWITCH_DECLARE(void) switch_core_session_hangup_state(switch_core_session_t *ses
|
||||
api_hook(session, hook_var, use_session);
|
||||
}
|
||||
|
||||
switch_channel_set_callstate(session->channel, CCS_HANGUP);
|
||||
switch_set_flag(session, SSF_HANGUP);
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user