<div dir="ltr">Hi all,<div>The changes were made a long time ago. What I can say is that I confirm with both of you. I will add a new option and return the original behaviour following the RFC.</div><div><br></div><div>BR</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 13, 2022 at 11:12 PM Henning Westerholt <<a href="mailto:hw@gilawa.com" target="_blank">hw@gilawa.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">Hello,<br>
<br>
I think you are right; a registrar should respond with multiple bindings in case of multiple bindings.<br>
<br>
There might be a good reason for this change, maybe Aleksandar can comment.<br>
But with my current information I would say it should be probably made configurable; keeping the previous behaviour according to the standard as default.<br>
<br>
Cheers,<br>
<br>
Henning<br>
<br>
-- <br>
Henning Westerholt - <a href="https://skalatan.de/blog/" rel="noreferrer" target="_blank">https://skalatan.de/blog/</a><br>
Kamailio services - <a href="https://gilawa.com" rel="noreferrer" target="_blank">https://gilawa.com</a><br>
<br>
-----Original Message-----<br>
From: sr-dev <<a href="mailto:sr-dev-bounces@lists.kamailio.org" target="_blank">sr-dev-bounces@lists.kamailio.org</a>> On Behalf Of Scherney Theodor<br>
Sent: Friday, June 10, 2022 9:34 AM<br>
To: <a href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a><br>
Subject: [sr-dev] - ims_registrar_scscf: fix multiple contacts in 200OK<br>
<br>
Dear developer,<br>
<br>
we have a question about the reasons of the changes made in this commit to Kamailio module ims_registrar_scscf<br>
<br>
commit 23341c60519bd3e8eb91974c7aca0b283735665e<br>
Author: Aleksandar Yosifov <a href="mailto:alexyosifov@gmail.com" target="_blank">alexyosifov@gmail.com</a><br>
Date:   Thu May 7 15:51:34 2020 +0300<br>
ims_registrar_scscf: fix multiple contacts in 200OK<br>
- Prevent sending of multiple contacts in 200OK reply<br>
  for UE Re-Registration. Now S-CSCF replies with the<br>
  exact contact for Re-Registration.<br>
<br>
We read in Section 10.3 "Processing REGISTER Requests" of the RFC3261 ( <a href="https://datatracker.ietf.org/doc/html/rfc3261#section-10.3" rel="noreferrer" target="_blank">https://datatracker.ietf.org/doc/html/rfc3261#section-10.3</a> ) :<br>
<br>
8. The registrar returns a 200 (OK) response.  The response MUST contain Contact header field values enumerating all current bindings.<br>
<br>
We have a test case where for one single IMPU there are two different consecutive REGISTER using different combination of IP/port.<br>
Running our testcase on a version previous your commit, the 200OK of the second registration lists 2 bindings (correctly, as we expect by the RFC). After your commit, in this testcase, the 200OK lists only one binding. It seems that the changes in your commit do not match the RFC specifications. Can you please explain why these changes have been made?<br>
<br>
Thanks and Kind Regards,<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Development Mailing List <a href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
<br>
_______________________________________________<br>
Kamailio (SER) - Development Mailing List<br>
<a href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</blockquote></div>