<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hello,</span><div style="font-family:arial,sans-serif;font-size:13px"><br>Probably a silly question, but does your xhttp event_route go on to actually handle the WebSockets handshake?</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">There is an example websocket.cfg in the examples directory in Git.  Have you tried using this?</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Peter</div><div class="" style="font-family:arial,sans-serif;font-size:13px"></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 19 March 2014 15:50, Olle E. Johansson <span dir="ltr"><<a href="mailto:oej@edvina.net" target="_blank">oej@edvina.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=""><br>
On 19 Mar 2014, at 16:46, jaflong jaflong <<a href="mailto:jaflong@yandex.com">jaflong@yandex.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> What are the requirements for connecting with tls/wss.<br>
><br>
> I have not come across any information or example for this.<br>
><br>
> My config is working when the client uses ws. However if I change this to use wss, (this is it only paramter I change) it does not work.<br>
> I understand Kamailio does not support DTLS, I set the jssip client DtlsSrtpKeyAgreement to false to disable this, I also set the tls option to not require or verify certicficates and it still does not work.<br>
</div>Kamailio has nothing to do with DTLS - it's in the media layer, not in the signalling.<br>
<div class=""><br>
><br>
> What if other considaerstion do I need to check?<br>
</div>Check if normal SIP/TLS works and if you can connect with a web browser. There is a TLS debugging page on the Kamailio wiki with a lot of helpful tips and tricks. We might want to add WSS to that page.<br>
<span class="HOEnZb"><font color="#888888"><br>
/O<br>
</font></span><div class="HOEnZb"><div class="h5">><br>
><br>
> thanks<br>
><br>
> _______________________________________________<br>
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
> <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users<br clear="all"><div><br></div>-- <br><div dir="ltr"><div><font face="courier new, monospace">Peter Dunkley</font></div>
<div><font face="courier new, monospace">Technical Director</font></div><div><font face="courier new, monospace">Acision</font></div></div>
</a></div></div>
</blockquote></div></div>