mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
FS-4591 --resolve
This commit is contained in:
@@ -145,6 +145,8 @@ namespace FreeSWITCH.Native
|
||||
switch_state_handler_t_delegate del = ptr => {
|
||||
using (var sess = new ManagedSession(new SWIGTYPE_p_switch_core_session(ptr, false))) {
|
||||
handler(sess);
|
||||
sess.setAutoHangup(false);
|
||||
sess.destroy();
|
||||
return switch_status_t.SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user