Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Help with mod_managed under Windows


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
gk at exram.de
Guest





PostPosted: Tue Apr 21, 2009 6:16 am    Post subject: [Freeswitch-users] Help with mod_managed under Windows Reply with quote

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_managed (Common Language Infrastructure), Microsoft CLR Version2009-04-21 11:26:44 [ERR] mod_managed.cpp:333 mod_managed_load() Load did not return true. System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.TypeInitializationException: Der Typeninitialisierer f³r "FreeSWITCH.Native.freeswitch" hat eine Ausnahme verursacht. ---> System.EntryPointNotFoundException: Der Einstiegspunkt "CSharp_SWITCH_READ_TERMINATOR_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[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) bei System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, 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_load_file() Error Loading module C:\Programme\FreeSWITCH\mod\mod_managed.dll**Module load routine returned an error** Please help me with that. Thanks...Guido
Back to top
mike at jerris.com
Guest





PostPosted: Tue Apr 21, 2009 6:11 pm    Post subject: [Freeswitch-users] Help with mod_managed under Windows Reply with quote

Could you translate these into english?
On Apr 21, 2009, at 7:08 AM, Guido Kuth wrote:
Quote:
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

Back to top
dave at 3c.co.uk
Guest





PostPosted: Tue Apr 21, 2009 6:21 pm    Post subject: [Freeswitch-users] Help with mod_managed under Windows Reply with quote

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

Quote:
Could you translate these into english?

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

Quote:
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
Back to top
mike at jerris.com
Guest





PostPosted: Tue Apr 21, 2009 6:29 pm    Post subject: [Freeswitch-users] Help with mod_managed under Windows Reply with quote

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:
Quote:
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

Quote:
Could you translate these into english?

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

Quote:
I am playing around with FS (Windows) for one month now. First I
Quote:
tried using FreeSwitch.NET which is a good class library for inbound
Quote:
event socket. Unfortunatley it can't be used for outbound event
Quote:
socket. So I read the wiki back ond forth and also searched the net
Quote:
and found that I should use mod_managed.
Quote:
So I downloaded mod_managed in source from svn and compiled it with
Quote:
C# 2008 Express Edition. After that I got a dll.
Quote:
FreeSwitch.Managed.dll and copied it to the mod dir of FS. The
Quote:
Problem is that I get and error when FS loads mod_managed and I
Quote:
don't know what I should do with that.
Quote:
2009-04-21 11:26:44 [INFO] mod_managed.cpp:314 mod_managed_load()
Quote:
Loading mod_ma
Quote:
naged (Common Language Infrastructure), Microsoft CLR Version
Quote:
2009-04-21 11:26:44 [ERR] mod_managed.cpp:333 mod_managed_load()
Quote:
Load did not re
Quote:
turn true. System.Reflection.TargetInvocationException: Ein
Quote:
Aufrufziel hat einen
Quote:
Ausnahmefehler verursacht. ---> System.TypeInitializationException:
Quote:
Der Typenin
Quote:
itialisierer f³r "FreeSWITCH.Native.freeswitch" hat eine Ausnahme
Quote:
verursacht. --
Quote:
-> System.EntryPointNotFoundException: Der Einstiegspunkt
Quote:
"CSharp_SWITCH_READ_TE
Quote:
RMINATOR_USED_VARIABLE_get" wurde nicht in der DLL "mod_managed"
Quote:
gefunden.
Quote:
bei

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services