Make sure the ESL is properly built and that the PHP mod is built and installed. If you did a "make current" recently the you'll need to rebuild your ESL stuff.<br>-MC<br><br><div class="gmail_quote">On Fri, Jun 11, 2010 at 5:12 PM, Helmut Kuper <span dir="ltr"><<a href="mailto:helmut.kuper@ewetel.de">helmut.kuper@ewetel.de</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;">Hello,<br>
<br>
<br>
I try to setup a php daemon which uses ESL.<br>
<br>
I run the sample php scripts successfully (inbound). Now I want to have<br>
it outbound to my php daemon socket.<br>
<br>
The forked child process which has to interact with incoming tcp<br>
connection from FS is started successfully. So in this state I have the<br>
client socket which I have to pass now somehow to ESLconnection I guess.<br>
<br>
FS ruby wiki gives this as an example:<br>
<br>
@con = ESL::ESLconnection.new(client_socket.fileno)<br>
<br>
<br>
In php I try this:<br>
<br>
$con = new ESLconnection($csock);<br>
<br>
As a result I got this error:<br>
<br>
PHP Fatal error: No matching function for overloaded<br>
'new_ESLconnection' in /usr/share/pear/ESL.php on line 117<br>
<br>
<br>
Any ideas?<br>
<br>
regards<br>
Helmut<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>
</blockquote></div><br>