<div dir="ltr">Hi,<div>Check this one d772f47ba196633c53504677103626ecc1904d54 from master.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 20, 2022 at 12:29 PM Scherney Theodor <<a href="mailto:Theodor.Scherney@kontron.com">Theodor.Scherney@kontron.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">Hi,<br>
<br>
Thanks!<br>
Can you please give me details about the commit, to fall back to that changes.<br>
<br>
BR<br>
<br>
-----Ursprüngliche Nachricht-----<br>
Von: sr-dev <<a href="mailto:sr-dev-bounces@lists.kamailio.org" target="_blank">sr-dev-bounces@lists.kamailio.org</a>> Im Auftrag von Ovidiu Sas<br>
Gesendet: Dienstag, 14. Juni 2022 19:58<br>
An: Kamailio (SER) - Development Mailing List <<a href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a>><br>
Cc: Aleksandar Yosifov <<a href="mailto:alexyosifov@gmail.com" target="_blank">alexyosifov@gmail.com</a>><br>
Betreff: Re: [sr-dev] - ims_registrar_scscf: fix multiple contacts in 200OK<br>
<br>
[You don't often get email from <a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>. Learn why this is important at <a href="https://aka.ms/LearnAboutSenderIdentification" rel="noreferrer" target="_blank">https://aka.ms/LearnAboutSenderIdentification</a> ]<br>
<br>
For greater flexibility, the option should not be a module param, instead a flag for save, so the two options can be used simultaneously.<br>
Also, all the functions provided by the ims_registrar_scscf should have the "scscf_" prefix, just like the ims_registrar_pcscf module to avoid overlapping with the generic registrar module.<br>
<br>
-ovidiu<br>
<br>
<br>
On Tue, Jun 14, 2022 at 10:59 AM Aleksandar Yosifov <<a href="mailto:a.v.yosifov@gmail.com" target="_blank">a.v.yosifov@gmail.com</a>> wrote:<br>
><br>
> Hi all,<br>
> 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.<br>
><br>
> BR<br>
><br>
> 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>
>><br>
>> 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 - <br>
>> <a href="https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fska" rel="noreferrer" target="_blank">https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fska</a><br>
>> <a href="http://latan.de" rel="noreferrer" target="_blank">latan.de</a>%2Fblog%2F&amp;data=05%7C01%7Ctheodor.scherney%<a href="http://40kontron.com" rel="noreferrer" target="_blank">40kontron.com</a>%<br>
>> 7C500060a09bf447dadf3f08da4e2f98b0%7C8c9d3c973fd941c8a2b1646f3942daf1<br>
>> %7C0%7C0%7C637908263631287730%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA<br>
>> wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&a<br>
>> mp;sdata=UZfXR2G5v9MMjogqTCPes%2Blx%2FBTcJTrzA9082rIFv%2Fo%3D&amp;res<br>
>> erved=0 Kamailio services - <br>
>> <a href="https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgil" rel="noreferrer" target="_blank">https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgil</a><br>
>> <a href="http://awa.com" rel="noreferrer" target="_blank">awa.com</a>%2F&amp;data=05%7C01%7Ctheodor.scherney%<a href="http://40kontron.com" rel="noreferrer" target="_blank">40kontron.com</a>%7C500060<br>
>> a09bf447dadf3f08da4e2f98b0%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0<br>
>> %7C637908263631287730%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJ<br>
>> QIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata<br>
>> =yReM%2FnleLQ%2F6Ij2FVnI%2B3C8gmb7JYBjQRSw2OujcIeo%3D&amp;reserved=0<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 <br>
>> 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 <br>
>> 200OK<br>
>><br>
>> Dear developer,<br>
>><br>
>> we have a question about the reasons of the changes made in this <br>
>> 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://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Frfc3261%23section-10.3&amp;data=05%7C01%7Ctheodor.scherney%40kontron.com%7C500060a09bf447dadf3f08da4e2f98b0%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637908263631287730%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=iRljjgDnOQqEMMKqqH8bKfiWd%2FEhjpq%2FNz2t6WD%2B5ik%3D&amp;reserved=0" rel="noreferrer" target="_blank">https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Frfc3261%23section-10.3&amp;data=05%7C01%7Ctheodor.scherney%40kontron.com%7C500060a09bf447dadf3f08da4e2f98b0%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637908263631287730%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=iRljjgDnOQqEMMKqqH8bKfiWd%2FEhjpq%2FNz2t6WD%2B5ik%3D&amp;reserved=0</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> <br>
>> <a href="https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flis" rel="noreferrer" target="_blank">https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flis</a><br>
>> <a href="http://ts.kamailio.org" rel="noreferrer" target="_blank">ts.kamailio.org</a>%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-dev&amp;data=05%7<br>
>> C01%7Ctheodor.scherney%<a href="http://40kontron.com" rel="noreferrer" target="_blank">40kontron.com</a>%7C500060a09bf447dadf3f08da4e2f98<br>
>> b0%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637908263631287730%7C<br>
>> Unknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1<br>
>> haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=sKn1uNyrIob1Wda22ZmEvay<br>
>> %2FnIk6hn7hQ6IzyBBDNyU%3D&amp;reserved=0<br>
>><br>
>> _______________________________________________<br>
>> Kamailio (SER) - Development Mailing List <a href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a><br>
>> <a href="https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flis" rel="noreferrer" target="_blank">https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flis</a><br>
>> <a href="http://ts.kamailio.org" rel="noreferrer" target="_blank">ts.kamailio.org</a>%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-dev&amp;data=05%7<br>
>> C01%7Ctheodor.scherney%<a href="http://40kontron.com" rel="noreferrer" target="_blank">40kontron.com</a>%7C500060a09bf447dadf3f08da4e2f98<br>
>> b0%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637908263631287730%7C<br>
>> Unknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1<br>
>> haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=sKn1uNyrIob1Wda22ZmEvay<br>
>> %2FnIk6hn7hQ6IzyBBDNyU%3D&amp;reserved=0<br>
><br>
> _______________________________________________<br>
> Kamailio (SER) - Development Mailing List <a href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a><br>
> <a href="https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist" rel="noreferrer" target="_blank">https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist</a><br>
> <a href="http://s.kamailio.org" rel="noreferrer" target="_blank">s.kamailio.org</a>%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-dev&amp;data=05%7C0<br>
> 1%7Ctheodor.scherney%<a href="http://40kontron.com" rel="noreferrer" target="_blank">40kontron.com</a>%7C500060a09bf447dadf3f08da4e2f98b0%<br>
> 7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637908263631287730%7CUnkn<br>
> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi<br>
> LCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=sKn1uNyrIob1Wda22ZmEvay%2FnIk<br>
> 6hn7hQ6IzyBBDNyU%3D&amp;reserved=0<br>
<br>
<br>
<br>
--<br>
VoIP Embedded, Inc.<br>
<a href="https://eur04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.voipembedded.com%2F&amp;data=05%7C01%7Ctheodor.scherney%40kontron.com%7C500060a09bf447dadf3f08da4e2f98b0%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637908263631287730%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=qCuLvenyth%2FClfEg8%2B2N6M9Agl%2BZNsHjxgABf3RkjFg%3D&amp;reserved=0" rel="noreferrer" target="_blank">https://eur04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.voipembedded.com%2F&amp;data=05%7C01%7Ctheodor.scherney%40kontron.com%7C500060a09bf447dadf3f08da4e2f98b0%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637908263631287730%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=qCuLvenyth%2FClfEg8%2B2N6M9Agl%2BZNsHjxgABf3RkjFg%3D&amp;reserved=0</a><br>
<br>
_______________________________________________<br>
Kamailio (SER) - Development Mailing List <a href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a><br>
<a href="https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-dev&amp;data=05%7C01%7Ctheodor.scherney%40kontron.com%7C500060a09bf447dadf3f08da4e2f98b0%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637908263631287730%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=sKn1uNyrIob1Wda22ZmEvay%2FnIk6hn7hQ6IzyBBDNyU%3D&amp;reserved=0" rel="noreferrer" target="_blank">https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-dev&amp;data=05%7C01%7Ctheodor.scherney%40kontron.com%7C500060a09bf447dadf3f08da4e2f98b0%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637908263631287730%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=sKn1uNyrIob1Wda22ZmEvay%2FnIk6hn7hQ6IzyBBDNyU%3D&amp;reserved=0</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>