<div dir="ltr">Hi,<div>Because Term User is extracted from Request-URI. Just open INVITE msg from the attached pcap file and you will see that RURI is the same as in the log message "

tel:405874000000955".<br><div><br></div><div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;font-size:12px;line-height:16px;white-space:pre"><div><span style="color:rgb(86,156,214)">int</span> <span style="color:rgb(220,220,170)">cscf_get_terminating_user</span>( <span style="color:rgb(86,156,214)">struct</span> <span style="color:rgb(78,201,176)">sip_msg</span> * <span style="color:rgb(156,220,254)">msg</span>, <span style="color:rgb(78,201,176)">str</span> *<span style="color:rgb(156,220,254)">uri</span> )</div><div>{</div><div>    *<span style="color:rgb(156,220,254)">uri</span> = <span style="color:rgb(220,220,170)">cscf_get_public_identity_from_requri</span>(<span style="color:rgb(156,220,254)">msg</span>);</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 1, 2022 at 5:12 PM SJ286 <<a href="mailto:notifications@github.com">notifications@github.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"><p></p>

<p dir="auto">We are trying to test private VoLTE setup with real UEs using open5gs EPC , kamailio IMS and application server. We see INVITE request reaching till term-SCSCF with URL (sip:<a href="mailto:405874000000955@ims.mnc874.mcc405.3gppnetwork.org" target="_blank">405874000000955@ims.mnc874.mcc405.3gppnetwork.org</a>;user=phone) but it is not forwarding request to application server. SCSCF is trying to fetch IMPU record for application server with tel uri even though it receives SIP uri in INVITE message. Hence fails to reach application server.</p>

<p dir="auto">Could anyone help us on why 'isc_match_filter()' function is returning tel uri even though it is receiving sip uri in message?</p>

<p dir="auto">Attaching log and pcap for reference.</p>

<h4 dir="auto">SCSCF logs</h4>

<p dir="auto">�[33;1mscscf        |�[0m �[0;39;49m�[0;39;49m 3(34) DEBUG: ims_isc [ims_isc_mod.c:253]: isc_match_filter(): Starting triggering<br>

�[33;1mscscf        |�[0m �[0;39;49m�[0;39;49m 3(34) DEBUG: ims_isc [ims_isc_mod.c:323]: isc_match_filter(): Checking if ISC is for originating user<br>

�[33;1mscscf        |�[0m �[0;39;49m�[0;39;49m 3(34) DEBUG: ims_isc [ims_isc_mod.c:362]: isc_match_filter(): Checking if ISC is for terminating user<br>

�[33;1mscscf        |�[0m �[0;39;49m�[0;39;49m 3(34) DEBUG: ims_isc [ims_isc_mod.c:372]: isc_match_filter(): ISC is for Term user<br>

�[33;1mscscf        |�[0m �[0;39;49m�[0;39;49m 3(34) DEBUG: ims_isc [checker.c:586]: isc_is_registered(): Searching in usrloc<br>

�[33;1mscscf        |�[0m �[0;39;49m�[0;39;49m 3(34) DEBUG: ims_isc [checker.c:589]: isc_is_registered(): no record exists for [tel:405874000000955]<br>

�[33;1mscscf        |�[0m �[0;39;49m�[0;39;49m 3(34) DEBUG: ims_isc [ims_isc_mod.c:380]: isc_match_filter(): Term User tel:405874000000955 [0]<br>

�[33;1mscscf        |�[0m �[0;39;49m�[0;39;49m 3(34) DEBUG: ims_isc [ims_isc_mod.c:383]: isc_match_filter(): Checking if RURI has changed...comparing: <> and tel:405874000000955<br>

�[33;1mscscf        |�[0m �[0;39;49m�[0;39;49m 3(34) DEBUG: ims_isc [ims_isc_mod.c:390]: isc_match_filter(): Resuming triggering<br>

�[33;1mscscf        |�[0m �[0;39;49m�[0;39;49m 3(34) DEBUG: ims_isc [checker.c:586]: isc_is_registered(): Searching in usrloc<br>

�[33;1mscscf        |�[0m �[0;39;49m�[0;39;49m 3(34) DEBUG: ims_isc [checker.c:589]: isc_is_registered(): no record exists for [tel:405874000000955]<br>

�[33;1mscscf        |�[0m �[0;39;49m�[0;39;49m 3(34) DEBUG: ims_isc [checker.c:431]: isc_checker_find(): isc_checker_find: starting search<br>

�[33;1mscscf        |�[0m �[0;39;49m�[0;31;49m 3(34) ERROR: ims_isc [checker.c:448]: isc_checker_find(): Failure getting IMPU record for [tel:405874000000955] - ISC checker find METHOD: [INVITE]</p>

<p dir="auto"><a href="https://github.com/kamailio/kamailio/files/7979412/open5gs_test67.zip" target="_blank">open5gs_test67.zip</a></p>



<p style="font-size:small;color:rgb(102,102,102)">—<br>Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3015" target="_blank">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLAPRT2H7RL677EHQDUY7Z2NANCNFSM5NJNKTBQ" target="_blank">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" target="_blank">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" target="_blank">Android</a>.

<br>You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZJGMXU4CXKW3OBMJXLUY7Z2NA5CNFSM5NJNKTB2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4QWOIIBQ.gif" height="1" width="1" alt=""><span style="color:transparent;font-size:0px;display:none;overflow:hidden;opacity:0;width:0px;height:0px;max-width:0px;max-height:0px">Message ID: <span><kamailio/kamailio/issues/3015</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>

_______________________________________________<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>