<div dir="ltr">James,<div><br></div><div>Yes, Chrome is on a machine at the same network. </div><div><br></div><div>This log file (<a href="http://pastebin.freeswitch.org/21480">http://pastebin.freeswitch.org/21480</a>) is from a test scenario where I tried, using Tryit Demo, call the 5000 extension in FS. On the FS console I can see that the ivr call follow is executed perfectly, but I can't hear anything on my headset. I got this error during this test.</div>
<div><br></div><div><div>[11:11:1004/174001:ERROR:webrtc_audio_renderer.cc(241)] Not implemented reached in virtual void content::WebRtcAudioRenderer::Start()</div><div>[11:23:1004/174001:ERROR:platform_thread_linux.cc(99)] Failed to set nice value of thread to -10</div>
<div><br></div><div>I'm checking for clues right now. Any idea about it? </div><div><br></div><div>Thanks for the attention!<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/4 James Mortensen <span dir="ltr"><<a href="mailto:james.mortensen@synclio.com" target="_blank">james.mortensen@synclio.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">But Chrome isn't on the same network, right? Also, I'm not an expert on this, but from what I understand, STUN binding is something that occurs between Chrome and the media server, not a STUN server. See Example 17 here in this RFC spec: <a href="http://tools.ietf.org/html/rfc5245#section-17" target="_blank">http://tools.ietf.org/html/rfc5245#section-17</a>. The STUN binding occurs between the two user agents, where one is the SIP user and the other could be your media server.<div>
<br></div><div>Chrome will complain about STUN binding errors or receiving unknown packets. If audio isn't flowing, all I'm trying to say is it might not be a FreeSWITCH issue and you should make sure Chrome isn't the culprit before changing too many things in FreeSWITCH. In one instance, my server's network was the problem, and setting up the same exact FreeSWITCH (and even Asterisk) configuration resulted in two way audio. :D)</div>
<div><br></div><div>Not saying this is your problem, just that you should definitely be watching what's happening in the Chrome debug logs too.</div><div><br></div><div>Hope this helps!</div><span class="HOEnZb"><font color="#888888"><div>
<br></div></font></span><div class="gmail_extra"><span class="HOEnZb"><font color="#888888">
<div><div dir="ltr"><div><br></div><div>James<br></div><div><br><div><br></div></div></div></div></font></span><div><div class="h5"><br><div class="gmail_quote">On Fri, Oct 4, 2013 at 12:19 PM, Rafael Santana <span dir="ltr"><<a href="mailto:rafaelstnoliveira@gmail.com" target="_blank">rafaelstnoliveira@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for the replies! I couldn't test or check anything today. As soon as I do the tests I will inform here the new status. <div>
</div><div>@James</div>
<div>My application server (nginx) is on the same network my FreeSwitch and Asterisk are, so I'm not using a Stun server. </div><div><br></div><div>[]'s</div></div><div class="gmail_extra"><div><div><br>
<br><div class="gmail_quote">
2013/10/4 James Mortensen <span dir="ltr"><<a href="mailto:james.mortensen@synclio.com" target="_blank">james.mortensen@synclio.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Rafael,<div><br></div><div>You didn't mention whether the server was in the cloud. If you're server is on Amazon EC2, make sure you're following the guide here: <a href="https://wiki.freeswitch.org/wiki/Amazon_EC2" target="_blank">https://wiki.freeswitch.org/wiki/Amazon_EC2</a></div>
<div><br></div><div>Also, if you run a tcpdump -s0 -v udp on your FreeSWITCH and Asterisk server, do you see audio flowing? Also, in Chrome, startup chrome from the command line with the options to enable debug logging:</div>
<div><br></div><div>chrome --enable-logging --v=11</div><div><br></div><div>Then look to see if there are STUN binding errors. Also, check chrome://webrtc-internals, which will also tell you if Chrome is trying to send audio.</div>
<div><br></div><div>Is the server behind NAT or is it on the public Internet with it's own public IP bound to the eth0 interface? </div><div><br></div><div>Hope this helps!</div><div><br></div><div class="gmail_extra">
<br clear="all"><div><div dir="ltr"><div><br></div><div>James<br></div><div><div><div><br><div><br></div><div><br></div><div>On Thu, Oct 3, 2013 at 4:44 PM, Rafael Santana <span dir="ltr"><<a href="mailto:rafaelstnoliveira@gmail.com" target="_blank">rafaelstnoliveira@gmail.com</a>></span> wrote:<br>
</div></div></div></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div><br></div><div>
I'm new to telephony and FreeSwitch's world, so I apologize in advance for any nonsense I speak here. </div>
<div><br></div><div>I've been trying to setup an environment where It can be possible to make a call through Google Chrome Browser using JsSIP to a standard phone device on PSTN. </div>
<div><br></div><div>In my network my "PSTN gateway" is an Asterisk 1.4 instance (No, I can't chance it today). To communicate with Chrome I have a FreeSwitch 1.5.5 instance and to get access to PSTN via this instance I had to register my Asterisk instance as a gateway on my Sofia's external profile. This part of my scenario works fine. I'm able to make calls using a softphone registered on FreeSwitch to standard phones on PSTN with no problems. What I wasn't able to do until now was the JsSIP + FreeSwitch integration. </div>
<div><br></div><div>To setup FreeSwitch to comunicate with JsSIP, the only thing I did was uncomment the line below on sip_profiles/internal.xml.</div><div><br></div><div><param name="ws-binding" value=":5066"/></div>
<div><br></div><div>I really don't know if just this is sufficient. Am I missing something important?<br></div><div><br></div><div>To connect on my FreeSwitch instance from Chrome, I'm using the Tryit JsSIP demo. Today, I'm able to register on FS from Tryit demo and perform a call to a PSTN phone. The connection is established but I don't get any audio in both endpoints. The same happens when I try to call the 5000 ivr extension or an user on a softphone at the same network from my Chrome browser.</div>
<div><br></div><div>Assuming that all the services I've mentioned here are running on the same network, do you have any idea why I can't get audio in both endpoints of my experiment?</div><div><br></div><div>Additional information:</div>
<div>Ubuntu 12.04 64 bits</div><div><div>FreeSwitch version 1.5.5 default install configuration</div><div>Tryit JsSIP Demo with jssip-0.3.0.js</div><div><br></div>Thanks in advance,</div><div>Rafael.</div></div>
<br></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>
<br></blockquote></div><br></div></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></div></div><span><font color="#888888">-- <br>Rafael Santana Oliveira<br>Mestre em Ciência da Computação
</font></span></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></div></div></div></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><br clear="all"><div><br></div>-- <br>Rafael Santana Oliveira<br>Mestre em Ciência da Computação
</div>