[Freeswitch-users] Help with mod_managed under Windows

Michael Jerris mike at jerris.com
Tue Apr 21 16:01:52 PDT 2009


Could you translate these into english?

On Apr 21, 2009, at 7:08 AM, Guido Kuth wrote:

> I am playing around with FS (Windows) for one month now. First I  
> tried using FreeSwitch.NET which is a good class library for inbound  
> event socket. Unfortunatley it can't be used for outbound event  
> socket. So I read the wiki back ond forth and also searched the net  
> and found that I should use mod_managed.
>
> So I downloaded mod_managed in source from svn and compiled it with  
> C# 2008 Express Edition. After that I got a dll.  
> FreeSwitch.Managed.dll and copied it to the mod dir of FS. The  
> Problem is that I get and error when FS loads mod_managed and I  
> don't know what I should do with that.
>
> 2009-04-21 11:26:44 [INFO] mod_managed.cpp:314 mod_managed_load()  
> Loading mod_ma
> naged (Common Language Infrastructure), Microsoft CLR Version
> 2009-04-21 11:26:44 [ERR] mod_managed.cpp:333 mod_managed_load()  
> Load did not re
> turn true. System.Reflection.TargetInvocationException: Ein  
> Aufrufziel hat einen
>  Ausnahmefehler verursacht. ---> System.TypeInitializationException:  
> Der Typenin
> itialisierer f³r "FreeSWITCH.Native.freeswitch" hat eine Ausnahme  
> verursacht. --
> -> System.EntryPointNotFoundException: Der Einstiegspunkt  
> "CSharp_SWITCH_READ_TE
> RMINATOR_USED_VARIABLE_get" wurde nicht in der DLL "mod_managed"  
> gefunden.
>    bei  
> FreeSWITCH 
> .Native.freeswitchPINVOKE.SWITCH_READ_TERMINATOR_USED_VARIABLE_
> get()
>    bei FreeSWITCH.Native.freeswitch..cctor()
>    --- Ende der internen Ausnahmestapel³berwachung ---
>    bei FreeSWITCH.Native.freeswitch.get_SWITCH_GLOBAL_dirs()
>    bei FreeSWITCH.Loader.Load()
>    --- Ende der internen Ausnahmestapel³berwachung ---
>    bei System.RuntimeMethodHandle._InvokeMethodFast(Object target,  
> Object[] argu
> ments, SignatureStruct& sig, MethodAttributes methodAttributes,  
> RuntimeTypeHandl
> e typeOwner)
>    bei System.RuntimeMethodHandle.InvokeMethodFast(Object target,  
> Object[] argum
> ents, Signature sig, MethodAttributes methodAttributes,  
> RuntimeTypeHandle typeOw
> ner)
>    bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj,  
> BindingFlags invok
> eAttr, Binder binder, Object[] parameters, CultureInfo culture,  
> Boolean skipVisi
> bilityChecks)
>    bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj,  
> BindingFlags invok
> eAttr, Binder binder, Object[] parameters, CultureInfo culture)
>    bei mod_managed_load(switch_loadable_module_interface**  
> module_interface, apr
> _pool_t* pool)
> 2009-04-21 11:26:44 [CRIT] switch_loadable_module.c:845  
> switch_loadable_module_l
> oad_file() Error Loading module C:\Programme\FreeSWITCH\mod 
> \mod_managed.dll
> **Module load routine returned an error**
> Please help me with that.
>
> Thanks...Guido

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090421/bd43ad42/attachment-0002.html 


More information about the FreeSWITCH-users mailing list