[sr-dev] [kamailio/kamailio] ims_registrar_scscf: fix multiple contacts in NOTIFY (#2246)

alexyosifov notifications at github.com
Thu Apr 9 17:42:30 CEST 2020


Hi, 
I just tested my change and reginfo enabled in PCSCF configuration. I got the same result as you.
But the problem is that without my change there is an issue with the NOTIFY sent to the UE. If there are two or more contacts (for example after re-registration) the NOTIFY sent to the UE includes ALL these contacts. If there is more than one contact the UE starts re-registering after the least expiation time from all of the contacts in the NOTIFY. I had a look on the code I cannot find a way to fix the issue with the subscribe sent from PCSCF (reginfo enabled) and my fix for the NOTIFY. Would you please have a look and let me know if you have any suggestions?
Here is an example of NOTIFY for the SUBSCRIBE from the UE to the S-CSCF after re-registration. For each <registration aor> there is two contacts - the old one (expires=163 sec) and the new one (expires=299 sec). This is the problem - the UE starts re-registering with the least time - 163 sec.

![image](https://user-images.githubusercontent.com/47529095/78913486-bf817380-7a91-11ea-8331-fd21f1e960e3.png)

Best regards!

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2246#issuecomment-611598564
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200409/d4b643b5/attachment.html>


More information about the sr-dev mailing list