Здравствуйте, гость ( Вход | Регистрация )
25.11.2025, 13:32
Сообщение
#1
|
|
|
Участник ![]() ![]() Группа: Участники Сообщений: 10 Регистрация: 19.5.2025 Пользователь №: 22058 |
Всем добрый день!
Столкнулись со следующей проблемой. Настроен SIP транк (без регистрации) с АТС W&T-NS100. Периодически не работает исходящий сетевой вызов по SIP транку. Входящий вызов при этом работает. Статус линий СО и абонентов в этот момент свободен. По истечении определенного времени исходящие вызовы снова работают. Прилагаю описание лог файла трассировки SIP в момент попытки совершения исходящего вызова (выдает следующую ошибку: From number is not programmed!!!): trace_log.txt 0000644 0000000 0000000 00000012641 15111310467 012257 0 ustar root root 309314269-[ReceivedExt_IPAUTH] From number is not programmed!!! 309314319-[ReceivedExt_IPAUTH] From number is not programmed!!! 309314421-[ReceivedExt_IPAUTH] From number is not programmed!!! 309314513-[ReceivedExt_IPAUTH] From number is not programmed!!! 309314540- [[[[[[[[[[@@@@@ [SIPM] Creation Call ID => 448 (75)@@@@@]]]]]]]]]] 309314540- [[[[[[[[[[@@@@@ [SIPM] Creation Call SS ID => 449 @@@@@]]]]]]]]]] 309314540-[CallIdx:448(All:600)][Sipm_SipCallCreate](max:2 OUT:1,IN:0) 309314540-[col:28] CalCol_SIP_Invite_Msg_From_MFIM - to_real:(<sip:510@192.168.46.20;user=phone>) 309314540-[col:28] CalCol_SIP_Invite_Msg_From_MFIM - signal_real:(sip:510@192.168.46.20;user=phone) 309314540-[col:28] CalCol_SIP_Invite_Msg_From_MFIM - uid_index:0(len:1) 309314540-[col:28] SDP CalCol_Sip_RetrieveRTPIPPort rtp_ip_v4(192.168.40.245), port:7114 309314540-[col:28] CalCol_Sip_AddVoiceDTMFSDP_Sub(offer_type) 309314540-[col:28] SIP_CALL_STRUCT_CREATE_CMD 309314540-[col:28] CalCol_Sip_WriteCallState - SIPCALL_INVITING_STATE <- SIPCALL_OOS_STATE 309314540-[SIPCMD] (7) BE, 8 - 309314540- (7) : rvSIPCreateCallStruct 309314540- (7) : rvSIPCreateCallStruct OUTGOING 309314543-[CallIdx:448][Sipm_CallMsgHandler] CALL ---> SIPM (INVITE) 309314543-[CallIdx:448][Sipm_CallMsgHandler] Outgoing Coline(phy:28, log:28) 309314543-[CallIdx:448][Sipm_CallMsgHandler] sipmsg->invite.to_host(192.168.46.20) 309314543-[CallIdx:448][Sipm_CallMsgHandler] sipmsg->invite.signal_addr(192.168.46.20:30565) 309314543-[CallIdx:448][Sipm_CallMsgHandler] received callInfo->contactIp(192.168.40.245),port(5060) 309314543-[CallIdx:448][Sipm_CallMsgHandler] final callInfo->contactIp(192.168.40.245),port(5060), trans(UDP), TRUNK 309314543---------------------------- From CALL To SIPM INVITE --------------------------- 309314543- port_no(28), port_type(CO), is_trunk(1), route_no(1), displayName() 309314543- srcNum(190), srcIp(192.168.46.20), srcPort(5060) 309314543- destNum(510), destIp(192.168.46.20), destPort(30565) 309314543- signalIp(192.168.46.20), signalPort(30565), replace_id((nil)) 309314543- contactUser(190), contactIp(192.168.40.245), contactPort(5060), request_uri(510) 309314543- auth_userid(), CallLeg(0x618ee7a8), Uid(0) 309314543- pai_id(), privacy(), rpi_id() in TRUNK 309314543- p_asserted_id()in EXT 309314543- diversion(), id(0), is_static(0), v6(0) 309314543--------------------------------------------------------------------------------- 309314543-[Sipm_SipConnectCall] Transport: UDP 309314543-[Sipm_SipConnectCall] contact:sip:190@192.168.40.245:5060;transport=UDP 309314543-[CallIdx:448][Sipm_SipEvCallMsgSend] SIPM ---> INVITE 309314543-[Sipm_SipUtilSetOtherHeaderInMsg] Allow => INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,REFER,SUBSCRIBE,NOTIFY,MESSAGE,INFO,PRACK ,UPDATE 309314543-[Sipm_SipUtilRemovetOtherTypeHeaderInMsg] Skip : 21 309314543-[Sipm_SipUtilSetOtherHeaderInMsg] Supported => replaces,UPDATE,INFO 309314543-============================================= 309314543-Send SDP MSG[448] => 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 309314543-============================================= 309314543-[Sipm_SipUtilSetOtherHeaderInMsg] User-Agent => Ericsson-LG Enterprise iPECS-eMG eMG800 4.0.9 309314545-[CallIdx:448][Sipm_SipEvCallState(s:01)] OUTGOING - Inviting(reason:LOCAL_INVITING) 309314548-[Sipm_SipTransportMsgReceivedExt]..Response... 309314548-[CallIdx:448][Sipm_SipEvCallMsgReceive] SIPM <--- 403(Method:INVITE(0), reason:Forbidden) 309314548-[CallIdx:448][Sipm_SipEvCallMsgSend] SIPM ---> ACK 309314548-[Sipm_SipCheckContactAddr] user:190, system_ip:192.168.40.245:5060, trans_mode:UDP, URI 309314548-[Sipm_SipUtilSetOtherHeaderInMsg] User-Agent => Ericsson-LG Enterprise iPECS-eMG eMG800 4.0.9 309314548-[CallIdx:448][Sipm_SipEvCallState(s:07)] OUTGOING - Disconnected(reason:REQUEST_FAILURE) 309314548-[CallIdx:448][Sipm_SipEvCallState] RVSIP_CALL_LEG_REASON_REQUEST_FAILURE 309314548-[CallIdx:448][Sipm_SipEvCallState(s:09)] OUTGOING - Terminated(reason:CALL_TERMINATED) 309314548-[CallIdx:448][PORT NUMBER : 0x001c, Type:CO] CALL <--- SIPM (BYE) 309314548-[CallIdx:448][PORT NUMBER : 0x001c, Type:CO] CALL <--- SIPM (RLS_OK) 309314548-[[[[[[[[[[@@@@@ [SIPM] Delete callId => 448 @@@@@]]]]]]]]]] 309314548-========@@@======== SIP Call SS Str[448] : test point 01 309314548-[CallIdx:448][Sipm_SipCallInfoDelete](2,0,0) 309314548-<SIPM Msg> : MSG(SIP_BYE_MSG), Evt type(SIPTRUNK) type(SIPTRUNK) GWnum(19) phy_num(28) 309314548-[col:28] SIP_BYE_EVT : Evt_num(4), D_length(7) 309314548-[col:28] CalCol_Sip_WriteCallState - SIPCALL_DISCONNECTED_STATE <- SIPCALL_INVITING_STATE 309314548-[col:28] CalCol_Sip_Disconnect_Rtp(Disconnect) 309314548-[col:28] CalCol_Sip_ClearCallStruct 309314548-[col:28] SIP_BYE_CMD(State:0(SIPCALL_OOS_STATE)) 309314548-[SIPCMD] (7) BD, 9 - 309314548- (7) : rvSIPControlMedia(C:DISCONNECT) 309314548- (7) : ptRtpDisconnectSIP 309314548-<SIPM Msg> : MSG(SIP_RLS_OK_MSG), Evt type(SIPTRUNK) type(SIPTRUNK) GWnum(19) phy_num(28) 309314548-[col:28] SIP_CALL_RLS_200_OK_EVT : Evt_num(15), D_length(7) 309314548-[col:28] CalCol_Sip_WriteCallState - SIPCALL_TERMINATED_STATE <- SIPCALL_OOS_STATE 309314565-[ReceivedExt_IPAUTH] From number is not programmed!!! 309314667-[ReceivedExt_IPAUTH] From number is not programmed!!! |
|
|
|
![]() |
25.11.2025, 16:23
Сообщение
#2
|
|
![]() гуру и создатель форума ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Администраторы Сообщений: 8765 Регистрация: 26.9.2006 Из: г.Фрязино Пользователь №: 10 |
На еМG800 есть встроенный захват пакетов. Вы можете снять файл исходящего вызова?
trace.png ( 96,51 килобайт )
Кол-во скачиваний: 6-------------------- Хрен, положенный на мнение окружающих, обеспечивает спокойную и счастливую жизнь. (Ф.Г.Раневская) |
|
|
|
26.11.2025, 9:52
Сообщение
#3
|
|
|
Участник ![]() ![]() Группа: Участники Сообщений: 10 Регистрация: 19.5.2025 Пользователь №: 22058 |
На еМG800 есть встроенный захват пакетов. Вы можете снять файл исходящего вызова?
trace.png ( 96,51 килобайт )
Кол-во скачиваний: 6Исходящий вызов: SIP/2.0 403 Forbidden Via: SIP/2.0/UDP 192.168.40.245: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 To: <sip:600@192.168.46.20:30565>;tag=as7b51249f Call-ID: 618f8e10-f91fa8c0-13dd-65014-306d93-4632449d-306d93 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 |
|
|
|
26.11.2025, 11:23
Сообщение
#4
|
|
![]() гуру и создатель форума ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Администраторы Сообщений: 8765 Регистрация: 26.9.2006 Из: г.Фрязино Пользователь №: 10 |
Лучше конечно смотреть весь файл. Там же можно снять дамп с расширением pcap. Но судя по ответу от W&T, что вызов с номера 190 на номер 600 отбит по причине отсутствия авторизации. Хотя вы написали, что транки без регистрации.
Без полной картины сложно что то сказать. Может W&T не нравится ip адрес откуда приходит запрос. -------------------- Хрен, положенный на мнение окружающих, обеспечивает спокойную и счастливую жизнь. (Ф.Г.Раневская) |
|
|
|
26.11.2025, 12:32
Сообщение
#5
|
|
|
Участник ![]() ![]() Группа: Участники Сообщений: 10 Регистрация: 19.5.2025 Пользователь №: 22058 |
Лучше конечно смотреть весь файл. Там же можно снять дамп с расширением pcap. Но судя по ответу от W&T, что вызов с номера 190 на номер 600 отбит по причине отсутствия авторизации. Хотя вы написали, что транки без регистрации. Без полной картины сложно что то сказать. Может W&T не нравится ip адрес откуда приходит запрос. Полный дамп: 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 |
|
|
|
26.11.2025, 15:48
Сообщение
#6
|
|
![]() ГУРУ ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модераторы Сообщений: 15053 Регистрация: 19.6.2009 Из: г. Тула Пользователь №: 13420 |
Полный дамп: 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 Почему бы вам, все же, не выложить файлик с расширением pcap? -------------------- Вот смотрю я на вас и думаю: ещё выпить, или вы мне уже нравитесь? Анекдот
|
|
|
|
![]() ![]() |
| Текстовая версия | Сейчас: 5.12.2025, 2:17 |