Hello, we have a problem with negotiation T.38 in PJSIP.
- I make a call
- When carrier know the call is fax, he send UPDATE in SIP with T.38
- But PJSIP Asterisk 15. response 488 (NOT ACCPETED HERE)
U 2018/03/13 16:28:32.001928 172.16.0.34:5060 -> 192.168.25.1:5060
INVITE sip:30276761@192.168.25.1 SIP/2.0
Via: SIP/2.0/UDP 172.16.0.34:5060;rport;branch=z9hG4bKPjab0d4b1c-1c24-47b9-aa21-079bc9aa8144
From: “4001” sip:1130276850@10.213.18.170;tag=c03285cf-5f47-45d7-8367-c5b1c550e58f
To: sip:30276761@192.168.25.1
Contact: sip:handphone@172.16.0.34:5060
Call-ID: 50b1851e-c278-4fed-ab6f-e215f52e89b4
CSeq: 31518 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800
Min-SE: 90
P-Asserted-Identity: “4001” sip:1130276850@10.213.18.170
Remote-Party-ID: “4001” sip:1130276850@10.213.18.170;privacy=off;screen=no
Max-Forwards: 70
User-Agent: handphone
Content-Type: application/sdp
Content-Length: 266
v=0
o=- 943676200 943676200 IN IP4 172.16.0.34
s=HANDPHONE_XHAND
c=IN IP4 10.213.18.170
t=0 0
m=audio 11402 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
U 2018/03/13 16:28:32.015600 192.168.25.1:5060 -> 172.16.0.34:5060
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.16.0.34:5060;received=172.16.0.34;branch=z9hG4bKPjab0d4b1c-1c24-47b9-aa21-079bc9aa8144;rport=5060
From: “4001” sip:1130276850@10.213.18.170;tag=c03285cf-5f47-45d7-8367-c5b1c550e58f
To: sip:30276761@192.168.25.1
Call-ID: 50b1851e-c278-4fed-ab6f-e215f52e89b4
CSeq: 31518 INVITE
U 2018/03/13 16:28:33.118217 192.168.25.1:5060 -> 172.16.0.34:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.16.0.34:5060;received=172.16.0.34;branch=z9hG4bKPjab0d4b1c-1c24-47b9-aa21-079bc9aa8144;rport=5060
From: “4001” sip:1130276850@10.213.18.170;tag=c03285cf-5f47-45d7-8367-c5b1c550e58f
To: sip:30276761@192.168.25.1;tag=0331vrg0-CC-14
Call-ID: 50b1851e-c278-4fed-ab6f-e215f52e89b4
CSeq: 31518 INVITE
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,UPDATE,INFO,REFER,NOTIFY
Require: timer
Session-Expires: 1800;refresher=uac
Contact: sip:30276761@192.168.25.1:5060;Dpt=7bb8-400;transport=udp
Content-Length: 225
Content-Type: application/sdp
v=0
o=HuaweiATS9900 177209542 177209542 IN IP4 192.168.25.1
s=Sip Call
c=IN IP4 192.168.25.1
t=0 0
m=audio 10096 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
U 2018/03/13 16:28:33.119290 172.16.0.34:5060 -> 192.168.25.1:5060
ACK sip:30276761@192.168.25.1:5060;transport=udp;Dpt=7bb8-400 SIP/2.0
Via: SIP/2.0/UDP 172.16.0.34:5060;rport;branch=z9hG4bKPj2ec1c3fc-5740-4662-a472-c246cc881eb3
From: “4001” sip:1130276850@10.213.18.170;tag=c03285cf-5f47-45d7-8367-c5b1c550e58f
To: sip:30276761@192.168.25.1;tag=0331vrg0-CC-14
Call-ID: 50b1851e-c278-4fed-ab6f-e215f52e89b4
CSeq: 31518 ACK
Max-Forwards: 70
User-Agent: handphone
Content-Length: 0
U 2018/03/13 16:28:36.262653 192.168.25.1:5060 -> 172.16.0.34:5060
UPDATE sip:handphone@172.16.0.34:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.25.1:5060;branch=z9hG4bKsvdfir008ov2ctsk4100sm0000g00.1
Call-ID: 50b1851e-c278-4fed-ab6f-e215f52e89b4
From: sip:30276761@192.168.25.1;tag=0331vrg0-CC-14
To: “4001” sip:1130276850@10.213.18.170;tag=c03285cf-5f47-45d7-8367-c5b1c550e58f
CSeq: 1 UPDATE
Max-Forwards: 65
Supported: timer
Session-Expires: 1800
Contact: sip:30276761@192.168.25.1:5060;Dpt=7bb8-400;transport=udp
Min-SE: 600
Content-Length: 280
Content-Type: application/sdp
v=0
o=HuaweiATS9900 177209542 177209543 IN IP4 192.168.25.1
s=Sip Call
c=IN IP4 192.168.25.1
t=0 0
m=image 10096 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:14400
a=T38FaxMaxDatagram:1400
a=T38FaxRateManagement:transferredTCF
a=T38FaxUdpEC:t38UDPRedundancy
a=sendrecv
U 2018/03/13 16:28:36.262872 172.16.0.34:5060 -> 192.168.25.1:5060
SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/UDP 192.168.25.1:5060;rport=5060;received=192.168.25.1;branch=z9hG4bKsvdfir008ov2ctsk4100sm0000g00.1
Call-ID: 50b1851e-c278-4fed-ab6f-e215f52e89b4
From: sip:30276761@192.168.25.1;tag=0331vrg0-CC-14
To: “4001” sip:1130276850@10.213.18.170;tag=c03285cf-5f47-45d7-8367-c5b1c550e58f
CSeq: 1 UPDATE
Server: handphone
Content-Length: 0
U 2018/03/13 16:28:41.162899 172.16.0.34:5060 -> 192.168.25.1:5060
BYE sip:30276761@192.168.25.1:5060;transport=udp;Dpt=7bb8-400 SIP/2.0
Via: SIP/2.0/UDP 172.16.0.34:5060;rport;branch=z9hG4bKPj4bbbfa0e-8149-45ae-9ddd-97c2e31f5b41
From: “4001” sip:1130276850@10.213.18.170;tag=c03285cf-5f47-45d7-8367-c5b1c550e58f
To: sip:30276761@192.168.25.1;tag=0331vrg0-CC-14
Call-ID: 50b1851e-c278-4fed-ab6f-e215f52e89b4
CSeq: 31519 BYE
Reason: Q.850;cause=16
Max-Forwards: 70
User-Agent: handphone
Content-Length: 0
U 2018/03/13 16:28:41.250322 192.168.25.1:5060 -> 172.16.0.34:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.16.0.34:5060;received=172.16.0.34;branch=z9hG4bKPj4bbbfa0e-8149-45ae-9ddd-97c2e31f5b41;rport=5060
From: “4001” sip:1130276850@10.213.18.170;tag=c03285cf-5f47-45d7-8367-c5b1c550e58f
To: sip:30276761@192.168.25.1;tag=0331vrg0-CC-14
Call-ID: 50b1851e-c278-4fed-ab6f-e215f52e89b4
CSeq: 31519 BYE
Content-Length: 0