[Freeswitch-dev] mod_event_socket or mod_xml_rpc?

canuck15 canuck15 at hotmail.com
Thu Jan 16 04:51:36 MSK 2014

That is exactly the sort of information I was looking for.  Thanks so much.  Yes I am using swig files in /libs/esl.  Compiled it on swig v1.3(? whatever the version that is rpm installable on CE6) and now I tried it with v2.x.  I think both are working fine and it’s a problem with the code on my end.  I have a pretty good idea how to fix it.  There aren’t any good Python examples but there are good PHP and Perl examples.  So I think I can figure it out.


From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale
Sent: Wednesday, January 15, 2014 4:31 PM
To: freeswitch-dev at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] mod_event_socket or mod_xml_rpc?


Why would you want to make a non-swig version of the ESL lib?  The whole point is to make sure you get a reliable client.

Everyone who tries to make their own runs into one of many challenges that are hard to overcome in a script lang.  This is why you have the benefit of the wrapped C lib.


xml_rpc has a bit less capability and is for sure less stable and scalable when put head to head with ESL.

I wrote both of them myself so I'm not driven by affinity to one or the other.  AFAIK xml_rpc is stable but the lib used is not so hot and I always wanted to use something better.









On Wed, Jan 15, 2014 at 6:10 PM, canuck15 <canuck15 at hotmail.com <mailto:canuck15 at hotmail.com> > wrote:

I sort of figured someone would say that.  Actually mod_xml_rpc seems to be similar to mod_xml_curl. Since I already have that mod_xml_curl fetches from my app  working well I don’t think I will switch that.  Also just read that fs_cli uses ESL so that has sold me on sticking with it.  I just want to make sure I am not using features that are a bit on the fringe where it’s not very active, well tested, and fixes don’t come along very often.


From: freeswitch-dev-bounces at lists.freeswitch.org <mailto:freeswitch-dev-bounces at lists.freeswitch.org>  [mailto:freeswitch-dev-bounces at lists.freeswitch.org <mailto:freeswitch-dev-bounces at lists.freeswitch.org> ] On Behalf Of Michael Jerris
Sent: Wednesday, January 15, 2014 11:17 AM
To: freeswitch-dev at lists.freeswitch.org <mailto:freeswitch-dev at lists.freeswitch.org> 
Subject: Re: [Freeswitch-dev] mod_event_socket or mod_xml_rpc?


They are completely different tools for different jobs, not a one or the other situation.


On Jan 15, 2014, at 1:32 PM, canuck15 <canuck15 at hotmail.com <mailto:canuck15 at hotmail.com> > wrote:


I am trying to update an old abandoned app (WikiPBX) which is written using Django Python and uses mod_event_socket and mod_xml_curl to talk with Freeswitch.


I’ve got most things working except the most important part which is mod_event_socket.  Now I found mod_xml_rpc which seems like a better way to go.


Just wanted to get some opinions which is the better api interface before I get too far into trying to get mod_even_socket working properly.  So far it’s been quite the headache.  I am currently looking at fusionpbx and bluebox code to see what they are doing.


Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 

Official FreeSWITCH Sites

FreeSWITCH-dev mailing list
FreeSWITCH-dev at lists.freeswitch.org <mailto:FreeSWITCH-dev at lists.freeswitch.org> 



Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬


☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH

☞ irc.freenode.net <http://irc.freenode.net>  #freeswitch ☞ http://freeswitch.org/g+

ClueCon Weekly Development Call 

☎ sip:888 at conference.freeswitch.org <mailto:sip%3A888 at conference.freeswitch.org>   ☎ +19193869900 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20140115/683f6a8b/attachment-0001.html 

Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-dev mailing list