<div dir="ltr"><div dir="ltr">On Tue, Oct 1, 2019 at 4:29 PM Ciprian Dosoftei <<a href="mailto:ciprian.dosoftei@gmail.com" target="_blank">ciprian.dosoftei@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><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"><div class="gmail_quote"><div>Nathan --</div><div><br></div><div>> So this is a know issue?</div><div>> We are using SIP.js on the web side and Libre SIP stack for iOS and Android, both have issues with this bug</div><div><br></div><div>I am not sure whether the observed behaviour is an issue per se; FreeSWITCH itself considers the presented endpoint (the UDP one) as legitimate as it definitely listens to requests, it could eventually honour, on the provided host:port combination.</div></div></div></blockquote><div><br></div><div>It may be a legitimate port (wish it was not), but we only have port 443 SIP over WSS open in the firewall.</div><div><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"><div class="gmail_quote"><div>This is likely a matter of semantics, but I think the RFC might favour the current behaviour since the Contact endpoint is expected to be global (i.e. function outside of the current dialog).</div></div></div></blockquote><div><br></div><div>Not sure how it can be expected behavior to use a SIP UDP 5060 contact over a WSS interface that has no way of talking to SIP UDP 5060. </div><div><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"><div class="gmail_quote">Back to the matter at hand, when terminating call that's ringing, the CANCEL is properly handled by the server when dispatched over the existing websocket connection; I've tested this with a default FS install and a slightly modified version of the sip.js demo here: <a href="https://sipjs.com/guides/full-demo-app/" target="_blank">https://sipjs.com/guides/full-demo-app/<br></a></div></div></blockquote><div><br></div><div>How did you modify SIP.js? </div><div><br></div><div>-Nathan </div></div></div>