Post by João MesquitaTony, the swigged version of ESL python module is not at all pythonic. As
an example the use of get header for events that could use a more pythonic
syntax like dicts do. I didn't mean to say that I wanted to no use the ESL
C implementation as base at all, I just meant that the wrapper could be
done using a tool that would make the python module more pythonic but still
keeping the underlying implementation in C intact. Maybe that is doable
using swig an if that's the case please ignore my own stupidity.
Sent from my iPhone
"pythonic" ? I'll pretend you didn't say that lol....
Post by João MesquitaOn Jan 15, 2014, at 9:30 PM, Anthony Minessale <
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.
Post by canuck15I 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.
*Sent:* Wednesday, January 15, 2014 11:17 AM
*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.
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.
_________________________________________________________________________
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-dev mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
--
â http://freeswitch.org/ â http://cluecon.com/ â
http://twitter.com/FreeSWITCH
â irc.freenode.net #freeswitch â *http://freeswitch.org/g+
<http://freeswitch.org/g+>*
ClueCon Weekly Development Call
_________________________________________________________________________
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-dev mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
_________________________________________________________________________
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-dev mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org