[Freeswitch-users] python+ESL

Денис denis at ringme.ru
Thu Jul 3 13:25:30 MSD 2014


gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC 
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.6 -c 
src/llist.c -o build/temp.linux-x86_64-2.6/src/llist.o

unable to execute gcc: No such file or directory

error: command 'gcc' failed with exit status 1
===
It's not a bug, but compiler on product server is not solution, 
pre-build needed.

On 02.07.2014 19:24, Thomas Quintana wrote:
> Hi Denis,
>
> For Python ESL integration you can try freepy 
> <https://github.com/thomasquintana/freepy> it's an open source app 
> server I wrote and maintain in Python. It's designed to be a 100% 
> async actor based solution which is working very reliably for us.
>
> Best,
> Thomas Quintana
>
>
> On Fri, Jun 27, 2014 at 3:27 AM, Денис <denis at ringme.ru 
> <mailto:denis at ringme.ru>> wrote:
>
>     who wrote event handling with ESL.py?
>     Code:
>     #!/usr/bin/python
>
>     import ESL
>
>     # Establish an inbound connection to FreeSWITCH
>     con = ESL.ESLconnection("localhost","8021","ClueCon")
>     print con.connected()
>     print con.getInfo()
>
>     # set event command to receive all events
>     con.events("plain", "all");
>
>     #while(1): # or whileon.connected()):
>     while(con.connected()):
>         e = con.recvEvent()
>         if e:
>           print "Event: ",e.serialize()
>
>     Out:
>     0
>     None
>
>     run fs_cli:
>     # fs_cli -H 127.0.0.1 -P 8021 -p ClueCon -b
>     ...
>     +OK log level  [7]
>
>     Where exceptions with error?How to properly connect?
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140703/391c0baa/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list