Since nobody mentioned any commands missing or the documentation out of date I guess it’s something in my code.
I used the single_command.py example file and inserted the api() command in there and it seems to be working. Since there are no practical python examples on the wiki I guess I will have to try adapt one of the perl, ruby or php examples. Hopefully there are enough breadcrumbs there.
From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of João Mesquita
Sent: Wednesday, January 15, 2014 8:02 AM
To: freeswitch-dev@lists.freeswitch.org
Cc: <freeswitch-dev@lists.freeswitch.org>
Subject: Re: [Freeswitch-dev] Missing Python ESL commands
A trace back would help us assist you.
Sent from my iPhone
On Jan 15, 2014, at 12:46 PM, canuck15 <canuck15@hotmail.com> wrote:
I am trying to talk to Freeswitch using Python ESL for a project I am working on.
I can’t seem to get the api() or sendRecv() commands to work.
http://wiki.freeswitch.org/wiki/Event_Socket_Library#sendRecv
I am able to send basic commands like “sofia status” using the single_command.py file included in /libs/esl/python source and I can view events using the included events.py. So I know I have correctly installed Python ESL and have it talking.
I’m wondering if perhaps these commands were removed for some reason and the documentation has not been updated? I am looking through the source right now to see if I can figure out if they are actually there but thought I would post here to see if anyone can enlighten me as to what may be going on here.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org