I have a few questions about how to get started with Freeswitch using C#, since I mainly use it for development. Any help or direction would be appreciated. 1) How would I go about accessing the Freeswitch API from C#? 2) Does FreeSwitch offer a Web Services API or does the code have to run directly on the machine running Freeswitch? Thanks. Tim _________________________________________________________________ Windows Live Hotmail now works up to 70% faster. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_faster_...
Check out the various APIs that FS can support: http://wiki.freeswitch.org/wiki/Freeswitch_XML-RPC http://wiki.freeswitch.org/wiki/Event_Socket The event socket is awesome and you only need a socket-level connection to control FS and you can do it from any machine with connectivity to the FS server. -MC On Wed, Nov 26, 2008 at 12:45 PM, Tim B <timb0311@hotmail.com> wrote:
I have a few questions about how to get started with Freeswitch using C#, since I mainly use it for development. Any help or direction would be appreciated.
1) How would I go about accessing the Freeswitch API from C#?
2) Does FreeSwitch offer a Web Services API or does the code have to run directly on the machine running Freeswitch?
Thanks.
Tim
------------------------------ Windows Live Hotmail now works up to 70% faster. Sign up today.<http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_faster_112008>
_______________________________________________ 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
Hi Tim, It depends what you're trying to accomplish. Many times an external server over sockets can offer benefits - scalability in some cases. But sometimes it's not practical to do it on a separate process, or it's just easier to do it in-process. (I find that a mix is the best approach - lump together smaller actions into an in-process app, then control it higher level from outside.) There are some problems in the C# event socket code library, last time we checked. [As always,] Best to test it heavily before production. I've done reasonable stress tests on the mod_managed parts and didn't run into any problems (I suppose if you created a multi-GB managed heap, a GC could pause some media threads for a bit...). For the in-process managed API, see: http://wiki.freeswitch.org/wiki/Mod_managed See the Demo.cs in the src/mod/languages/mod_managed/managed folder for a simple example. I'm MichaelGG on IRC, or you can hit me on IM on my site, www.atrevido.net<http://www.atrevido.net>. -Michael Protip: Use a higher level managed language than C#. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tim B Sent: Wednesday, November 26, 2008 1:46 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Getting Started using C# I have a few questions about how to get started with Freeswitch using C#, since I mainly use it for development. Any help or direction would be appreciated. 1) How would I go about accessing the Freeswitch API from C#? 2) Does FreeSwitch offer a Web Services API or does the code have to run directly on the machine running Freeswitch? Thanks. Tim ________________________________ Windows Live Hotmail now works up to 70% faster. Sign up today.<http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_faster_112008>
participants (3)
-
Michael Collins
-
Michael Giagnocavo
-
Tim B