Migrating from chan_sip to res_pjsip

I have to state that the changeover to pjsip is not so easy, I suspect it is due to the dial plan, but I don’t know what to change, I get the error message SIP / 2.0 416 Unsupported URI Scheme what can that be?

What URI scheme were you using? You should really supply a lot more information.

chan_pjsip has limited, or no, support for tel: URIs, which are not required to be supported. In this case, you need to ensure that you are actually using sp or sips URIs.

PJSIP example:
From: “2222222” sip:2222222@telefonica.de;user=phone;tag=mavodi-__v~vuurtuxrtww__0-10d-f5-8-ffffffff-178f-_000000000000-158a-cdbc5700-39865-60103ff4-e2668
To: <tel:11111111;phone-context=ims.mnc003.mcc262.3gppnetwork.org>;tag=z9hG4bKmavodi-0-264-408-6-1000000-550000-5b6c904092da2-16a8-ffffffffffffffff-21de-447c0000-5b6c9040596db-4092050233-4779

As @david551 mentioned, tel URIs are not currently supported by PJSIP.

How can I change it works even with sip?
SIP example:
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx;branch=z9hG4bK2a5c76e2
To:sip:11111111@xxx.xxx.xxx.xxx;transport=udp
From: “22222222” sip:22222222@xxx.xxx.xxx.xxx;tag=as7cb2c5b5
Call-ID:53db8a816104010a28e517a3371b39c8@xxx.xxx.xxx.xxx
CSeq: 102 INVITE
Server: Twinkle/1.10.1
Content-Length: 0

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.