<div dir="ltr">Eric,<div><br></div><div>Thank you that worked flawlessly.</div><div><br></div><div><br></div><div>Thanks,</div><div>Tito</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 12, 2016 at 5:01 PM, Eric Tamme <span dir="ltr"><<a href="mailto:eric@uphreak.com" target="_blank">eric@uphreak.com</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" text="#000000">
For wss to work, your site must be https, and your sip server must
be wss. You can not downgrade the connection anywhere. Also if you
are linking to sip.js, the url MUST ALSO BE https e.g: <br>
<pre><span><<span>script</span> <span>type</span>="<a>text/javascript</a>" <span>src</span>="<a>https://cdn.rawgit.com/onsip/SIP.js/0.7.2/dist/sip-0.7.2.min.js</a>"></span><span></span><span></<span>script</span>></span><span></span></pre>
<br>
For 2.X you must use the new tls_mgm module as the cert management
is now shared between tls and wss.<br>
<br>
for example:<br>
<br>
listen=<a>wss:123.456.789.987:443</a><br>
listen=tls:123.456.789.987:5061<br>
<br>
loadmodule "tls_mgm.so"<br>
loadmodule "proto_tls.so"<br>
loadmodule "proto_wss.so"<br>
<br>
<br>
modparam("tls_mgm",
"certificate","/etc/letsencrypt/live/<a href="http://acme.com/cert.pem" target="_blank">acme.com/cert.pem</a>")<br>
modparam("tls_mgm",
"private_key","/etc/letsencrypt/live/<a href="http://acme.com/privkey.pem" target="_blank">acme.com/privkey.pem</a>")<br>
<br>
<br>
I am using sip.js 0.7.2 with latest master from opensips and doing
full https + wss<span class="HOEnZb"><font color="#888888"><br>
<br>
-Eric</font></span><div><div class="h5"><br>
<br>
<br>
<div>On 01/12/2016 02:54 PM, Tito Cumpen
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Do Nguyen Ha,
<div><br>
</div>
<div>I was getting errors about the ws destination being
unencrypted when using sip.js.</div>
<div><br>
</div>
<div><br>
</div>
<div>Razvan or community,</div>
<div><br>
</div>
<div>What cert configuration does it utilize? does it take it
from the tls configuration?</div>
<div><br>
</div>
<div><a href="http://www.opensips.org/Documentation/Tutorials-TLS-2-1" target="_blank">http://www.opensips.org/Documentation/Tutorials-TLS-2-1</a><br>
</div>
<div><br>
</div>
<div>In this tutorial I see the protocol being defined. Would
these settings apply or would a respective proto_wss have to
be provided in the config?</div>
<div><br>
</div>
<div><br>
Thanks,</div>
<div>Tito</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jan 5, 2016 at 7:17 AM, Do
Nguyen Ha <span dir="ltr"><<a href="mailto:donguyenha@gmail.com" target="_blank">donguyenha@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">hi Tito</p>
<p dir="ltr">i did test the webrtc with chrome version 47.
we only need to setup web server with HTTPS only that
point to jssip source code. the jssip should works
properly </p>
<p dir="ltr">there is no need wss on opensips server - just
use ws on opensips</p>
<p dir="ltr">thank you</p>
<div>
<div>
<div class="gmail_quote">On Jan 5, 2016 5:53 PM, "Tito
Cumpen" <<a href="mailto:tito@xsvoce.com" target="_blank">tito@xsvoce.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Hey Razvan,</p>
<p dir="ltr">Any updates on wss? </p>
<div class="gmail_quote">On Dec 7, 2015 12:35 PM,
"Tito Cumpen" <<a href="mailto:tito@xsvoce.com" target="_blank">tito@xsvoce.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hey Răzvan,
<div><br>
</div>
<div>Any updates on this? Getuser media has
been disabled when using http and using
https enforces wss on chrome.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Tito</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Nov 20, 2015
at 4:44 AM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank"></a><a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.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" text="#000000"> <tt>Hi,
Tito!<br>
<br>
I am working on it. I have already
started a local branch and started
coding, hopefully it will be public by
the end of the month.<br>
<br>
Best regards,<br>
</tt><span>
<pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
</span>
<div>
<div>
<div>On 11/19/2015 07:35 PM, Tito
Cumpen wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Razvan,
<div><br>
</div>
<div><br>
</div>
<div>Is there currently a
timeline for wss as of now? I
can aid in testing if needed.</div>
<div><br>
</div>
<div><br>
<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed,
Nov 4, 2015 at 1:25 PM, Tito
Cumpen <span dir="ltr"><<a href="mailto:tito@xsvoce.com" target="_blank"></a><a href="mailto:tito@xsvoce.com" target="_blank">tito@xsvoce.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">Razvan,
<div><br>
</div>
<div><br>
Thanks for the reply.
Can't wait to try this
feature out.</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On
Tue, Nov 3, 2015 at
3:32 AM, Răzvan
Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank"></a><a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.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" text="#000000">
<tt>Hi, Tito!<br>
<br>
Yes, we have
WSS support on
top of our
priorities,
and most
likely will be
released with
the next
OpenSIPS 2.2.<br>
<br>
Best regards,<br>
</tt>
<pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
<div>
<div>
<div>On
10/16/2015
01:41 AM, Tito
Cumpen wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">To
opensips devs.
<div><br>
</div>
<div><br>
</div>
<div>Are there
any plans to
support wss?
Currently
chrome will
not allow for
an unsecure
websocket to
be initiated
when using
https. They
also threaten
to remove
getusermedia
when using
ws. </div>
<div><br>
</div>
<div><a href="https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins" target="_blank"></a><a href="https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins" target="_blank">https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins</a><br>
</div>
<div><br>
</div>
<div>Please
advise. I am
working on a
project that
depends on
this.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Tito</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank"></a><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank"></a><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>