diff --git a/src/mod/languages/mod_managed/managed/ManagedSession.cs b/src/mod/languages/mod_managed/managed/ManagedSession.cs index fadbd6bd3f..2de49d1bdb 100644 --- a/src/mod/languages/mod_managed/managed/ManagedSession.cs +++ b/src/mod/languages/mod_managed/managed/ManagedSession.cs @@ -61,7 +61,7 @@ namespace FreeSWITCH.Native InitManagedSession(ManagedSession.getCPtr(this).Handle, inputCallback, hangupCallback); } DtmfCallback _inputCallbackRef; - Action _hangupCallback; + CdeclAction _hangupCallback; /// Function to execute when this session hangs up. public Action HangupFunction { get; set; }