<p></p>
<p>Hi,<br>
I just tested my change and reginfo enabled in PCSCF configuration. I got the same result as you.<br>
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?<br>
Here is an example of NOTIFY for the SUBSCRIBE from the UE to the S-CSCF after re-registration. For each  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.</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/47529095/78913486-bf817380-7a91-11ea-8331-fd21f1e960e3.png"><img src="https://user-images.githubusercontent.com/47529095/78913486-bf817380-7a91-11ea-8331-fd21f1e960e3.png" alt="image" style="max-width:100%;"></a></p>
<p>Best regards!</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2246#issuecomment-611598564">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKPXMHK6I5XQGGK6Q3RLXUGNANCNFSM4LFZFD5Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZNLZVIYIHXKA3BGB2DRLXUGNA5CNFSM4LFZFD52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOER2EBZA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2246#issuecomment-611598564",
"url": "https://github.com/kamailio/kamailio/pull/2246#issuecomment-611598564",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>