<p></p>
<p>Hello <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/henningw/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/henningw">@henningw</a>,</p>
<p>I checked usage of cscf_get_ue_via function. And I saw ims_ipsec_pcscf, ims_qos, ims_registrar_pcscf module are using this function.</p>
<p>All of them are pcscf modules.</p>
<p>ims_usrloc_pcscf keeps a hashtable to keep the pcscf contacts. And hash code is calculated with UE's IP address. To get UE's IP address we are currently using cscf_get_ue_via function.</p>
<p>In pull request , we will change the cscf_get_ue_via with cscf_get_ue_last_via in ims_registrar_pcscf_registrar module only. So contact will be saved into hash table with the return value of cscf_get_ue_last_via.</p>
<p>Since we will not change ims_ipsec_pcscf and ims_qos modules, they will query hash table with the return value of cscf_get_ue_via. Since these module will not use the same function to get UE's IP adress, they may get a different value and may not reach the contact in the hash table. because calculated hash code will be different.</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/issues/2864#issuecomment-949359358">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJNBSS5M3QYWVMLHETUIEGOVANCNFSM5E6NWBGA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZJTTN2NB426YPSQNALUIEGOVA5CNFSM5E6NWBGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHCLBF7Q.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/issues/2864#issuecomment-949359358",
"url": "https://github.com/kamailio/kamailio/issues/2864#issuecomment-949359358",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>