diff --git a/src/mod/languages/mod_managed/managed/ManagedSession.cs b/src/mod/languages/mod_managed/managed/ManagedSession.cs index 0bf28468af..9629215c70 100644 --- a/src/mod/languages/mod_managed/managed/ManagedSession.cs +++ b/src/mod/languages/mod_managed/managed/ManagedSession.cs @@ -145,7 +145,7 @@ 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.SetAutoHangup(false); sess.destroy(); return switch_status_t.SWITCH_STATUS_SUCCESS; }