(the PHP examples on wiki makes a T_CLASS error so I can't try it)
That's because it requires PHP5. -Steve On 26 January 2011 16:44, Madovsky <infos@madovsky.org> wrote:
I'm testing ESL perl and php since two weeks now with average results. My challenge is to only create a stream that receives events so I tried ivrd with ivrd-demo.php. it connects well, the script receive the CHANNEL_DATA after a "connect\n\n" but if I send a "event plain all", nothing in return. maybe I misunderstood the ESL concept, my challenge is to create a persistent socket that receive events I selected first, but unitl now no success. (the PHP examples on wiki makes a T_CLASS error so I can't try it)
----- Original Message ----- From: "Christian Löschenkohl" <christian.loeschenkohl@xpirio.com> To: <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, January 26, 2011 6:05 AM Subject: [Freeswitch-users] php esl with outbound socket connection
hello list
has somebody a working example of an php esl outbound socket connection? the example at http://wiki.freeswitch.org/wiki/PHP_ESL shows only sending manual commands. i have written my own php class here (not based on the esl module) that is in use for a year now, but i wonder if it's possible with the esl module too (in combination with ivrd). the advantage would be to communicate more directly, like in mod_perl (setting and getting switch variables within the current connection and so on).
the comeback of mod_php would be my dream here, but it doesn't seem to be possible (high costs and no maintainer).
please share your thoughts on this topic
br
-- Ing. Christian Löschenkohl Technische Leitung, Forschung & Entwicklung VoIP
xpirio Telekommunikation & Service GmbH Lakeside B04 9020 Klagenfurt Austria
T +43 5 77 11 - 1000 F +43 5 77 11 - 1002 E christian.loeschenkohl@xpirio.com
_______________________________________________ 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
_______________________________________________ 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