Re: Проблема Mera SIP-HIT SIP re-invite (T38 switchover)
Mera with SIP-HIT IP ADDR = 1.2.3.4 , and
5.6.7.8 is Asterisk PBX.
INVITE sip:729719@1.2.3.4;user=phone SIP/2.0
Via: SIP/2.0/UDP 5.6.7.8:5060;branch=z9hG4bK33a7f564;rport
From: <sip:855245@5.6.7.8:5060;user=phone>;tag=as26993d20
To: <sip:729719@1.2.3.4;user=phone>;tag=ff785c00ffff0210ff0000104b07ff58
Contact: <sip:855245@5.6.7.8>
Call-ID: 06755c00b0ab0210800000104b07c258@ss
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
X-asterisk-info: SIP re-invite (T38 switchover)
Content-Type: application/sdp
Content-Length: 351
v=0
o=root 5767 5768 IN IP4 5.6.7.8
s=session
c=IN IP4 5.6.7.8
t=0 0
m=image 4145 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:9600
a=T38FaxFillBitRemoval:0
a=T38FaxTranscodingMMR:0
a=T38FaxTranscodingJBIG:0
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxBuffer:200
a=T38FaxMaxDatagram:200
a=T38FaxUdpEC:t38UDPRedundancy
---
<--- SIP read from 1.2.3.4:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 5.6.7.8:5060;branch=z9hG4bK33a7f564;rport
From: <sip:855245@5.6.7.8:5060;user=phone>;tag=as26993d20
To: <sip:729719@1.2.3.4;user=phone>;tag=ff785c00ffff0210ff0000104b07ff58
Call-ID: 06755c00b0ab0210800000104b07c258@ss
CSeq: 102 INVITE
Server: MERA MSIP v.1.0.1
Content-Type: application/sdp
Content-Length: 187
v=0
o=- 1174580156 1174580156 IN IP4 1.2.3.4
s=-
c=IN IP4 1.2.3.4
t=0 0
m=image 22640 udptl t38
a=T38FaxRateManagement:transferredTCF
a=T38FaxUdpEC:t38UDPRedundancy
<------------->
Как видно в дебаге, SIP-HIT отвечает пакетом, в котором нет поля Contact!!!
Ниже пример re-invite от SPA-2100 когда факс проходит:
INVITE sip:125@10.7.8.125:5060 SIP/2.0
Via: SIP/2.0/UDP 10.7.8.254:5060;branch=z9hG4bK5ad9eb11;rport
From: "102" <sip:102@10.7.8.254>;tag=as37d18976
To: <sip:125@10.7.8.125:5060>;tag=6b0cc7c7820a909ai0
Contact: <sip:102@10.7.8.254>
Call-ID: 3b9f31c677109b700a2443ca3daf644f@10.7.8.254
CSeq: 103 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
X-asterisk-info: SIP re-invite (T38 switchover)
Content-Type: application/sdp
Content-Length: 343
v=0
o=root 5767 5768 IN IP4 10.7.8.254
s=session
c=IN IP4 10.7.8.254
t=0 0
m=image 4642 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:9600
a=T38FaxFillBitRemoval:0
a=T38FaxTranscodingMMR:0
a=T38FaxTranscodingJBIG:0
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxBuffer:200
a=T38FaxMaxDatagram:200
a=T38FaxUdpEC:t38UDPRedundancy
---
<--- SIP read from 10.7.8.125:5060 --->
SIP/2.0 200 OK
To: <sip:125@10.7.8.125:5060>;tag=6b0cc7c7820a909ai0
From: "102" <sip:102@10.7.8.254>;tag=as37d18976
Call-ID: 3b9f31c677109b700a2443ca3daf644f@10.7.8.254
CSeq: 103 INVITE
Via: SIP/2.0/UDP 10.7.8.254:5060;branch=z9hG4bK5ad9eb11
Contact: <sip:125@10.7.8.125:5060>
Server: Linksys/SPA2100-3.3.6
Content-Length: 265
Content-Type: application/sdp
v=0
o=- 10509957 10509957 IN IP4 10.7.8.125
s=-
c=IN IP4 10.7.8.125
t=0 0
m=image 16432 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:14400
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxBuffer:200
a=T38FaxMaxDatagram:200
a=T38FaxUdpEC:t38UDPRedundancy
<------------->
|