Добрый день! Возникла следующая проблема. Звоним в Мегафон (номер 88005500555), разговариваем с оператором, он нас ставит на удержание, через несколько минут вызов обрывается. Может через 3 мин завершится вызов, а может и через 7 минут. При разговоре с оператором не обрывалось ни разу, только когда висишь на удержании. Можно было подумать, что проблему у Мегафона, но если звонить с мобильного телефона, то данная проблема не возникает. Можно было подумать что проблема на Астериске, но звонки на другие номера работают нормально, и за 2 года его работы подобные жалобы не возникали. Возникло 2 месяца назад, когда начали часто звонить по этому номеру. Я понимаю, что вопрос из разряда "гадания на кофейной гуще", но мало ли, может кто-то уже встречался с такой проблемой и подскажет куда дальше смотреть. Буду очень благодарен
Asterisk 11.19.0. В город выходим по E1 PRI Снимал звонок Wireshark'om. Из того что получилось увидеть, вроде ничего критичного
Кратко sip debug: https://ibb.co/ixte0G
Полный sip debug:
No. Time Source Destination Protocol Length Info 1881 29.350471 192.168.6.86 192.168.6.254 SIP/SDP 954 Request: INVITE sip:988005500555@192.168.6.254:5060 | Frame 1881: 954 bytes on wire (7632 bits), 954 bytes captured (7632 bits) Ethernet II, Src: XiamenYe_f5:8c:eb (00:15:65:f5:8c:eb), Dst: SuperMic_6a:1f:cc (0c:c4:7a:6a:1f:cc) Internet Protocol Version 4, Src: 192.168.6.86 (192.168.6.86), Dst: 192.168.6.254 (192.168.6.254) User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060) Session Initiation Protocol (INVITE) Request-Line: INVITE sip:988005500555@192.168.6.254:5060 SIP/2.0 Message Header Via: SIP/2.0/UDP 192.168.6.86:5060;branch=z9hG4bK3332054308 From: "2013" <sip:2013@192.168.6.254:5060>;tag=3592805854 To: <sip:988005500555@192.168.6.254:5060> Call-ID: 0_1399479574@192.168.6.86 CSeq: 1 INVITE Contact: <sip:2013@192.168.6.86:5060> Content-Type: application/sdp Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE Max-Forwards: 70 User-Agent: Yealink W52P 25.80.14.1 Allow-Events: talk,hold,conference,refer,check-sync Supported: replaces Content-Length: 306 Message Body No. Time Source Destination Protocol Length Info 1882 29.350785 192.168.6.254 192.168.6.86 SIP 557 Status: 401 Unauthorized | Frame 1882: 557 bytes on wire (4456 bits), 557 bytes captured (4456 bits) Ethernet II, Src: SuperMic_6a:1f:cc (0c:c4:7a:6a:1f:cc), Dst: XiamenYe_f5:8c:eb (00:15:65:f5:8c:eb) Internet Protocol Version 4, Src: 192.168.6.254 (192.168.6.254), Dst: 192.168.6.86 (192.168.6.86) User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060) Session Initiation Protocol (401) Status-Line: SIP/2.0 401 Unauthorized Message Header Via: SIP/2.0/UDP 192.168.6.86:5060;branch=z9hG4bK3332054308;received=192.168.6.86 From: "2013" <sip:2013@192.168.6.254:5060>;tag=3592805854 To: <sip:988005500555@192.168.6.254:5060>;tag=as64bc4b74 Call-ID: 0_1399479574@192.168.6.86 CSeq: 1 INVITE Server: M29-AST-01 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="04a88651" Content-Length: 0 No. Time Source Destination Protocol Length Info 1885 29.364349 192.168.6.86 192.168.6.254 SIP 339 Request: ACK sip:988005500555@192.168.6.254:5060 | Frame 1885: 339 bytes on wire (2712 bits), 339 bytes captured (2712 bits) Ethernet II, Src: XiamenYe_f5:8c:eb (00:15:65:f5:8c:eb), Dst: SuperMic_6a:1f:cc (0c:c4:7a:6a:1f:cc) Internet Protocol Version 4, Src: 192.168.6.86 (192.168.6.86), Dst: 192.168.6.254 (192.168.6.254) User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060) Session Initiation Protocol (ACK) Request-Line: ACK sip:988005500555@192.168.6.254:5060 SIP/2.0 Message Header Via: SIP/2.0/UDP 192.168.6.86:5060;branch=z9hG4bK3332054308 From: "2013" <sip:2013@192.168.6.254:5060>;tag=3592805854 To: <sip:988005500555@192.168.6.254:5060>;tag=as64bc4b74 Call-ID: 0_1399479574@192.168.6.86 CSeq: 1 ACK Content-Length: 0 No. Time Source Destination Protocol Length Info 1887 29.378382 192.168.6.86 192.168.6.254 SIP/SDP 1131 Request: INVITE sip:988005500555@192.168.6.254:5060 | Frame 1887: 1131 bytes on wire (9048 bits), 1131 bytes captured (9048 bits) Ethernet II, Src: XiamenYe_f5:8c:eb (00:15:65:f5:8c:eb), Dst: SuperMic_6a:1f:cc (0c:c4:7a:6a:1f:cc) Internet Protocol Version 4, Src: 192.168.6.86 (192.168.6.86), Dst: 192.168.6.254 (192.168.6.254) User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060) Session Initiation Protocol (INVITE) Request-Line: INVITE sip:988005500555@192.168.6.254:5060 SIP/2.0 Message Header Via: SIP/2.0/UDP 192.168.6.86:5060;branch=z9hG4bK991366826 From: "2013" <sip:2013@192.168.6.254:5060>;tag=3592805854 To: <sip:988005500555@192.168.6.254:5060> Call-ID: 0_1399479574@192.168.6.86 CSeq: 2 INVITE Contact: <sip:2013@192.168.6.86:5060> Authorization: Digest username="2013", realm="asterisk", nonce="04a88651", uri="sip:988005500555@192.168.6.254:5060", response="1cee975d242f69364b9b91d4478f6f7e", algorithm=MD5 Content-Type: application/sdp Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE Max-Forwards: 70 User-Agent: Yealink W52P 25.80.14.1 Allow-Events: talk,hold,conference,refer,check-sync Supported: replaces Content-Length: 306 Message Body No. Time Source Destination Protocol Length Info 1888 29.379379 192.168.6.254 192.168.6.86 SIP 507 Status: 100 Trying | Frame 1888: 507 bytes on wire (4056 bits), 507 bytes captured (4056 bits) Ethernet II, Src: SuperMic_6a:1f:cc (0c:c4:7a:6a:1f:cc), Dst: XiamenYe_f5:8c:eb (00:15:65:f5:8c:eb) Internet Protocol Version 4, Src: 192.168.6.254 (192.168.6.254), Dst: 192.168.6.86 (192.168.6.86) User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060) Session Initiation Protocol (100) Status-Line: SIP/2.0 100 Trying Message Header Via: SIP/2.0/UDP 192.168.6.86:5060;branch=z9hG4bK991366826;received=192.168.6.86 From: "2013" <sip:2013@192.168.6.254:5060>;tag=3592805854 To: <sip:988005500555@192.168.6.254:5060> Call-ID: 0_1399479574@192.168.6.86 CSeq: 2 INVITE Server: M29-AST-01 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer Contact: <sip:988005500555@192.168.6.254:5060> Content-Length: 0 No. Time Source Destination Protocol Length Info 1898 29.469253 192.168.6.254 192.168.6.86 SIP 507 Status: 100 Trying | Frame 1898: 507 bytes on wire (4056 bits), 507 bytes captured (4056 bits) Ethernet II, Src: SuperMic_6a:1f:cc (0c:c4:7a:6a:1f:cc), Dst: XiamenYe_f5:8c:eb (00:15:65:f5:8c:eb) Internet Protocol Version 4, Src: 192.168.6.254 (192.168.6.254), Dst: 192.168.6.86 (192.168.6.86) User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060) Session Initiation Protocol (100) Status-Line: SIP/2.0 100 Trying Message Header Via: SIP/2.0/UDP 192.168.6.86:5060;branch=z9hG4bK991366826;received=192.168.6.86 From: "2013" <sip:2013@192.168.6.254:5060>;tag=3592805854 To: <sip:988005500555@192.168.6.254:5060> Call-ID: 0_1399479574@192.168.6.86 CSeq: 2 INVITE Server: M29-AST-01 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer Contact: <sip:988005500555@192.168.6.254:5060> Content-Length: 0 No. Time Source Destination Protocol Length Info 1900 29.475197 192.168.6.254 192.168.6.86 RTP 214 PT=ITU-T G.711 PCMA, SSRC=0x20D84D99, Seq=35524, Time=160, Mark Frame 1900: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits) Ethernet II, Src: SuperMic_6a:1f:cc (0c:c4:7a:6a:1f:cc), Dst: XiamenYe_f5:8c:eb (00:15:65:f5:8c:eb) Internet Protocol Version 4, Src: 192.168.6.254 (192.168.6.254), Dst: 192.168.6.86 (192.168.6.86) User Datagram Protocol, Src Port: 14252 (14252), Dst Port: 11924 (11924) Real-Time Transport Protocol [Stream setup by SDP (frame 1887)] 10.. .... = Version: RFC 1889 Version (2) ..0. .... = Padding: False ...0 .... = Extension: False .... 0000 = Contributing source identifiers count: 0 1... .... = Marker: True Payload type: ITU-T G.711 PCMA (8) Sequence number: 35524 [Extended sequence number: 35524] Timestamp: 160 Synchronization Source identifier: 0x20d84d99 (551046553) Payload: 545454545454545454545454545454545454545454545454... No. Time Source Destination Protocol Length Info 2101 30.768742 192.168.6.254 192.168.6.86 SIP/SDP 813 Status: 200 OK | Frame 2101: 813 bytes on wire (6504 bits), 813 bytes captured (6504 bits) Ethernet II, Src: SuperMic_6a:1f:cc (0c:c4:7a:6a:1f:cc), Dst: XiamenYe_f5:8c:eb (00:15:65:f5:8c:eb) Internet Protocol Version 4, Src: 192.168.6.254 (192.168.6.254), Dst: 192.168.6.86 (192.168.6.86) User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060) Session Initiation Protocol (200) Status-Line: SIP/2.0 200 OK Message Header Via: SIP/2.0/UDP 192.168.6.86:5060;branch=z9hG4bK991366826;received=192.168.6.86 From: "2013" <sip:2013@192.168.6.254:5060>;tag=3592805854 To: <sip:988005500555@192.168.6.254:5060>;tag=as714c7aa4 Call-ID: 0_1399479574@192.168.6.86 CSeq: 2 INVITE Server: M29-AST-01 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer Contact: <sip:988005500555@192.168.6.254:5060> Content-Type: application/sdp Content-Length: 262 Message Body No. Time Source Destination Protocol Length Info 2108 30.802440 192.168.6.86 192.168.6.254 SIP 433 Request: ACK sip:988005500555@192.168.6.254:5060 | Frame 2108: 433 bytes on wire (3464 bits), 433 bytes captured (3464 bits) Ethernet II, Src: XiamenYe_f5:8c:eb (00:15:65:f5:8c:eb), Dst: SuperMic_6a:1f:cc (0c:c4:7a:6a:1f:cc) Internet Protocol Version 4, Src: 192.168.6.86 (192.168.6.86), Dst: 192.168.6.254 (192.168.6.254) User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060) Session Initiation Protocol (ACK) Request-Line: ACK sip:988005500555@192.168.6.254:5060 SIP/2.0 Message Header Via: SIP/2.0/UDP 192.168.6.86:5060;branch=z9hG4bK2226521145 From: "2013" <sip:2013@192.168.6.254:5060>;tag=3592805854 To: <sip:988005500555@192.168.6.254:5060>;tag=as714c7aa4 Call-ID: 0_1399479574@192.168.6.86 CSeq: 2 ACK Contact: <sip:2013@192.168.6.86:5060> Max-Forwards: 70 User-Agent: Yealink W52P 25.80.14.1 Content-Length: 0 No. Time Source Destination Protocol Length Info 2121 30.888460 192.168.6.86 192.168.6.254 RTP 214 PT=ITU-T G.711 PCMA, SSRC=0x62D3C6BA, Seq=101, Time=51984160, Mark Frame 2121: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits) Ethernet II, Src: XiamenYe_f5:8c:eb (00:15:65:f5:8c:eb), Dst: SuperMic_6a:1f:cc (0c:c4:7a:6a:1f:cc) Internet Protocol Version 4, Src: 192.168.6.86 (192.168.6.86), Dst: 192.168.6.254 (192.168.6.254) User Datagram Protocol, Src Port: 11924 (11924), Dst Port: 14252 (14252) Real-Time Transport Protocol [Stream setup by SDP (frame 1887)] 10.. .... = Version: RFC 1889 Version (2) ..0. .... = Padding: False ...0 .... = Extension: False .... 0000 = Contributing source identifiers count: 0 1... .... = Marker: True Payload type: ITU-T G.711 PCMA (8) Sequence number: 101 [Extended sequence number: 65637] Timestamp: 51984160 Synchronization Source identifier: 0x62d3c6ba (1658046138) Payload: cbc8c3c5d1d5505750d5d4d7565d5b45455850545556505e... No. Time Source Destination Protocol Length Info 4519 48.695129 192.168.6.86 192.168.6.254 RTP EVENT 60 Payload type=RTP Event, DTMF Two 2 Frame 4519: 60 bytes on wire (480 bits), 60 bytes captured (480 bits) Ethernet II, Src: XiamenYe_f5:8c:eb (00:15:65:f5:8c:eb), Dst: SuperMic_6a:1f:cc (0c:c4:7a:6a:1f:cc) Internet Protocol Version 4, Src: 192.168.6.86 (192.168.6.86), Dst: 192.168.6.254 (192.168.6.254) User Datagram Protocol, Src Port: 11924 (11924), Dst Port: 14252 (14252) Real-Time Transport Protocol [Stream setup by SDP (frame 1887)] 10.. .... = Version: RFC 1889 Version (2) ..0. .... = Padding: False ...0 .... = Extension: False .... 0000 = Contributing source identifiers count: 0 1... .... = Marker: True Payload type: DynamicRTP-Type-101 (101) Sequence number: 992 [Extended sequence number: 66528] Timestamp: 52126720 Synchronization Source identifier: 0x62d3c6ba (1658046138) RFC 2833 RTP Event No. Time Source Destination Protocol Length Info 4531 48.888022 192.168.6.86 192.168.6.254 RTP 214 PT=ITU-T G.711 PCMA, SSRC=0x62D3C6BA, Seq=1001, Time=52128160 Frame 4531: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits) Ethernet II, Src: XiamenYe_f5:8c:eb (00:15:65:f5:8c:eb), Dst: SuperMic_6a:1f:cc (0c:c4:7a:6a:1f:cc) Internet Protocol Version 4, Src: 192.168.6.86 (192.168.6.86), Dst: 192.168.6.254 (192.168.6.254) User Datagram Protocol, Src Port: 11924 (11924), Dst Port: 14252 (14252) Real-Time Transport Protocol [Stream setup by SDP (frame 1887)] 10.. .... = Version: RFC 1889 Version (2) ..0. .... = Padding: False ...0 .... = Extension: False .... 0000 = Contributing source identifiers count: 0 0... .... = Marker: False Payload type: ITU-T G.711 PCMA (8) Sequence number: 1001 [Extended sequence number: 66537] Timestamp: 52128160 Synchronization Source identifier: 0x62d3c6ba (1658046138) Payload: d555d5d5d555d5d5d5d5d5d5d555d5d555d5d55555d5d555... No. Time Source Destination Protocol Length Info 29263 244.212648 192.168.6.254 192.168.6.86 SIP 612 Request: BYE sip:2013@192.168.6.86:5060 | Frame 29263: 612 bytes on wire (4896 bits), 612 bytes captured (4896 bits) Ethernet II, Src: SuperMic_6a:1f:cc (0c:c4:7a:6a:1f:cc), Dst: XiamenYe_f5:8c:eb (00:15:65:f5:8c:eb) Internet Protocol Version 4, Src: 192.168.6.254 (192.168.6.254), Dst: 192.168.6.86 (192.168.6.86) User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060) Session Initiation Protocol (BYE) Request-Line: BYE sip:2013@192.168.6.86:5060 SIP/2.0 Message Header Via: SIP/2.0/UDP 192.168.6.254:5060;branch=z9hG4bK43f3ca8c Max-Forwards: 70 From: <sip:988005500555@192.168.6.254:5060>;tag=as714c7aa4 To: "2013" <sip:2013@192.168.6.254:5060>;tag=3592805854 Call-ID: 0_1399479574@192.168.6.86 CSeq: 102 BYE User-Agent: M29-AST-01 Proxy-Authorization: Digest username="2013", realm="asterisk", algorithm=MD5, uri="sip:192.168.6.254", nonce="04a88651", response="0add4a8410c46cf77cbcb1241530b81e" X-Asterisk-HangupCause: Normal Clearing [Expert Info (Note/Undecoded): Unrecognised SIP header (X-Asterisk-HangupCause)] [Unrecognised SIP header (X-Asterisk-HangupCause)] [Severity level: Note] [Group: Undecoded] X-Asterisk-HangupCauseCode: 16 [Expert Info (Note/Undecoded): Unrecognised SIP header (X-Asterisk-HangupCauseCode)] [Unrecognised SIP header (X-Asterisk-HangupCauseCode)] [Severity level: Note] [Group: Undecoded] Content-Length: 0 No. Time Source Destination Protocol Length Info 29264 244.219412 192.168.6.86 192.168.6.254 SIP 344 Status: 200 OK | Frame 29264: 344 bytes on wire (2752 bits), 344 bytes captured (2752 bits) Ethernet II, Src: XiamenYe_f5:8c:eb (00:15:65:f5:8c:eb), Dst: SuperMic_6a:1f:cc (0c:c4:7a:6a:1f:cc) Internet Protocol Version 4, Src: 192.168.6.86 (192.168.6.86), Dst: 192.168.6.254 (192.168.6.254) User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060) Session Initiation Protocol (200) Status-Line: SIP/2.0 200 OK Message Header Via: SIP/2.0/UDP 192.168.6.254:5060;branch=z9hG4bK43f3ca8c From: <sip:988005500555@192.168.6.254:5060>;tag=as714c7aa4 To: "2013" <sip:2013@192.168.6.254:5060>;tag=3592805854 Call-ID: 0_1399479574@192.168.6.86 CSeq: 102 BYE User-Agent: Yealink W52P 25.80.14.1 Content-Length: 0
Задан: 2017-12-12 16:11:36 +0400
Просмотрен: 2,167 раз
Обновлен: Dec 12 '17
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.
лучше лог , и дамп такого звонка вместе с E1.
april22 ( 2017-12-12 16:20:43 +0400 )редактироватьок, как будем звонить, попробую снять. Правда на это нужен день-два, потому что звоним не часто, а просто позвонить и попросить поставить на удержание, боюсь не поймут :)
podolskiy ( 2017-12-12 17:44:29 +0400 )редактировать