[sr-dev] [kamailio/kamailio] SCSCF failing to send INVITE to application server. (Issue #3015)

SJ286 notifications at github.com
Thu Feb 3 13:28:37 CET 2022


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 at 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 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220203/cadebf5b/attachment.htm>


More information about the sr-dev mailing list