<div dir="ltr">Here is my follow up to this issue. It seems something happened to the server where it stopped sending Binding responses to Chrome. This is a known issue that I've seen before that Google says was an Asterisk issue. However, the same thing happens to Freeswitch as well, indicating the problem is the network/server, not the software.<div>
<br></div><div>I booted up another server from a snapshot, verified two way audio with Asterisk, then reinstalled Freeswitch, uncommented the ws-binding parameter to enable WS on port 5066, then registered user 1000 and 1002 from the <a href="http://tryit.jssip.net">tryit.jssip.net</a> demo using the following configuration:</div>
<div><br></div><div>Name: James</div><div>SIP URI: sip:1000@54.X.X.X <-- public IP of server</div><div>password: 1234</div><div>WS URI: ws://54.X.X.X:5066 <--- same public IP</div><div><br></div><div>and I substituted 1002 in place of 1000 for another user on another network. I verified audio flows both ways with audio flowing through Freeswitch.</div>
<div><br></div><div>I made no other changes to the configuration. This was a lot easier to get started with than Asterisk WebRTC. I just made it out to be a lot harder than it was by assuming I needed to manually add in my server's IP address in the configuration files. This happens automatically, even on a NAT'd server. Amazing! :)</div>
<div><br></div><div><br></div><div>Now, for the PSTN part, I configured my BANDWIDTH.com provider as an internal context and as an outbound and inbound dialplan. I can connect a call between my cellphone and Chrome, but there's no audio flowing to/from Bandwidth. I suspect the problem has something to do with bridging AVP and SAVPF, since the carriers don't support SRTP.</div>
<div><br></div><div>I've grepped the configuration files, and I don't see how I would configure the system to bridge AVP and SAVPF and do transcoding. Any ideas?</div><div><br></div><div>Thank you!!</div><div><br>
</div><div>James</div><div class="gmail_extra"><div><div dir="ltr"><div><br></div><div><br></div></div></div><br><div class="gmail_quote">On Wed, Sep 11, 2013 at 12:01 PM, James Mortensen <span dir="ltr"><<a href="mailto:james.mortensen@synclio.com" target="_blank">james.mortensen@synclio.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"><div class="gmail_extra"><div><div dir="ltr"><div>Installing <span style="line-height:17px;font-size:13px;background-color:rgb(240,240,240);font-family:Arial,FreeSans,Helvetica,sans-serif">ibncursesw5 and </span><span style="line-height:17px;font-size:13px;background-color:rgb(240,240,240);font-family:Arial,FreeSans,Helvetica,sans-serif">libncursesw5-dev</span> did resolve the issue. I can now connect to the WebSocket server. Seems the cluechoo module is just something that was added in to separate the help vampires from the people with legitimate issues. :D</div>
<div><br></div><div>I got 405 Method Not Allowed errors, and I resolved them by making sure the IP address in the SIP URI matches the IP address in the WS field. </div><div><br></div><div>At this time, I've successfully registered and am getting back 200 OK's and have now moved onto tweaking the settings so I can get audio going both ways. The candidates appear to be only showing the public IP, so I'll have to figure that out. I'll provide more updates, or questions, as I move forward.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>James</div></font></span></div></div>
<br><br><div class="gmail_quote"><div class="im">On Wed, Sep 11, 2013 at 11:32 AM, James Mortensen <span dir="ltr"><<a href="mailto:james.mortensen@synclio.com" target="_blank">james.mortensen@synclio.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div class="im">Okay, I added in the dependencies and still get those errors. Do I need to file a bug in JIRA for this or am I just missing something? <div><br></div><div>I'm happy to try a different OS if there's one that's been tried and tested.</div>
<div><br></div><div>Of course, more googling reveals that mod_cluechoo is just a joke? <a href="http://wiki.freeswitch.org/wiki/Mod_cluechoo" target="_blank">http://wiki.freeswitch.org/wiki/Mod_cluechoo</a></div><div><span style="font-size:medium;font-family:Times"><br>
</span></div><div><span style="font-size:medium;font-family:Times">> SL (Steam Locomotive) runs across your terminal when you type "sl" as you meant to type "ls". It's just a joke command, and not usefull at all. Put the binary to /usr/local/bin.</span></div>
<div><br></div><div>I hope I'm not chasing a problem that has absolutely no impact on my ability to get WebRTC working here. :D</div><div><br></div><div><br></div><div>Thanks for any additional help you can provide,</div>
<div>James</div></div><div><div><div><br></div><div class="gmail_extra"><div><div dir="ltr"><div><br></div></div></div><br><div class="gmail_quote"><div class="im">On Wed, Sep 11, 2013 at 11:19 AM, James Mortensen <span dir="ltr"><<a href="mailto:james.mortensen@synclio.com" target="_blank">james.mortensen@synclio.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><div dir="ltr">I ran the netstat command, and it doesn't appear to be listening. It doesn't appear to be listening on anything. I do have this error in the console when starting:<div>
<br></div><div><div>2013-09-11 18:16:14.445921 [ERR] switch_nat.c:201 Error checking for PMP [general error]</div>
<div><br></div><div>AND</div><div><br></div><div><div>2013-09-11 18:09:30.233568 [CRIT] switch_loadable_module.c:1383 Error Loading module /opt/freeswitch-1.4b/mod/mod_cluechoo.so</div><div>**/opt/freeswitch-1.4b/mod/mod_cluechoo.so: undefined symbol: waddch**</div>
</div><div><br></div><div>I believe I overlooked these earlier. But it's possible I'm missing a dependency. I'm going to install the libncurses packages as described here <a href="http://jira.freeswitch.org/browse/FS-3689" target="_blank">http://jira.freeswitch.org/browse/FS-3689</a> and then rebuild to see if that helps. I'm running Ubuntu 12.10.</div>
<span><font color="#888888">
</font></span></div><span><font color="#888888"><div><br></div><div>James</div><div><br></div></font></span></div></div><div class="gmail_extra"><div><div><div dir="ltr"><div>
</div></div></div>
<br><br></div><div class="im"><div><div><div class="gmail_quote">On Wed, Sep 11, 2013 at 11:07 AM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">Did you open all the necessary firewall ports?<div>Playing around on amazon as your first try complicates thing a bit for you.</div><div><br></div><div>You should be able to verify its listening on the port with netstat -an | grep 5066</div>
<div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 11, 2013 at 12:55 PM, James Mortensen <span dir="ltr"><<a href="mailto:james.mortensen@synclio.com" target="_blank">james.mortensen@synclio.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Here's another update to my adventures in Freeswitch WebRTC. I assume from the getting started documentation that there are users created by default with the password 1234, so I'm trying to create the ws 5066 connection from the TryIt JsSIP demo: <a href="http://tryit.jssip.net" target="_blank">http://tryit.jssip.net</a><div>
<br></div><div>Name: James</div><div>SIP URI: 1000@Y.Y.Y.Y <--- Local IP of EC2 server<br><div class="gmail_extra">SIP password: 1234</div><div class="gmail_extra">WS URI: ws://X.X.X.X:5066 <--- Public IP of EC2 server<br clear="all">
<div><div dir="ltr"><br></div></div><div>Hope this helps!</div><span><font color="#888888"><div>James</div></font></span><div><div>
<br><br><div class="gmail_quote"><br></div></div></div></div></div></div></blockquote></div></div></div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>
</blockquote></div><br></div></div>