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