mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-20 00:08:33 +00:00
FS-4738 --resolve
This commit is contained in:
1 parent
5eedbb5052
commit
fe7580b13d
1 file changed
+1
@@ -1288,6 +1288,7 @@ SWITCH_DECLARE_NONSTD(switch_status_t) hanguphook(switch_core_session_t *session
|
||||
|
||||
if ((coresession = (CoreSession *) switch_channel_get_private(channel, "CoreSession"))) {
|
||||
if (coresession->hook_state != state) {
|
||||
coresession->cause = switch_channel_get_cause(channel);
|
||||
coresession->hook_state = state;
|
||||
coresession->check_hangup_hook();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user