Hi,
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:405874000000955@ims.mnc874.mcc405.3gppnetwork.org;user=phone").
We observed that, kamailio treats user=phone URIs as tel URIs, following is the code
snippet
```
/* translate user=phone URIs to TEL URIs */
int phone2tel = 1;
```
sip-router-oob.cfg file has following comment
```
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
```
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.
#### We wanted to know that why "user=phone" URIs are treated as tel URIs ? Is
there any specific reason for this consideration?
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3015#issuecomment-1028940915
You are receiving this because you commented.
Message ID: <kamailio/kamailio/issues/3015/1028940915(a)github.com>