<div dir="ltr"><div dir="ltr">Hello,<div><br></div><div>I am sending in attach a pcap with a call between two webrtc clients, that reproduces this scenario.</div><div>I am using as example the configuration at <a href="https://github.com/havfo/WEBRTC-to-SIP">https://github.com/havfo/WEBRTC-to-SIP</a> .</div><div>I apply this change on the kamailio configuration to reproduce this scenario:<br></div><div><br></div><div>@@ -350,6 +350,8 @@ request_route {<br> # authentication<br> route(AUTH);<br> <br>+ sdp_keep_codecs_by_name("VP8","video");<br>+ msg_apply_changes();<br> # record routing for dialog forming requests (in case they are routed)<br> # - remove preloaded route headers<br> remove_hf("Route");<br></div><div><br></div><div>Without this change, I can make calls between two webrtc clients.</div><div><br></div><div>Thanks for your help, so far.</div><div><br></div><div>Best regards,</div><div>Jose Lopes</div><div><br></div><div><br></div></div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 11, 2020 at 10:21 AM José Lopes <<a href="mailto:jose.lopes@itcenter.com.pt" target="_blank">jose.lopes@itcenter.com.pt</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>Sorry, I forgot to mention that, between the call of the two webrtc clients, there is a B2BUA that only supports SIP UDP and RTP, so I need to use rtpengine to translate from DTLS/SRTP to RTP.</div><div>I will try to make a call between the two webrtc clients and only use kamailio without rtpengine to limit the issue. </div><div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px;color:rgb(80,0,80)"><font size="2" face="verdana, sans-serif" color="#000000">Os melhores cumprimentos / Best regards,</font></div><div dir="ltr" style="font-size:12.8px;color:rgb(80,0,80)"><font size="2" face="verdana, sans-serif" color="#000000"><br></font></div><div dir="ltr" style="font-size:12.8px;color:rgb(80,0,80)"><font size="2" face="verdana, sans-serif"><font color="#000000"><b>José Lopes</b></font><br></font><span style="font-family:verdana,sans-serif;font-size:12.8px;color:black">Research </span><span style="font-family:verdana,sans-serif;font-size:12.8px;color:black">and</span><span style="font-family:verdana,sans-serif;font-size:12.8px;color:black"> </span><span style="font-family:verdana,sans-serif;font-size:12.8px;color:black">Development</span><span style="font-family:verdana,sans-serif;font-size:12.8px;color:black"> </span><span style="font-family:verdana,sans-serif;font-size:12.8px;color:black">Technician</span></div><div dir="ltr" style="font-size:12.8px"><font face="verdana, sans-serif" color="#000000"><br></font><table style="color:rgb(80,0,80);font-size:12.8px;font-family:Arial,Helvetica,sans-serif;width:600px;border-collapse:collapse"><tbody><tr><td style="font-size:13px;color:black"><table style="color:rgb(34,34,34);font-size:12.7273px;font-family:Arial,Helvetica,sans-serif;width:600px;border-collapse:collapse"><tbody><tr><td style="line-height:15px"><font size="2" face="verdana, sans-serif"><font color="#000000">Phone:</font><font color="#666666"> </font>+351 256 370 980<br></font></td></tr><tr><td style="line-height:15px"><font size="2" face="verdana, sans-serif"><font color="#000000">Email: </font><a href="mailto:jose.lopes@itcenter.com.pt" style="color:rgb(17,85,204)" target="_blank">jose.lopes@itcenter.com.pt</a></font><br></td></tr><tr style="display:block;width:600px;margin-top:10px"><td style="width:600px;padding:0px"><img src="http://www.itcenter.com.pt/app/themes/itcenter/assets/images/logo-itcenter.png?v=1"></td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 5, 2020 at 5:15 PM Juha Heinanen <<a href="mailto:jh@tutpro.com" target="_blank">jh@tutpro.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This 488 think reminds me that SIP over webrtc is broken.<br>
<br>
Webrtc UAS (at least JsSIP) cannot issue 488 before the UAS has started<br>
to ring. It is very frustrating for the callee to get such a spam ring.<br>
<br>
RFC3261 section "8.2 UAS Behavior" tells:<br>
<br>
Note that request processing is atomic. If a request is accepted,<br>
all state changes associated with it MUST be performed. If it is<br>
rejected, all state changes MUST NOT be performed.<br>
<br>
So it is against the standard to issue 180 and after that reject the<br>
request with 488.<br>
<br>
-- Juha<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
</blockquote></div>
</div>