Martin,
Sorry it’s taken so long to get back
to you.
I’m having trouble getting mod_mono to
load.
I don’t know what you mean by “After first make go in to modules.conf and set:
languages/mod_mono”. Is this appropriate when using VS2005 on
Windows? I searched for modules.conf but could only find modules.conf.in and
modules.conf.xml.
However, I did add the
line <load module="mod_mono"/> to modules.conf.xml.
This caused the following
error when FreeSWITCH was loading:
2007-05-19 16:57:51 [ERR]
switch_loadable_module.c:704 switch_loadable_module_load_file() Error Loading
module d:\FreeSWITCH\debug\mod\mod_mono.dll
I searched for mod_mono,dll
and could not find one. However in FreeSwitch\src\mod\languages I found a
mod_mono folder with mod_mono.c in it, but there was no project file for it and
it doesn’t appear to be included within the Freeswitch Visual Studio solution.
Can you offer any
pointers on how to get mod_mono built and loaded?
Many thanks,
Jason
From:
freeswitch-dev-bounces@lists.freeswitch.org
[mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Martin Sørensen
Sent: 14 May 2007 13:09
To:
Subject: Re: [Freeswitch-dev]
freeswitch use with .NET
Just a quit how to ;o)
Checkout FS
After first make go in to
modules.conf and set: languages/mod_mono
When make installall
You have to rename the
FreeSwitch.NET.dll to FreeSwitch.Net.dll in “Installdir”/lib
Now goto
“installdir”/conf/modules.conf.xml and set: <load
module="mod_mono"/> that will load mod_mono runtime
Make a mono dir in
“installdir”/mod
Start FS and see if
mod_mono get loaded
Put your
“Module” .dll in mod/mono
And Start FS again to see
if your module gets loaded
Regards Martin
From:
freeswitch-dev-bounces@lists.freeswitch.org
[mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Jason Steele
Sent: 14. maj 2007 13:35
To:
Subject: Re: [Freeswitch-dev]
freeswitch use with .NET
Martin,
Thanks for this. Mod_mono appears to have
been removed from quite a few recent builds. I’ll get the latest build
(which I assume includes it again) and let you know how I get on.
Thanks,
Jason
From:
freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org]
On Behalf Of Martin Sørensen
Sent: 14 May 2007 09:04
To:
Subject: Re: [Freeswitch-dev]
freeswitch use with .NET
Jason.
You have to set
<load module="mod_mono"/> in conf/module.conf.xml that
will load mod_mono runtime.
You should make a
directory in /lib called mono and put you .dll in that dir then it will load on
FS startup
Regards Martin
From:
freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org]
On Behalf Of Jason Steele
Sent: 14. maj 2007 09:41
To:
Subject: Re: [Freeswitch-dev]
freeswitch use with .NET
Mike,
These examples are useful, but there is
something missing.
Whilst I can create a project, paste the
code and compile it, there is nothing on how to configure FreeSWITCH to use it.
I understand how to configure FreeSWITCH
to be aware of other applications by adding entries to modules.conf.xml, but
how should this be done for .NET modules I have built?
Without the fundamental ability to get the
examples working I am finding it impossible to start experimenting with
FreeeSwitch and .NET.
Thanks,
Jason
From:
freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org]
On Behalf Of Michael Jerris
Sent: 14 May 2007 05:10
To:
Subject: Re: [Freeswitch-dev]
freeswitch use with .NET
As I noted in my response
on the users list, we are still working on getting the managed code for this
back in sync with the rest of FreeSWITCH™. Unfortunately we
don’t have any great api docs on the .net side yet, but by example, check
out the links below:
http://lists.freeswitch.org/pipermail/freeswitch-users/2006-August/000302.html
http://lists.freeswitch.org/pipermail/freeswitch-users/2006-September/000345.html
Mike
From:
freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org]
On Behalf Of Josh Lloyd
Sent: Sunday, May 13, 2007 5:02 PM
To:
Subject: [Freeswitch-dev]
freeswitch use with .NET
Hi,
I saw a few open ended threads regarding using FreeSwitch. I have
downloaded the c# assembly and have it compiled successfully and referenced
from a test project. There are so many classes, properties, methods, etc…
I really am not sure where to begin and it does not see anyone else has been
answered yet. Is there any documentation or perhaps a sample program
available using the .net api.
Many thanks!
Josh Lloyd