Проблема сетевого вызова по SIP протоколу
Проблема сетевого вызова по SIP протоколу
Добрый день!
Проблема в работе SIP протокола.
Настроен SIP транк (без регистрации) между LG eMG800 и W&T-NS100.
Периодически не работает входящий сетевой вызов от LG eMG800 на W&T-NS100.
При этом в этот момент исходящий вызов от W&T-NS100 работает.
Статус линий СО и абонентов LG eMG800 в этот момент свободен.
По истечении определенного времени входящие на W&T-NS100 снова работают.
W&T-NS100 отклоняет входящий вызов.
Прилагаю описание файла damp:
No. Time Source Destination Protocol Length Info
1 0.000000 192.168.46.20 192.168.40.245 SIP 597 Status: 403 Forbidden |
Frame 1: 597 bytes on wire (4776 bits), 597 bytes captured (4776 bits)
Encapsulation type: Ethernet (1)
Arrival Time: Nov 26, 2025 12:45:22.272896000 RTZ 2 (зима)
UTC Arrival Time: Nov 26, 2025 09:45:22.272896000 UTC
Epoch Arrival Time: 1764150322.272896000
[Time shift for this packet: 0.000000000 seconds]
[Time delta from previous captured frame: 0.000000000 seconds]
[Time delta from previous displayed frame: 0.000000000 seconds]
[Time since reference or first frame: 0.000000000 seconds]
Frame Number: 1
Frame Length: 597 bytes (4776 bits)
Capture Length: 597 bytes (4776 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ethertype:ip:udp:sip]
[Coloring Rule Name: UDP]
[Coloring Rule String: udp]
Ethernet II, Src: 52:54:00:05:dc:a0 (52:54:00:05:dc:a0), Dst: EricssonLGEn_16:95:3d (b0:61:c7:16:95:3d)
Destination: EricssonLGEn_16:95:3d (b0:61:c7:16:95:3d)
Address: EricssonLGEn_16:95:3d (b0:61:c7:16:95:3d)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Source: 52:54:00:05:dc:a0 (52:54:00:05:dc:a0)
Address: 52:54:00:05:dc:a0 (52:54:00:05:dc:a0)
.... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Type: IPv4 (0x0800)
Internet Protocol Version 4, Src: 192.168.46.20, Dst: 192.168.40.245
0100 .... = Version: 4
.... 0101 = Header Length: 20 bytes (5)
Differentiated Services Field: 0xfc (DSCP: Unknown, ECN: Not-ECT)
1111 11.. = Differentiated Services Codepoint: Unknown (63)
.... ..00 = Explicit Congestion Notification: Not ECN-Capable Transport (0)
Total Length: 583
Identification: 0x46b9 (18105)
000. .... = Flags: 0x0
0... .... = Reserved bit: Not set
.0.. .... = Don't fragment: Not set
..0. .... = More fragments: Not set
...0 0000 0000 0000 = Fragment Offset: 0
Time to Live: 62
Protocol: UDP (17)
Header Checksum: 0x6c9d [validation disabled]
[Header checksum status: Unverified]
Source Address: 192.168.46.20
Destination Address: 192.168.40.245
User Datagram Protocol, Src Port: 30565, Dst Port: 5060
Source Port: 30565
Destination Port: 5060
Length: 563
Checksum: 0xc8b6 [unverified]
[Checksum Status: Unverified]
[Stream index: 0]
[Timestamps]
[Time since first frame: 0.000000000 seconds]
[Time since previous frame: 0.000000000 seconds]
UDP payload (555 bytes)
Session Initiation Protocol (403)
Status-Line: SIP/2.0 403 Forbidden
Status-Code: 403
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP 192.168.40.245:5060;branch=z9hG4bK-306d93-bd2c0832-157a1520-616ec938;received=192.168.40.245;rport=6093
Transport: UDP
Sent-by Address: 192.168.40.245
Sent-by port: 5060
Branch: z9hG4bK-306d93-bd2c0832-157a1520-616ec938
Received: 192.168.40.245
RPort: 6093
From: <sip:190@192.168.46.20:5060>;tag=6171a3b8-f91fa8c0-13dd-65014-306d93-4477e93-306d93
SIP from address: sip:190@192.168.46.20:5060
SIP from address User Part: 190
SIP from address Host Part: 192.168.46.20
SIP from address Host Port: 5060
SIP from tag: 6171a3b8-f91fa8c0-13dd-65014-306d93-4477e93-306d93
To: <sip:600@192.168.46.20:30565>;tag=as7b51249f
SIP to address: sip:600@192.168.46.20:30565
SIP to address User Part: 600
SIP to address Host Part: 192.168.46.20
SIP to address Host Port: 30565
SIP to tag: as7b51249f
Call-ID: 618f8e10-f91fa8c0-13dd-65014-306d93-4632449d-306d93
[Generated Call-ID: 618f8e10-f91fa8c0-13dd-65014-306d93-4632449d-306d93]
CSeq: 1 INVITE
Sequence Number: 1
Method: INVITE
Server: W&T
Allow: INVITE, ACK, CANCEL, OPTIONS, PRACK, UPDATE, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer, 100rel, in-band-dtmf
Reason: Q.850;cause=21
Reason protocols: Q.850
Cause: Call rejected (21)
Content-Length: 0
Проблема в работе SIP протокола.
Настроен SIP транк (без регистрации) между LG eMG800 и W&T-NS100.
Периодически не работает входящий сетевой вызов от LG eMG800 на W&T-NS100.
При этом в этот момент исходящий вызов от W&T-NS100 работает.
Статус линий СО и абонентов LG eMG800 в этот момент свободен.
По истечении определенного времени входящие на W&T-NS100 снова работают.
W&T-NS100 отклоняет входящий вызов.
Прилагаю описание файла damp:
No. Time Source Destination Protocol Length Info
1 0.000000 192.168.46.20 192.168.40.245 SIP 597 Status: 403 Forbidden |
Frame 1: 597 bytes on wire (4776 bits), 597 bytes captured (4776 bits)
Encapsulation type: Ethernet (1)
Arrival Time: Nov 26, 2025 12:45:22.272896000 RTZ 2 (зима)
UTC Arrival Time: Nov 26, 2025 09:45:22.272896000 UTC
Epoch Arrival Time: 1764150322.272896000
[Time shift for this packet: 0.000000000 seconds]
[Time delta from previous captured frame: 0.000000000 seconds]
[Time delta from previous displayed frame: 0.000000000 seconds]
[Time since reference or first frame: 0.000000000 seconds]
Frame Number: 1
Frame Length: 597 bytes (4776 bits)
Capture Length: 597 bytes (4776 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ethertype:ip:udp:sip]
[Coloring Rule Name: UDP]
[Coloring Rule String: udp]
Ethernet II, Src: 52:54:00:05:dc:a0 (52:54:00:05:dc:a0), Dst: EricssonLGEn_16:95:3d (b0:61:c7:16:95:3d)
Destination: EricssonLGEn_16:95:3d (b0:61:c7:16:95:3d)
Address: EricssonLGEn_16:95:3d (b0:61:c7:16:95:3d)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Source: 52:54:00:05:dc:a0 (52:54:00:05:dc:a0)
Address: 52:54:00:05:dc:a0 (52:54:00:05:dc:a0)
.... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Type: IPv4 (0x0800)
Internet Protocol Version 4, Src: 192.168.46.20, Dst: 192.168.40.245
0100 .... = Version: 4
.... 0101 = Header Length: 20 bytes (5)
Differentiated Services Field: 0xfc (DSCP: Unknown, ECN: Not-ECT)
1111 11.. = Differentiated Services Codepoint: Unknown (63)
.... ..00 = Explicit Congestion Notification: Not ECN-Capable Transport (0)
Total Length: 583
Identification: 0x46b9 (18105)
000. .... = Flags: 0x0
0... .... = Reserved bit: Not set
.0.. .... = Don't fragment: Not set
..0. .... = More fragments: Not set
...0 0000 0000 0000 = Fragment Offset: 0
Time to Live: 62
Protocol: UDP (17)
Header Checksum: 0x6c9d [validation disabled]
[Header checksum status: Unverified]
Source Address: 192.168.46.20
Destination Address: 192.168.40.245
User Datagram Protocol, Src Port: 30565, Dst Port: 5060
Source Port: 30565
Destination Port: 5060
Length: 563
Checksum: 0xc8b6 [unverified]
[Checksum Status: Unverified]
[Stream index: 0]
[Timestamps]
[Time since first frame: 0.000000000 seconds]
[Time since previous frame: 0.000000000 seconds]
UDP payload (555 bytes)
Session Initiation Protocol (403)
Status-Line: SIP/2.0 403 Forbidden
Status-Code: 403
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP 192.168.40.245:5060;branch=z9hG4bK-306d93-bd2c0832-157a1520-616ec938;received=192.168.40.245;rport=6093
Transport: UDP
Sent-by Address: 192.168.40.245
Sent-by port: 5060
Branch: z9hG4bK-306d93-bd2c0832-157a1520-616ec938
Received: 192.168.40.245
RPort: 6093
From: <sip:190@192.168.46.20:5060>;tag=6171a3b8-f91fa8c0-13dd-65014-306d93-4477e93-306d93
SIP from address: sip:190@192.168.46.20:5060
SIP from address User Part: 190
SIP from address Host Part: 192.168.46.20
SIP from address Host Port: 5060
SIP from tag: 6171a3b8-f91fa8c0-13dd-65014-306d93-4477e93-306d93
To: <sip:600@192.168.46.20:30565>;tag=as7b51249f
SIP to address: sip:600@192.168.46.20:30565
SIP to address User Part: 600
SIP to address Host Part: 192.168.46.20
SIP to address Host Port: 30565
SIP to tag: as7b51249f
Call-ID: 618f8e10-f91fa8c0-13dd-65014-306d93-4632449d-306d93
[Generated Call-ID: 618f8e10-f91fa8c0-13dd-65014-306d93-4632449d-306d93]
CSeq: 1 INVITE
Sequence Number: 1
Method: INVITE
Server: W&T
Allow: INVITE, ACK, CANCEL, OPTIONS, PRACK, UPDATE, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer, 100rel, in-band-dtmf
Reason: Q.850;cause=21
Reason protocols: Q.850
Cause: Call rejected (21)
Content-Length: 0
Re: Проблема сетевого вызова по SIP протоколу
INVITE sip:600@192.168.46.20:30565 SIP/2.0
From: <sip:190@192.168.46.20:5060>;tag=61776e18-f91fa8c0-13dd-65014-36f264-190bb99d-36f264
To: <sip:600@192.168.46.20:30565>
Call-ID: 6190eff8-f91fa8c0-13dd-65014-36f264-57a80307-36f264
CSeq: 1 INVITE
Via: SIP/2.0/UDP 192.168.40.245:5060;rport;branch=z9hG4bK-36f264-d6a2da4d-6ac04462-615daeb8
Max-Forwards: 70
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,REFER,SUBSCRIBE,NOTIFY,MESSAGE,INFO,PRACK,UPDATE
Supported: replaces,UPDATE,INFO
User-Agent: Ericsson-LG Enterprise iPECS-eMG eMG800 4.0.9
Contact: <sip:190@192.168.40.245:5060;transport=UDP>
Content-Type: application/sdp
Content-Length: 248
v=0
o=iPECS-eMG 28 28 IN IP4 192.168.40.245
s=iPECS-eMG SIP
c=IN IP4 192.168.40.245
t=0 0
m=audio 7114 RTP/AVP 0 8 18 4
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=sendrecv
INVITE sip:600@192.168.46.20:30565 SIP/2.0
From: <sip:190@192.168.46.20:5060>;tag=61776e18-f91fa8c0-13dd-65014-36f264-190bb99d-36f264
To: <sip:600@192.168.46.20:30565>
Call-ID: 6190eff8-f91fa8c0-13dd-65014-36f264-57a80307-36f264
CSeq: 1 INVITE
Via: SIP/2.0/UDP 192.168.40.245:5060;rport;branch=z9hG4bK-36f264-d6a2da4d-6ac04462-615daeb8
Max-Forwards: 70
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,REFER,SUBSCRIBE,NOTIFY,MESSAGE,INFO,PRACK,UPDATE
Supported: replaces,UPDATE,INFO
User-Agent: Ericsson-LG Enterprise iPECS-eMG eMG800 4.0.9
Contact: <sip:190@192.168.40.245:5060;transport=UDP>
Content-Type: application/sdp
Content-Length: 248
v=0
o=iPECS-eMG 28 28 IN IP4 192.168.40.245
s=iPECS-eMG SIP
c=IN IP4 192.168.40.245
t=0 0
m=audio 7114 RTP/AVP 0 8 18 4
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=sendrecv
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.40.245:5060;branch=z9hG4bK-36f264-d6a2da4d-6ac04462-615daeb8;received=192.168.40.245;rport=37013
From: <sip:190@192.168.46.20:5060>;tag=61776e18-f91fa8c0-13dd-65014-36f264-190bb99d-36f264
To: <sip:600@192.168.46.20:30565>;tag=as5365c051
Call-ID: 6190eff8-f91fa8c0-13dd-65014-36f264-57a80307-36f264
CSeq: 1 INVITE
Server: W&T
Allow: INVITE, ACK, CANCEL, OPTIONS, PRACK, UPDATE, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer, 100rel, in-band-dtmf
Reason: Q.850;cause=21
Content-Length: 0
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.40.245:5060;branch=z9hG4bK-36f264-d6a2da4d-6ac04462-615daeb8;received=192.168.40.245;rport=37013
From: <sip:190@192.168.46.20:5060>;tag=61776e18-f91fa8c0-13dd-65014-36f264-190bb99d-36f264
To: <sip:600@192.168.46.20:30565>;tag=as5365c051
Call-ID: 6190eff8-f91fa8c0-13dd-65014-36f264-57a80307-36f264
CSeq: 1 INVITE
Server: W&T
Allow: INVITE, ACK, CANCEL, OPTIONS, PRACK, UPDATE, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer, 100rel, in-band-dtmf
Reason: Q.850;cause=21
Content-Length: 0
ACK sip:600@192.168.46.20:30565 SIP/2.0
From: <sip:190@192.168.46.20:5060>;tag=61776e18-f91fa8c0-13dd-65014-36f264-190bb99d-36f264
To: <sip:600@192.168.46.20:30565>;tag=as5365c051
Call-ID: 6190eff8-f91fa8c0-13dd-65014-36f264-57a80307-36f264
CSeq: 1 ACK
Via: SIP/2.0/UDP 192.168.40.245:5060;rport;branch=z9hG4bK-36f264-d6a2da4d-6ac04462-615daeb8
Max-Forwards: 70
User-Agent: Ericsson-LG Enterprise iPECS-eMG eMG800 4.0.9
Contact: <sip:190@192.168.40.245:5060;transport=UDP>
Content-Length: 0
ACK sip:600@192.168.46.20:30565 SIP/2.0
From: <sip:190@192.168.46.20:5060>;tag=61776e18-f91fa8c0-13dd-65014-36f264-190bb99d-36f264
To: <sip:600@192.168.46.20:30565>;tag=as5365c051
Call-ID: 6190eff8-f91fa8c0-13dd-65014-36f264-57a80307-36f264
CSeq: 1 ACK
Via: SIP/2.0/UDP 192.168.40.245:5060;rport;branch=z9hG4bK-36f264-d6a2da4d-6ac04462-615daeb8
Max-Forwards: 70
User-Agent: Ericsson-LG Enterprise iPECS-eMG eMG800 4.0.9
Contact: <sip:190@192.168.40.245:5060;transport=UDP>
Content-Length: 0
From: <sip:190@192.168.46.20:5060>;tag=61776e18-f91fa8c0-13dd-65014-36f264-190bb99d-36f264
To: <sip:600@192.168.46.20:30565>
Call-ID: 6190eff8-f91fa8c0-13dd-65014-36f264-57a80307-36f264
CSeq: 1 INVITE
Via: SIP/2.0/UDP 192.168.40.245:5060;rport;branch=z9hG4bK-36f264-d6a2da4d-6ac04462-615daeb8
Max-Forwards: 70
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,REFER,SUBSCRIBE,NOTIFY,MESSAGE,INFO,PRACK,UPDATE
Supported: replaces,UPDATE,INFO
User-Agent: Ericsson-LG Enterprise iPECS-eMG eMG800 4.0.9
Contact: <sip:190@192.168.40.245:5060;transport=UDP>
Content-Type: application/sdp
Content-Length: 248
v=0
o=iPECS-eMG 28 28 IN IP4 192.168.40.245
s=iPECS-eMG SIP
c=IN IP4 192.168.40.245
t=0 0
m=audio 7114 RTP/AVP 0 8 18 4
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=sendrecv
INVITE sip:600@192.168.46.20:30565 SIP/2.0
From: <sip:190@192.168.46.20:5060>;tag=61776e18-f91fa8c0-13dd-65014-36f264-190bb99d-36f264
To: <sip:600@192.168.46.20:30565>
Call-ID: 6190eff8-f91fa8c0-13dd-65014-36f264-57a80307-36f264
CSeq: 1 INVITE
Via: SIP/2.0/UDP 192.168.40.245:5060;rport;branch=z9hG4bK-36f264-d6a2da4d-6ac04462-615daeb8
Max-Forwards: 70
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,REFER,SUBSCRIBE,NOTIFY,MESSAGE,INFO,PRACK,UPDATE
Supported: replaces,UPDATE,INFO
User-Agent: Ericsson-LG Enterprise iPECS-eMG eMG800 4.0.9
Contact: <sip:190@192.168.40.245:5060;transport=UDP>
Content-Type: application/sdp
Content-Length: 248
v=0
o=iPECS-eMG 28 28 IN IP4 192.168.40.245
s=iPECS-eMG SIP
c=IN IP4 192.168.40.245
t=0 0
m=audio 7114 RTP/AVP 0 8 18 4
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=sendrecv
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.40.245:5060;branch=z9hG4bK-36f264-d6a2da4d-6ac04462-615daeb8;received=192.168.40.245;rport=37013
From: <sip:190@192.168.46.20:5060>;tag=61776e18-f91fa8c0-13dd-65014-36f264-190bb99d-36f264
To: <sip:600@192.168.46.20:30565>;tag=as5365c051
Call-ID: 6190eff8-f91fa8c0-13dd-65014-36f264-57a80307-36f264
CSeq: 1 INVITE
Server: W&T
Allow: INVITE, ACK, CANCEL, OPTIONS, PRACK, UPDATE, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer, 100rel, in-band-dtmf
Reason: Q.850;cause=21
Content-Length: 0
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.40.245:5060;branch=z9hG4bK-36f264-d6a2da4d-6ac04462-615daeb8;received=192.168.40.245;rport=37013
From: <sip:190@192.168.46.20:5060>;tag=61776e18-f91fa8c0-13dd-65014-36f264-190bb99d-36f264
To: <sip:600@192.168.46.20:30565>;tag=as5365c051
Call-ID: 6190eff8-f91fa8c0-13dd-65014-36f264-57a80307-36f264
CSeq: 1 INVITE
Server: W&T
Allow: INVITE, ACK, CANCEL, OPTIONS, PRACK, UPDATE, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer, 100rel, in-band-dtmf
Reason: Q.850;cause=21
Content-Length: 0
ACK sip:600@192.168.46.20:30565 SIP/2.0
From: <sip:190@192.168.46.20:5060>;tag=61776e18-f91fa8c0-13dd-65014-36f264-190bb99d-36f264
To: <sip:600@192.168.46.20:30565>;tag=as5365c051
Call-ID: 6190eff8-f91fa8c0-13dd-65014-36f264-57a80307-36f264
CSeq: 1 ACK
Via: SIP/2.0/UDP 192.168.40.245:5060;rport;branch=z9hG4bK-36f264-d6a2da4d-6ac04462-615daeb8
Max-Forwards: 70
User-Agent: Ericsson-LG Enterprise iPECS-eMG eMG800 4.0.9
Contact: <sip:190@192.168.40.245:5060;transport=UDP>
Content-Length: 0
ACK sip:600@192.168.46.20:30565 SIP/2.0
From: <sip:190@192.168.46.20:5060>;tag=61776e18-f91fa8c0-13dd-65014-36f264-190bb99d-36f264
To: <sip:600@192.168.46.20:30565>;tag=as5365c051
Call-ID: 6190eff8-f91fa8c0-13dd-65014-36f264-57a80307-36f264
CSeq: 1 ACK
Via: SIP/2.0/UDP 192.168.40.245:5060;rport;branch=z9hG4bK-36f264-d6a2da4d-6ac04462-615daeb8
Max-Forwards: 70
User-Agent: Ericsson-LG Enterprise iPECS-eMG eMG800 4.0.9
Contact: <sip:190@192.168.40.245:5060;transport=UDP>
Content-Length: 0
- vda
- Ангел

- Сообщения: 1318
- Зарегистрирован: 14 май 2019, 11:04
- Благодарил (а): 283 раза
- Поблагодарили: 257 раз
Re: Проблема сетевого вызова по SIP протоколу
У вас порт указан 5060. А инвайт приходит на 30565. Вот станция и ругается
- vda
- Ангел

- Сообщения: 1318
- Зарегистрирован: 14 май 2019, 11:04
- Благодарил (а): 283 раза
- Поблагодарили: 257 раз
Re: Проблема сетевого вызова по SIP протоколу
на трассе форбиден. Это может быть несколько разных причин для доверительного транка
1. Несовпадение по портам
2. Инвайт приходит не с того адреса, что назначен
3. Станция забанила этот айпи адрес по каким-то причинам (слишком часто долбится, например)
Я бы начал с портов. сделай их одинаковыми и посмотри
1. Несовпадение по портам
2. Инвайт приходит не с того адреса, что назначен
3. Станция забанила этот айпи адрес по каким-то причинам (слишком часто долбится, например)
Я бы начал с портов. сделай их одинаковыми и посмотри
Re: Проблема сетевого вызова по SIP протоколу
Сделал порты udp на обеих станциях одинаковыми. Проблема осталась.

