<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><style><!--

@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Times New Roman \(Body CS\)";
        panose-1:2 11 6 4 2 2 2 2 2 4;}

p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></div><div>If by "failed on kamailiio restart", you mean than the WebRTC conection get closes, that's normal ... It's a TCP conection, that when you restart Kamailio, will be closed.</div><div><br data-mce-bogus="1"></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Johnny Ritzer" <sudoritz@gmail.com><br><b>To: </b>"Kamailio" <sr-users@lists.kamailio.org><br><b>Sent: </b>Tuesday, August 11, 2020 6:57:44 AM<br><b>Subject: </b>[SR-Users] Example config for webRTC-SIP kamailio.cfg for sip.js<br></div><div><br></div><div data-marker="__QUOTED_TEXT__">






<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Anyone know where to grab an example config for getting web socket-sip working.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I tried this one but its failing on kamailio restart it might be some very small thing.
</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><a href="https://github.com/havfo/WEBRTC-to-SIP/blob/master/etc/kamailio/kamailio.cfg" target="_blank">https://github.com/havfo/WEBRTC-to-SIP/blob/master/etc/kamailio/kamailio.cfg</a></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">wss://sip.kamailio-box.com:8080</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Client = sip.js (webrtc)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">SIP server = (mitel) PBX (straight sip)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
</div>


<br>_______________________________________________<br>Kamailio (SER) - Users Mailing List<br>sr-users@lists.kamailio.org<br>https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users<br></div></div></body></html>