disabling selinux should do the trick.<br><br><div class="gmail_quote">On Thu, Oct 11, 2012 at 5:51 PM, Shahzad Bhatti <span dir="ltr"><<a href="mailto:shahzad.bhatti@g-r-v.com" target="_blank">shahzad.bhatti@g-r-v.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Muhammad Naseer Bhatti for the reply,<div><br></div><div>i follow the procedure but unable to localte the problem why browser is not working with ESL, i have check phpinfo() and esl is there, and one more thing i also install on my other machine there its working, with the same procedure but when i try to another machine same problem is also there. i want to know the exact reason why ESL is not working on my machine as i test on other system where it works but not on my machine.</div>
<div><br></div><div>and the main thing is ESL is working on console but not working in browser.</div><div><br></div><div>any reply will be appreciated.</div><div><br></div><div>Regards</div><div><br></div><div>Shahzad Bhatti.</div>
<div><br><br><div class="gmail_quote">On Thu, Oct 11, 2012 at 12:53 AM, <span dir="ltr"><<a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send FreeSWITCH-users mailing list submissions to<br>
<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:freeswitch-users-owner@lists.freeswitch.org" target="_blank">freeswitch-users-owner@lists.freeswitch.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of FreeSWITCH-users digest..."<br>
<br>Today's Topics:<br>
<br>
1. Re: sofia recover not working in latest GIT (Vik Killa)<br>
2. Re: sofia recover not working in latest GIT (Anthony Minessale)<br>
3. Re: sofia recover not working in latest GIT (Vik Killa)<br>
4. Controlling the caller ID (D'Arcy J.M. Cain)<br>
5. Re: esl is not working in browser (Muhammad Naseer Bhatti)<br>
<br><br>---------- Forwarded message ----------<br>From: Vik Killa <<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
Cc: <br>Date: Wed, 10 Oct 2012 14:39:04 -0400<br>Subject: Re: [Freeswitch-users] sofia recover not working in latest GIT<br>I just tested on 1 box with GIT a7cb382<br>
It appeared to recover the calls but no audio was transmitted and once<br>
one leg hung up the other was not terminated. I posted on here just to<br>
see if others could replicate the problem in order to verify it may be<br>
a bug.<br>
<br>
On Wed, Oct 10, 2012 at 1:47 PM, Anthony Minessale<br>
<<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>> wrote:<br>
> I dont have 2 boxes labbed up but doing it on one box works fine.<br>
> You are saying it worked one revision before the one you quoted?<br>
><br>
> Why are you posting what you think is a bug on the mailing list instead of<br>
> jira?<br>
> You have been here for years, I am sure you must have seen one of the 2000<br>
> pleads..<br>
><br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
Cc: <br>Date: Wed, 10 Oct 2012 13:50:08 -0500<br>Subject: Re: [Freeswitch-users] sofia recover not working in latest GIT<br>I was able to make a call and fail and recover it 5 times in a row with latest GIT HEAD.<div><br>
<div><br><br><div class="gmail_quote">On Wed, Oct 10, 2012 at 1:39 PM, Vik Killa <span dir="ltr"><<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I just tested on 1 box with GIT a7cb382<br>
It appeared to recover the calls but no audio was transmitted and once<br>
one leg hung up the other was not terminated. I posted on here just to<br>
see if others could replicate the problem in order to verify it may be<br>
a bug.<br>
<div><br>
On Wed, Oct 10, 2012 at 1:47 PM, Anthony Minessale<br>
<<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>> wrote:<br>
> I dont have 2 boxes labbed up but doing it on one box works fine.<br>
> You are saying it worked one revision before the one you quoted?<br>
><br>
> Why are you posting what you think is a bug on the mailing list instead of<br>
> jira?<br>
> You have been here for years, I am sure you must have seen one of the 2000<br>
> pleads..<br>
><br>
<br>
</div><div><div class="h5"><div><div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
</div></div></div></div></blockquote></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:<a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a><br>
</div></div></div></div>
<br><br>---------- Forwarded message ----------<br>From: Vik Killa <<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
Cc: <br>Date: Wed, 10 Oct 2012 15:02:23 -0400<br>Subject: Re: [Freeswitch-users] sofia recover not working in latest GIT<br>Strange, I wonder if it's related to my Debian install. I'll try on CentOS 6.3<br>
<br>
On Wed, Oct 10, 2012 at 2:50 PM, Anthony Minessale<br>
<<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>> wrote:<br>
> I was able to make a call and fail and recover it 5 times in a row with<br>
> latest GIT HEAD.<br>
><br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: "D'Arcy J.M. Cain" <darcy@Vex.Net><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
Cc: <br>Date: Wed, 10 Oct 2012 15:34:45 -0400<br>Subject: [Freeswitch-users] Controlling the caller ID<br>I have Google and the mailing list but so far no joy. Basically all I<br>
want to do is prevent users from setting their own caller ID and name.<br>
>From the mailing list I saw something like this:<br>
<br>
<user id="<a href="tel:4165551212" value="+14165551212" target="_blank">4165551212</a>" mailbox="<a href="tel:4165551212" value="+14165551212" target="_blank">4165551212</a>"><br>
<params><br>
<param name="password" value="password"/><br>
<param name="vm-password" value="1234"/><br>
</params><br>
<variables><br>
<variable name="accountcode" value="<a href="tel:4165551212" value="+14165551212" target="_blank">4165551212</a>"/><br>
<variable name="user_context" value="default"/><br>
<variable name="effective_caller_id_name" value="User<br>
Name"/> <variable name="effective_caller_id_number"<br>
value="<a href="tel:4165551212" value="+14165551212" target="_blank">4165551212</a>"/> <variable name="outbound_caller_id_name"<br>
value="User Name"/> <variable name="outbound_caller_id_number"<br>
value="<a href="tel:4165551212" value="+14165551212" target="_blank">4165551212</a>"/> </variables><br>
</user><br>
<br>
And in the default dialplan:<br>
<br>
<include><br>
<extension name="mygateway"><br>
<condition field="destination_number" expression="^1?(\d{10})\d*$"><br>
<action application="set"<br>
data="effective_caller_id_number=${outbound_caller_id_number}"/><br>
<action application="set"<br>
data="effective_caller_id_name=${outbound_caller_id_name}"/><br>
<action application="bridge" data="sofia/gateway/mygateway/$1"/><br>
</condition><br>
</extension><br>
</include><br>
<br>
But this still sends the name and ID from the VoIP adapter. Am I<br>
missing something?<br>
<br>
Thanks for all help.<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
D'Arcy J.M. Cain<br>
System Administrator, Vex.Net<br>
<a href="http://www.Vex.Net/" target="_blank">http://www.Vex.Net/</a> IM:darcy@Vex.Net</font></span><div><div class="h5"><br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: Muhammad Naseer Bhatti <<a href="mailto:nbhatti@gmail.com" target="_blank">nbhatti@gmail.com</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
Cc: <br>Date: Wed, 10 Oct 2012 22:53:01 +0300<br>Subject: Re: [Freeswitch-users] esl is not working in browser<br><div style="word-wrap:break-word"><div><br></div>Take a look at this <a href="http://wiki.freeswitch.org/wiki/Event_Socket_Library#Installation" target="_blank">http://wiki.freeswitch.org/wiki/Event_Socket_Library#Installation</a> and once compiled, install it manually or make phpmod-install. Make sure ESL.so is loaded in your php.ini<br>
<div>
<div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<br>Thanks,</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
--</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
Muhammad Naseer Bhatti</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<br></div><br>
</div>
<br><div><div>On Oct 10, 2012, at 9:02 PM, Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>> wrote:</div><br><blockquote type="cite">It comes with a .so file that is loaded, I doubt you can use it from your browser.<div>
<br><br><div class="gmail_quote">On Wed, Oct 10, 2012 at 12:59 PM, Shahzad Bhatti <span dir="ltr"><<a href="mailto:shahzad.bhatti@g-r-v.com" target="_blank">shahzad.bhatti@g-r-v.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Everybody,<div><br></div><div>i am trying to use esl through my browser but unable to while my same script is running from console my test.php code is as follows:</div>
<div><br></div><div><b>test.php</b></div><div><b><br>
</b></div><div><div><b><?php</b></div><div><b><br></b></div><div><b>require_once('ESL.php');</b></div><div><b><br></b></div><div><b>$command = "originate {ignore_early_media=true,origination_caller_id_number=1111}sofia/internal/1000%192.168.0.21 &park()";</b></div>
<div><b>$sock = new ESLconnection('localhost', '8021', 'ClueCon');</b></div><div><b>if($sock->connected()) $result = "Connected"; else $result = "unable to connect";</b></div>
<div><b><br></b></div><div><b>echo "This is a message: ".$result;</b></div></div><div><b><br></b></div><div><b>?></b></div><div><b><br></b></div><div>when i execute the above script from console it output<b> This is a message: Connected </b>but when i hit the page from browser then output is <span style="font-family:'Times New Roman';font-size:medium"><b>This is a message: unable to connect.</b></span></div>
<div><span style="font-family:'Times New Roman';font-size:medium">i also try <b>chmod 777 test.php </b>to ensure that there is no permission issue and also use host as 0.0.0.0 , 127.0.0.1.</span></div><div><span style="font-family:'Times New Roman';font-size:medium">and also check after restart appache and even reboot my machine</span></div>
<div><span style="font-family:'Times New Roman';font-size:medium">i am using <b>CentOS 6.3 </b>and freeswitch version is<b> </b></span><font face="Times New Roman" size="3"><b>FreeSWITCH Version 1.3.0+git~20121004T132926Z~3d57cbda98 (git 3d57cbd 2012-10-04 13:29:26Z)</b></font></div>
<div><font face="Times New Roman" size="3">and also view the appache error log and freeswitch log but not find any thing in it regarding this problem.</font></div><div><font face="Times New Roman" size="3">my event_socket.conf and acl.conf is default no change in it.</font></div>
<div><font face="Times New Roman" size="3"><br></font></div><div><font face="Times New Roman" size="3">help me to know why this is not working, and your response is appreciated.</font></div><div><font face="Times New Roman" size="3"><br>
</font></div><div><font face="Times New Roman" size="3">Regards,</font></div><div><font face="Times New Roman" size="3"><br></font></div><div><font face="Times New Roman" size="3">Shahzad Bhtti.</font></div><div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><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><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:<a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a><br>
</div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></div><br></div></div>_______________________________________________<div class="im"><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></div></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>