<p></p>
<p dir="auto">Hi,<br>
UE is sending INVITE with tel URI, and this tel URI is converted into SIP before reaching term-SCSCF ("tel2sip" function converts tel uri to sip uri). URI is converted to SIP with "user=phone" parameters appended to it.(coverted URI:-"sip:<a href="mailto:405874000000955@ims.mnc874.mcc405.3gppnetwork.org">405874000000955@ims.mnc874.mcc405.3gppnetwork.org</a>;user=phone").</p>
<p dir="auto">We observed that, kamailio treats user=phone URIs as tel URIs, following is the code snippet</p>
<pre><code>/* translate user=phone URIs to TEL URIs */
int phone2tel = 1;
</code></pre>
<p dir="auto">sip-router-oob.cfg file has following comment</p>
<pre><code>phone2tel=no            # ignore user=phone in request-URIs -- otherwise
                        # these URIs would be interpreted as equivalent
                        # to TEL URIs, and their lookup would fail in URI
                        # database
</code></pre>
<p dir="auto">We were facing same issue, as it was failing in lookup for application server's information from database. After setting phone2tel=0, issue got resolved. SCSCF used SIP URI for lookup, it could retrieve application server's information and INVITE was sent to application server.</p>
<h4 dir="auto">We wanted to know that why "user=phone" URIs are treated as tel URIs ? Is there any specific reason for this consideration?</h4>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3015#issuecomment-1028940915">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKYWOPHCHNBQRTNZVTUZJYHLANCNFSM5NJNKTBQ">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>.
<br />You are receiving this because you commented.<img src="https://github.com/notifications/beacon/ABO7UZNMYVACXLFR6TGGELTUZJYHLA5CNFSM5NJNKTB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHVKGI4Y.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3015/1028940915</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3015#issuecomment-1028940915",
"url": "https://github.com/kamailio/kamailio/issues/3015#issuecomment-1028940915",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>