TEl URI on Asterisk

Hai Everyone,

I have an Asterisk Asterisk 16.16.2 server instaled on CentOS Linux release 7.9.2009 (Core). Having the SIP Trunk from Telecom operator which is working with chan_sip but the same is tested with chan_pjsip and with that am facing the issue of call disconnection.

As checked the SIP Trunk provided the SIP trunk TEL URI which is working with chan_sip but not with chan_pjsip and while calls getting disconnected from asterisk with SIP Response as SIP/2.0 416 Unsupported URI Scheme

Below are some of the pjsip logger logs. Whether Asterisk support TEL URI on PJSIP or it will work only with chan_sip ?

ip-10-10-5-4*CLI>
<— Transmitting SIP request (587 bytes) to UDP:10.10.10.10:5060 —>
REGISTER sip:ims.telecom.in SIP/2.0
Via: SIP/2.0/UDP 10.10.5.4:5060;rport;branch=z9hG4bKPj4e4485d8-5e0f-40b1-96b9-e399a417f080
From: sip:+912244444444@ims.telecom.in;tag=58f31eab-f2df-4830-b92f-943fa58a0c80
To: sip:+912244444444@ims.telecom.in
Call-ID: 5a1faf56-6727-42e5-9209-736e86e3b7d1
CSeq: 39775 REGISTER
Contact: sip:+912244444444@10.10.5.4:5060
Expires: 3600
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Route: sip:ims.telecom.in
Max-Forwards: 70
User-Agent: Custom Telephony
Content-Length: 0

<— Received SIP response (453 bytes) from UDP:10.10.10.10:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.5.4:5060;branch=z9hG4bKPj4e4485d8-5e0f-40b1-96b9-e399a417f080;rport=5060
Call-ID: 5a1faf56-6727-42e5-9209-736e86e3b7d1
From: sip:+912244444444@ims.telecom.in;tag=58f31eab-f2df-4830-b92f-943fa58a0c80
To: sip:+912244444444@ims.telecom.in;tag=mu4slunt
CSeq: 39775 REGISTER
WWW-Authenticate: Digest realm=“ims.telecom.in”,nonce=“9XpfvwcePx/Vj5K2pVe+5w==”,algorithm=MD5,qop=“auth”
Content-Length: 0

<— Transmitting SIP request (843 bytes) to UDP:10.10.10.10:5060 —>
REGISTER sip:ims.telecom.in SIP/2.0
Via: SIP/2.0/UDP 10.10.5.4:5060;rport;branch=z9hG4bKPj8c9592f8-47ed-4df6-987c-a7053ad4dc7f
From: sip:+912244444444@ims.telecom.in;tag=58f31eab-f2df-4830-b92f-943fa58a0c80
To: sip:+912244444444@ims.telecom.in
Call-ID: 5a1faf56-6727-42e5-9209-736e86e3b7d1
CSeq: 39776 REGISTER
Contact: sip:+912244444444@10.10.5.4:5060
Expires: 3600
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Max-Forwards: 70
User-Agent: Custom Telephony
Authorization: Digest username="+912244444444", realm=“ims.telecom.in”, nonce=“9XpfvwcePx/Vj5K2pVe+5w==”, uri=“sip:ims.telecom.in”, response=“e2fc16113fd71fef58eb98a1930d727b”, algorithm=MD5, cnonce=“6f11d440d10e4c9ba0767c1cea3ecfcd”, qop=auth, nc=00000001
Route: sip:ims.telecom.in
Content-Length: 0

<— Received SIP response (600 bytes) from UDP:10.10.10.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.5.4:5060;branch=z9hG4bKPj8c9592f8-47ed-4df6-987c-a7053ad4dc7f;rport=5060
Call-ID: 5a1faf56-6727-42e5-9209-736e86e3b7d1
From: sip:+912244444444@ims.telecom.in;tag=58f31eab-f2df-4830-b92f-943fa58a0c80
To: sip:+912244444444@ims.telecom.in;tag=svelmmt6
CSeq: 39776 REGISTER
Accept-Resource-Priority: wps.4
P-Associated-URI: sip:+912244444444@ims.telecom.in,sip:pbx2244444444,sip:+91224369!.*!@ims.telecom.in;user=phone,sip:+91224369!.*!@ims.telecom.in,tel:+912244444444
Contact: sip:+912244444444@10.10.5.4:5060;expires=3600
Content-Length: 0

ip-10-10-5-4CLI>
ip-10-10-5-4
CLI>
ip-10-10-5-4CLI>
ip-10-10-5-4
CLI>
ip-10-10-5-4CLI>
ip-10-10-5-4
CLI>
<— Received SIP request (1206 bytes) from UDP:10.10.10.10:5060 —>
INVITE sip:+912244444445@ims.telecom.in SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bKp5tptsppj8j5tl2t5l8o1ztlo;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: sip:01234567890@ims.telecom.in;tag=xcc4zzde
To: sip:+912244444445@ims.telecom.in
CSeq: 1 INVITE
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,PRACK,NOTIFY,MESSAGE,REFER,UPDATE
Contact: sip:10.10.10.10:5060;Dsp=ec1a-200;Dpt=75d8-400;Hpt=9082_16;CxtId=4;TRC=ffffffff-ffffffff
Max-Forwards: 64
Supported: timer,100rel,histinfo
Session-Expires: 1800
Min-SE: 600
P-Asserted-Identity: tel:01234567890
P-Charging-Vector: icid-value=AE888F2418100520211115235625;orig-ioi=10.232.136.242;term-ioi=SIP_83638_Custom_2244444444
P-Early-Media: gated
Content-Length: 380
Content-Type: application/sdp

v=0
o=- 121581750 121581750 IN IP4 10.10.10.11
s=SBC call
c=IN IP4 10.10.10.11
t=0 0
m=audio 48166 RTP/AVP 108 102 8 0 18 116
a=rtpmap:108 AMR/8000
a=fmtp:108 mode-change-neighbor=1;mode-change-period=2
a=rtpmap:102 AMR/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:116 telephone-event/8000
a=ptime:20
a=maxptime:20
a=3gOoBTC

<— Transmitting SIP response (375 bytes) to UDP:10.10.10.10:5060 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;received=10.10.10.10;branch=z9hG4bKp5tptsppj8j5tl2t5l8o1ztlo;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: sip:01234567890@ims.telecom.in;tag=xcc4zzde
To: sip:+912244444445@ims.telecom.in
CSeq: 1 INVITE
Server: Custom Telephony
Content-Length: 0

-- Executing [+912244444445@trunkinbound:1] NoOp("PJSIP/telecom-sip-trunk-000000d1", "<sip:+912244444445@ims.telecom.in>") in new stack
-- Executing [+912244444445@trunkinbound:2] Goto("PJSIP/telecom-sip-trunk-000000d1", "default_inbound,+912244444445,1") in new stack
-- Goto (default_inbound,+912244444445,1)
-- Executing [+912244444445@default_inbound:1] Answer("PJSIP/telecom-sip-trunk-000000d1", "") in new stack
   > 0x7fb6cc01e3f0 -- Strict RTP learning after remote address set to: 10.10.10.11:48166

<— Transmitting SIP response (918 bytes) to UDP:10.10.10.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;received=10.10.10.10;branch=z9hG4bKp5tptsppj8j5tl2t5l8o1ztlo;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: sip:01234567890@ims.telecom.in;tag=xcc4zzde
To: sip:+912244444445@ims.telecom.in;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 INVITE
Server: Custom Telephony
Contact: sip:10.10.5.4:5060
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 229

v=0
o=- 121581750 121581752 IN IP4 10.10.5.4
s=Asterisk
c=IN IP4 10.10.5.4
t=0 0
m=audio 15772 RTP/AVP 8 116
a=rtpmap:8 PCMA/8000
a=rtpmap:116 telephone-event/8000
a=fmtp:116 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

ip-10-10-5-4CLI>
ip-10-10-5-4
CLI>
ip-10-10-5-4*CLI>
<— Received SIP request (820 bytes) from UDP:10.10.10.10:5060 —>
NOTIFY tel:+912244444445 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bK7d76r3m7370g7m10ug7juh7fe;Role=3;Hpt=8e92_36;X-HwDim=4
Call-ID: asbcd1c51x1zzf2ixgffcn2g5c2z85ni2fgi@10.10.10.12
From: tel:+912244444445;tag=bzx12xeg
To: tel:+912244444445
CSeq: 1 NOTIFY
Contact: sip:10.10.10.10:5060;Dsp=ec1a-200;Hpt=8e92_16;CxtId=4;TRC=ffffffff-ffffffff
Max-Forwards: 67
Supported: 100rel
Event: ua-profile
Subscription-State: active
P-Asserted-Identity: tel:+912244444445
P-Charging-Vector: icid-value=ATS9900-202111152356260273942;term-ioi=SIP_83638_Custom_2244444444
Content-Length: 158
Content-Type: application/simservs+xml

<?xml version="1.0"?> standard-dial-tone

<— Transmitting SIP response (395 bytes) to UDP:10.10.10.10:5060 —>
SIP/2.0 416 Unsupported URI Scheme
Via: SIP/2.0/UDP 10.10.10.10:5060;received=10.10.10.10;branch=z9hG4bK7d76r3m7370g7m10ug7juh7fe;Role=3;Hpt=8e92_36;X-HwDim=4
Call-ID: asbcd1c51x1zzf2ixgffcn2g5c2z85ni2fgi@10.10.10.12
From: tel:+912244444445;tag=bzx12xeg
To: tel:+912244444445;tag=z9hG4bK7d76r3m7370g7m10ug7juh7fe
CSeq: 1 NOTIFY
Server: Custom Telephony
Content-Length: 0

ip-10-10-5-4*CLI>
<— Received SIP request (536 bytes) from UDP:10.10.10.10:5060 —>
ACK sip:10.10.5.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bKjtttppslyj112t30ttp5p2bb8;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: "01234567890"tel:01234567890;noa=national;srvattri=national;phone-context=+91;tag=xcc4zzde
To: tel:+912244444445;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 ACK
Max-Forwards: 65
P-Charging-Vector: icid-value=AE888F2418100520211115235625;orig-ioi=10.232.136.242;term-ioi=SIP_83638_Custom_2244444444
Content-Length: 0

   > 0x7fb6cc01e3f0 -- Strict RTP switching to RTP target address 10.10.10.11:48166 as source
-- Executing [+912244444445@default_inbound:2] Playback("PJSIP/telecom-sip-trunk-000000d1", "macroform-cold_day") in new stack
-- <PJSIP/telecom-sip-trunk-000000d1> Playing 'macroform-cold_day.slin' (language 'en')

ip-10-10-5-4CLI>
ip-10-10-5-4
CLI>
ip-10-10-5-4CLI>
ip-10-10-5-4
CLI>
ip-10-10-5-4*CLI>
<— Transmitting SIP response (918 bytes) to UDP:10.10.10.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;received=10.10.10.10;branch=z9hG4bKp5tptsppj8j5tl2t5l8o1ztlo;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: sip:01234567890@ims.telecom.in;tag=xcc4zzde
To: sip:+912244444445@ims.telecom.in;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 INVITE
Server: Custom Telephony
Contact: sip:10.10.5.4:5060
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 229

v=0
o=- 121581750 121581752 IN IP4 10.10.5.4
s=Asterisk
c=IN IP4 10.10.5.4
t=0 0
m=audio 15772 RTP/AVP 8 116
a=rtpmap:8 PCMA/8000
a=rtpmap:116 telephone-event/8000
a=fmtp:116 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<— Received SIP request (536 bytes) from UDP:10.10.10.10:5060 —>
ACK sip:10.10.5.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bKjtttppslyj112t30ttp5p2bb8;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: "01234567890"tel:01234567890;noa=national;srvattri=national;phone-context=+91;tag=xcc4zzde
To: tel:+912244444445;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 ACK
Max-Forwards: 65
P-Charging-Vector: icid-value=AE888F2418100520211115235625;orig-ioi=10.232.136.242;term-ioi=SIP_83638_Custom_2244444444
Content-Length: 0

<— Transmitting SIP response (918 bytes) to UDP:10.10.10.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;received=10.10.10.10;branch=z9hG4bKp5tptsppj8j5tl2t5l8o1ztlo;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: sip:01234567890@ims.telecom.in;tag=xcc4zzde
To: sip:+912244444445@ims.telecom.in;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 INVITE
Server: Custom Telephony
Contact: sip:10.10.5.4:5060
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 229

v=0
o=- 121581750 121581752 IN IP4 10.10.5.4
s=Asterisk
c=IN IP4 10.10.5.4
t=0 0
m=audio 15772 RTP/AVP 8 116
a=rtpmap:8 PCMA/8000
a=rtpmap:116 telephone-event/8000
a=fmtp:116 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<— Received SIP request (536 bytes) from UDP:10.10.10.10:5060 —>
ACK sip:10.10.5.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bKjtttppslyj112t30ttp5p2bb8;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: "01234567890"tel:01234567890;noa=national;srvattri=national;phone-context=+91;tag=xcc4zzde
To: tel:+912244444445;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 ACK
Max-Forwards: 65
P-Charging-Vector: icid-value=AE888F2418100520211115235625;orig-ioi=10.232.136.242;term-ioi=SIP_83638_Custom_2244444444
Content-Length: 0

<— Transmitting SIP response (918 bytes) to UDP:10.10.10.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;received=10.10.10.10;branch=z9hG4bKp5tptsppj8j5tl2t5l8o1ztlo;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: sip:01234567890@ims.telecom.in;tag=xcc4zzde
To: sip:+912244444445@ims.telecom.in;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 INVITE
Server: Custom Telephony
Contact: sip:10.10.5.4:5060
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 229

v=0
o=- 121581750 121581752 IN IP4 10.10.5.4
s=Asterisk
c=IN IP4 10.10.5.4
t=0 0
m=audio 15772 RTP/AVP 8 116
a=rtpmap:8 PCMA/8000
a=rtpmap:116 telephone-event/8000
a=fmtp:116 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<— Received SIP request (536 bytes) from UDP:10.10.10.10:5060 —>
ACK sip:10.10.5.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bKjtttppslyj112t30ttp5p2bb8;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: "01234567890"tel:01234567890;noa=national;srvattri=national;phone-context=+91;tag=xcc4zzde
To: tel:+912244444445;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 ACK
Max-Forwards: 65
P-Charging-Vector: icid-value=AE888F2418100520211115235625;orig-ioi=10.232.136.242;term-ioi=SIP_83638_Custom_2244444444
Content-Length: 0

   > 0x7fb6cc01e3f0 -- Strict RTP learning complete - Locking on source address 10.10.10.11:48166

<— Transmitting SIP response (918 bytes) to UDP:10.10.10.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;received=10.10.10.10;branch=z9hG4bKp5tptsppj8j5tl2t5l8o1ztlo;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: sip:01234567890@ims.telecom.in;tag=xcc4zzde
To: sip:+912244444445@ims.telecom.in;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 INVITE
Server: Custom Telephony
Contact: sip:10.10.5.4:5060
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 229

v=0
o=- 121581750 121581752 IN IP4 10.10.5.4
s=Asterisk
c=IN IP4 10.10.5.4
t=0 0
m=audio 15772 RTP/AVP 8 116
a=rtpmap:8 PCMA/8000
a=rtpmap:116 telephone-event/8000
a=fmtp:116 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<— Received SIP request (536 bytes) from UDP:10.10.10.10:5060 —>
ACK sip:10.10.5.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bKjtttppslyj112t30ttp5p2bb8;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: "01234567890"tel:01234567890;noa=national;srvattri=national;phone-context=+91;tag=xcc4zzde
To: tel:+912244444445;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 ACK
Max-Forwards: 65
P-Charging-Vector: icid-value=AE888F2418100520211115235625;orig-ioi=10.232.136.242;term-ioi=SIP_83638_Custom_2244444444
Content-Length: 0

<— Transmitting SIP response (918 bytes) to UDP:10.10.10.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;received=10.10.10.10;branch=z9hG4bKp5tptsppj8j5tl2t5l8o1ztlo;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: sip:01234567890@ims.telecom.in;tag=xcc4zzde
To: sip:+912244444445@ims.telecom.in;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 INVITE
Server: Custom Telephony
Contact: sip:10.10.5.4:5060
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 229

v=0
o=- 121581750 121581752 IN IP4 10.10.5.4
s=Asterisk
c=IN IP4 10.10.5.4
t=0 0
m=audio 15772 RTP/AVP 8 116
a=rtpmap:8 PCMA/8000
a=rtpmap:116 telephone-event/8000
a=fmtp:116 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<— Received SIP request (536 bytes) from UDP:10.10.10.10:5060 —>
ACK sip:10.10.5.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bKjtttppslyj112t30ttp5p2bb8;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: "01234567890"tel:01234567890;noa=national;srvattri=national;phone-context=+91;tag=xcc4zzde
To: tel:+912244444445;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 ACK
Max-Forwards: 65
P-Charging-Vector: icid-value=AE888F2418100520211115235625;orig-ioi=10.232.136.242;term-ioi=SIP_83638_Custom_2244444444
Content-Length: 0

<— Transmitting SIP response (918 bytes) to UDP:10.10.10.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;received=10.10.10.10;branch=z9hG4bKp5tptsppj8j5tl2t5l8o1ztlo;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: sip:01234567890@ims.telecom.in;tag=xcc4zzde
To: sip:+912244444445@ims.telecom.in;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 INVITE
Server: Custom Telephony
Contact: sip:10.10.5.4:5060
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 229

v=0
o=- 121581750 121581752 IN IP4 10.10.5.4
s=Asterisk
c=IN IP4 10.10.5.4
t=0 0
m=audio 15772 RTP/AVP 8 116
a=rtpmap:8 PCMA/8000
a=rtpmap:116 telephone-event/8000
a=fmtp:116 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<— Received SIP request (536 bytes) from UDP:10.10.10.10:5060 —>
ACK sip:10.10.5.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bKjtttppslyj112t30ttp5p2bb8;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: "01234567890"tel:01234567890;noa=national;srvattri=national;phone-context=+91;tag=xcc4zzde
To: tel:+912244444445;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 ACK
Max-Forwards: 65
P-Charging-Vector: icid-value=AE888F2418100520211115235625;orig-ioi=10.232.136.242;term-ioi=SIP_83638_Custom_2244444444
Content-Length: 0

<— Transmitting SIP response (918 bytes) to UDP:10.10.10.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;received=10.10.10.10;branch=z9hG4bKp5tptsppj8j5tl2t5l8o1ztlo;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: sip:01234567890@ims.telecom.in;tag=xcc4zzde
To: sip:+912244444445@ims.telecom.in;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 INVITE
Server: Custom Telephony
Contact: sip:10.10.5.4:5060
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 229

v=0
o=- 121581750 121581752 IN IP4 10.10.5.4
s=Asterisk
c=IN IP4 10.10.5.4
t=0 0
m=audio 15772 RTP/AVP 8 116
a=rtpmap:8 PCMA/8000
a=rtpmap:116 telephone-event/8000
a=fmtp:116 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<— Received SIP request (536 bytes) from UDP:10.10.10.10:5060 —>
ACK sip:10.10.5.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bKjtttppslyj112t30ttp5p2bb8;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: "01234567890"tel:01234567890;noa=national;srvattri=national;phone-context=+91;tag=xcc4zzde
To: tel:+912244444445;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 ACK
Max-Forwards: 65
P-Charging-Vector: icid-value=AE888F2418100520211115235625;orig-ioi=10.232.136.242;term-ioi=SIP_83638_Custom_2244444444
Content-Length: 0

<— Transmitting SIP response (918 bytes) to UDP:10.10.10.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;received=10.10.10.10;branch=z9hG4bKp5tptsppj8j5tl2t5l8o1ztlo;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: sip:01234567890@ims.telecom.in;tag=xcc4zzde
To: sip:+912244444445@ims.telecom.in;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 INVITE
Server: Custom Telephony
Contact: sip:10.10.5.4:5060
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 229

v=0
o=- 121581750 121581752 IN IP4 10.10.5.4
s=Asterisk
c=IN IP4 10.10.5.4
t=0 0
m=audio 15772 RTP/AVP 8 116
a=rtpmap:8 PCMA/8000
a=rtpmap:116 telephone-event/8000
a=fmtp:116 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<— Received SIP request (536 bytes) from UDP:10.10.10.10:5060 —>
ACK sip:10.10.5.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bKjtttppslyj112t30ttp5p2bb8;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: "01234567890"tel:01234567890;noa=national;srvattri=national;phone-context=+91;tag=xcc4zzde
To: tel:+912244444445;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 ACK
Max-Forwards: 65
P-Charging-Vector: icid-value=AE888F2418100520211115235625;orig-ioi=10.232.136.242;term-ioi=SIP_83638_Custom_2244444444
Content-Length: 0

<— Transmitting SIP response (918 bytes) to UDP:10.10.10.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;received=10.10.10.10;branch=z9hG4bKp5tptsppj8j5tl2t5l8o1ztlo;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: sip:01234567890@ims.telecom.in;tag=xcc4zzde
To: sip:+912244444445@ims.telecom.in;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 INVITE
Server: Custom Telephony
Contact: sip:10.10.5.4:5060
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 229

v=0
o=- 121581750 121581752 IN IP4 10.10.5.4
s=Asterisk
c=IN IP4 10.10.5.4
t=0 0
m=audio 15772 RTP/AVP 8 116
a=rtpmap:8 PCMA/8000
a=rtpmap:116 telephone-event/8000
a=fmtp:116 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<— Received SIP request (536 bytes) from UDP:10.10.10.10:5060 —>
ACK sip:10.10.5.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bKjtttppslyj112t30ttp5p2bb8;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: "01234567890"tel:01234567890;noa=national;srvattri=national;phone-context=+91;tag=xcc4zzde
To: tel:+912244444445;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 ACK
Max-Forwards: 65
P-Charging-Vector: icid-value=AE888F2418100520211115235625;orig-ioi=10.232.136.242;term-ioi=SIP_83638_Custom_2244444444
Content-Length: 0

<— Transmitting SIP response (918 bytes) to UDP:10.10.10.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.10:5060;rport=5060;received=10.10.10.10;branch=z9hG4bKp5tptsppj8j5tl2t5l8o1ztlo;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: sip:01234567890@ims.telecom.in;tag=xcc4zzde
To: sip:+912244444445@ims.telecom.in;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 INVITE
Server: Custom Telephony
Contact: sip:10.10.5.4:5060
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 229

v=0
o=- 121581750 121581752 IN IP4 10.10.5.4
s=Asterisk
c=IN IP4 10.10.5.4
t=0 0
m=audio 15772 RTP/AVP 8 116
a=rtpmap:8 PCMA/8000
a=rtpmap:116 telephone-event/8000
a=fmtp:116 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<— Received SIP request (536 bytes) from UDP:10.10.10.10:5060 —>
ACK sip:10.10.5.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bKjtttppslyj112t30ttp5p2bb8;Role=3;Hpt=9082_36
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: "01234567890"tel:01234567890;noa=national;srvattri=national;phone-context=+91;tag=xcc4zzde
To: tel:+912244444445;tag=745052a8-cee5-4103-912d-1f997f08173b
CSeq: 1 ACK
Max-Forwards: 65
P-Charging-Vector: icid-value=AE888F2418100520211115235625;orig-ioi=10.232.136.242;term-ioi=SIP_83638_Custom_2244444444
Content-Length: 0

<— Transmitting SIP request (484 bytes) to UDP:10.10.10.10:5060 —>
BYE sip:10.10.10.10:5060;Dsp=ec1a-200;Dpt=75d8-400;Hpt=9082_16;CxtId=4;TRC=ffffffff-ffffffff SIP/2.0
Via: SIP/2.0/UDP 10.10.5.4:5060;rport;branch=z9hG4bKPjeb96d959-b82f-4aff-be11-14f246d1ee16
From: sip:+912244444445@ims.telecom.in;tag=745052a8-cee5-4103-912d-1f997f08173b
To: sip:01234567890@ims.telecom.in;tag=xcc4zzde
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
CSeq: 22650 BYE
Max-Forwards: 70
User-Agent: Custom Telephony
Content-Length: 0

<— Received SIP request (820 bytes) from UDP:10.10.10.10:5060 —>
NOTIFY tel:+912244444445 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bKur7177do6ermjd77ug1ddduou;Role=3;Hpt=8e92_36;X-HwDim=4
Call-ID: asbcd1c51x1zzf2ixgffcn2g5c2z85ni2fgi@10.10.10.12
From: tel:+912244444445;tag=bzx12xeg
To: tel:+912244444445
CSeq: 2 NOTIFY
Contact: sip:10.10.10.10:5060;Dsp=ec1a-200;Hpt=8e92_16;CxtId=4;TRC=ffffffff-ffffffff
Max-Forwards: 66
Supported: 100rel
Event: ua-profile
Subscription-State: active
P-Asserted-Identity: tel:+912244444445
P-Charging-Vector: icid-value=ATS9900-202111152356260273942;term-ioi=SIP_83638_Custom_2244444444
Content-Length: 158
Content-Type: application/simservs+xml

<?xml version="1.0"?> standard-dial-tone

<— Transmitting SIP response (395 bytes) to UDP:10.10.10.10:5060 —>
SIP/2.0 416 Unsupported URI Scheme
Via: SIP/2.0/UDP 10.10.10.10:5060;received=10.10.10.10;branch=z9hG4bKur7177do6ermjd77ug1ddduou;Role=3;Hpt=8e92_36;X-HwDim=4
Call-ID: asbcd1c51x1zzf2ixgffcn2g5c2z85ni2fgi@10.10.10.12
From: tel:+912244444445;tag=bzx12xeg
To: tel:+912244444445;tag=z9hG4bKur7177do6ermjd77ug1ddduou
CSeq: 2 NOTIFY
Server: Custom Telephony
Content-Length: 0

<— Received SIP response (506 bytes) from UDP:10.10.10.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.5.4:5060;branch=z9hG4bKPjeb96d959-b82f-4aff-be11-14f246d1ee16;rport=5060
Call-ID: asbcm3l3onbt2f2eo7e3npobiob3lpmp6pf7@B.5.10.ims.telecom.in
From: tel:+912244444445;tag=745052a8-cee5-4103-912d-1f997f08173b
To: "01234567890"tel:01234567890;noa=national;srvattri=national;phone-context=+91;tag=xcc4zzde
CSeq: 22650 BYE
P-Charging-Vector: icid-value=AE888F2418100520211115235625;orig-ioi=10.232.136.242;term-ioi=SIP_83638_Custom_2244444444
Content-Length: 0

tel: is unsupported in chan_sip, and actively rejected in chan_pjsip. In both cases the reasoning is that a complete analysis of the code to determine whether these are safe in all contexts has not been performed.

@david551 - Thanks for the response.

Is it unsupported and still working with chan_sip ?

In this case, I have to ask my telecom vendor to change the URI from TEL to SIP right ?