[Freeswitch-dev] freeswitch use with .NET

Martin Sørensen mrs at segtel.dk
Mon May 14 08:09:18 EDT 2007


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 at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Jason Steele
Sent: 14. maj 2007 13:35
To: freeswitch-dev at lists.freeswitch.org
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 at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Martin Sørensen
Sent: 14 May 2007 09:04
To: freeswitch-dev at lists.freeswitch.org
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 at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Jason Steele
Sent: 14. maj 2007 09:41
To: freeswitch-dev at lists.freeswitch.org
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 at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris
Sent: 14 May 2007 05:10
To: freeswitch-dev at lists.freeswitch.org
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(tm).  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 at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Josh Lloyd
Sent: Sunday, May 13, 2007 5:02 PM
To: freeswitch-dev at lists.freeswitch.org
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20070514/29c20449/attachment.html 


More information about the Freeswitch-dev mailing list