[Freeswitch-users] Help with mod_managed under Windows

2009-04-21 Thread Guido Kuth
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
___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Help with mod_managed under Windows

2009-04-21 Thread Michael Jerris

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


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Help with mod_managed under Windows

2009-04-21 Thread David Knell
Google can:
http://tinyurl.com/dyvknb

- the bit that's being complained about is
"FreeSWITCH.Native.freeswitch" has caused an exception. -- 
-> System.EntryPointNotFoundException: The entry point
"CSharp_SWITCH_READ_TERMINATOR_USED_VARIABLE_get" was not found in the
DLL "mod_managed".

--Dave

> 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
> 
> 
> ___
> Freeswitch-users mailing list
> Freeswitch-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Help with mod_managed under Windows

2009-04-21 Thread Michael Jerris
I think our swig wrapper code was out of date with an api change, try  
with svn revision 13112.


Mike

On Apr 21, 2009, at 7:20 PM, David Knell wrote:


Google can:
http://tinyurl.com/dyvknb

- the bit that's being complained about is
"FreeSWITCH.Native.freeswitch" has caused an exception. --
-> System.EntryPointNotFoundException: The entry point
"CSharp_SWITCH_READ_TERMINATOR_USED_VARIABLE_get" was not found in the
DLL "mod_managed".

--Dave


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-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org