no I am using Centos and downloaded it with yum<div>thanks</div><div>Marc<br><div><br><div class="gmail_quote">On Sun, Apr 10, 2011 at 3:55 PM, Madovsky <span dir="ltr"><<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff">
<div><font size="2">Marc,</font></div>
<div><font size="2"></font> </div>
<div><font size="2">depend how php has been compiled.</font></div>
<div><font size="2">did you compile yourself ?</font></div>
<blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px"><div><div></div><div class="h5">
<div style="font:10pt arial">----- Original Message ----- </div>
<div style="font:10pt arial;background:#e4e4e4"><b>From:</b>
<a title="marcdecorny@gmail.com" href="mailto:marcdecorny@gmail.com" target="_blank">Marc de
Corny</a> </div>
<div style="font:10pt arial"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users Help</a>
</div>
<div style="font:10pt arial"><b>Sent:</b> Sunday, April 10, 2011 3:04
AM</div>
<div style="font:10pt arial"><b>Subject:</b> Re: [Freeswitch-users] ESL with
PHP not working</div>
<div><br></div>Hi Michael,
<div><br></div>
<div>thanks for your help. Yes that's what I thought, so I added a test on
connected() and realised it was not connecting. I also took a tcpdump on both
servers and could not see any packets being sent. It looks as if it is stuck
on the php server, but don't know where to start looking.</div>
<div><br></div>
<div>If there were information missing in php.ini would it work from the
command line ?</div>
<div>Is there a break down of what that phpmod_install does so that I
can do back and check each step?</div>
<div><br></div>
<div>Thanks</div>
<div>Marc<br><br>
<div class="gmail_quote">On Sun, Apr 10, 2011 at 12:22 AM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote"><br><br>
<div class="gmail_quote">
<div>On Fri, Apr 8, 2011 at 1:08 PM, Marc de Corny <span dir="ltr"><<a href="mailto:marcdecorny@gmail.com" target="_blank">marcdecorny@gmail.com</a>></span> wrote:<br>
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">Hi all
<div><br></div>
<div>got an issue with ESL I cannot figure out.</div>
<div><br></div>
<div>I have installed enabled the event socket on the Freeswitch, and it
works locally on the server via PHP</div>
<div><br></div>
<div>I have a remote server were I compiled the ESL.so and did the
php-install. It is a standard CentOS install with apache.</div>
<div>when I type into the command line : php test.php
( the standard test script that is api status ) I get the correct
result.</div>
<div>when I execute the same script from the browser on the remote server
I get an error on the getBody command.</div>
<div><span style="font-family:'Times New Roman';font-size:medium"><b>Fatal
error</b></span><span style="font-family:'Times New Roman';font-size:medium">: Call to a
member function getBody() on a non-object in</span><span style="font-family:'Times New Roman';font-size:medium"> </span><span style="font-family:'Times New Roman';font-size:medium"><b>/var/www/html/test.php</b></span><span style="font-family:'Times New Roman';font-size:medium"> </span><span style="font-family:'Times New Roman';font-size:medium">on
line</span><span style="font-family:'Times New Roman';font-size:medium"> </span><span style="font-family:'Times New Roman';font-size:medium"><b>9</b></span></div>
<div><br></div></blockquote></div>
<div>This is the exact same error that occurs when the script fails to
connect to the FS event socket, so something must be different when you are
calling this from a script. Can you confirm that the script is actually
trying to connect to the FreeSWITCH server? I don't know much about
debugging PHP, but at the very least you could do a tcpdump on the server
running the php script and confirm that the ESL connection is being
attempted, whether it is successful, etc. </div>
<div><br></div><font color="#888888">
<div>-MC</div></font></div><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>
<br></blockquote></div><br></div>
</div></div><p>
</p><hr><div class="im">
<p></p>_______________________________________________<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>
</div><p></p></blockquote></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></div>