Hi Helmut,<div><br></div><div>I got the same error:</div><div>&quot;No matching function for overloaded &#39;new_ESLconnection&#39; in /usr/share/php/ESL.php&quot;</div><div><br></div><div>Have you solved the problem?</div>
<div><br></div><div>Thanks,</div><div>--</div><div>Samuel Macedo<br><br><div class="gmail_quote">On 12 June 2010 14:59, Helmut Kuper <span dir="ltr">&lt;<a href="mailto:helmut.kuper@ewetel.de">helmut.kuper@ewetel.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  
  

<div bgcolor="#ffffff" text="#000000">
Hi Michael,<br>
<br>
ESL is built and installed, phpmod is built and installed.<br>
<br>
inbound works, test scripts works<br>
<br>
It is just the problem of passing an existing socket to new
ESLconnection. A socket resource is denied, an integer is accepted but
is rejected with &quot;bad file descriptor&quot;<br>
<br>
<br>
 <br>
Am 12.06.2010 07:06, schrieb Michael Collins:
<div><div></div><div class="h5"><blockquote type="cite">Make sure the ESL is properly built and that the PHP mod
is built and installed. If you did a &quot;make current&quot; recently the you&#39;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">&lt;<a href="mailto:helmut.kuper@ewetel.de" target="_blank">helmut.kuper@ewetel.de</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;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>
&#39;new_ESLconnection&#39; 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" target="_blank">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>
  <pre><fieldset></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
  </pre>
</blockquote>
<br>
</div></div></div>

<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></blockquote></div><br></div>