]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix DllNotFound for mod_managed.
authorMichael Giagnocavo <mgg@giagnocavo.net>
Tue, 1 Nov 2011 23:22:05 +0000 (17:22 -0600)
committerMichael Giagnocavo <mgg@giagnocavo.net>
Tue, 1 Nov 2011 23:22:39 +0000 (17:22 -0600)
src/mod/languages/mod_managed/managed/ManagedSession.cs

index 26f04b9935852d3ecd8c78e20dccb34267f651b8..07832ae102a6eec2d2efabe9120b759775dabb54 100644 (file)
@@ -50,7 +50,7 @@ namespace FreeSWITCH.Native
     public partial class ManagedSession\r
     {\r
         // SWITCH_DECLARE(void) InitManagedSession(ManagedSession *session, MonoObject *dtmfDelegate, MonoObject *hangupDelegate)\r
-        [DllImport("mod_managed.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)]\r
+        [DllImport("mod_managed", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)]\r
         static extern void InitManagedSession(IntPtr sessionPtr, DtmfCallback dtmfDelegate, CdeclAction hangupDelegate);\r
 \r
         /// <summary>Initializes the native ManagedSession. Called after Originate completes successfully .</summary>\r