Первый INVITE выглядит так:
Код: Выделить всё
INVITE sip:1-5001@192.168.0.17:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.20:5081;rport;branch=z9hG4bKPj81ccd332-4eca-4ab5-92da-669439f4bec9
From: "KT" <sip:1234567890@192.168.0.20;user=phone>;tag=0172bfd7-dd88-4cc4-8f69-3e5016276679
To: <sip:1-5001@192.168.0.17>
Contact: <sip:asterisk@192.168.0.20:5081>
Call-ID: 34c066eb-494a-4093-95a5-6f114a9a168d
CSeq: 17612 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, replaces, norefersub
Max-Forwards: 70
User-Agent: Asterisk PBX 15.5.0~dfsg-1.1ubuntu4.8
Content-Type: application/sdp
Content-Length: 235
SPD
Код: Выделить всё
INVITE sip:5001@XXX.XXX.XXX.XXX:5060;transport=TCP SIP/2.0
Via: SIP/2.0/UDP 192.168.0.20:5081;rport;branch=z9hG4bKPj77526e3f-9937-4f57-a789-32c487096d2d
From: "KT" <sip:1234567890@192.168.0.20;user=phone>;tag=0172bfd7-dd88-4cc4-8f69-3e5016276679
To: <sip:1-5001@192.168.0.17>;tag=as1ad55bf6
Contact: <sip:asterisk@192.168.0.20:5081>
Call-ID: 34c066eb-494a-4093-95a5-6f114a9a168d
CSeq: 17613 INVITE
Route: <sip:192.168.0.17;lr;r2=on;ftag=0172bfd7-dd88-4cc4-8f69-3e5016276679>
Route: <sip:192.168.0.17;transport=tcp;lr;r2=on;ftag=0172bfd7-dd88-4cc4-8f69-3e5016276679>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, replaces, norefersub
Max-Forwards: 70
User-Agent: Asterisk PBX 15.5.0~dfsg-1.1ubuntu4.8
Content-Type: application/sdp
Content-Length: 235
SDP
Есть ли какой-то способ отключить данное поведение полностью, так как провайдер рвет звонок после этого.