Изначально проблема может показаться весьма проста(может она и реально пустяковая) весь лог засыпан, и уже несколько дней как все жалуются на обрывы связи:
Код: Выделить всё
[2017-12-05 16:30:36] NOTICE[2764]: chan_sip.c:29729 sip_poke_noanswer: Peer '101' is now UNREACHABLE! Last qualify: 73
[2017-12-05 16:30:36] NOTICE[2764]: chan_sip.c:29729 sip_poke_noanswer: Peer '109' is now UNREACHABLE! Last qualify: 74
[2017-12-05 16:30:36] NOTICE[2764]: chan_sip.c:29729 sip_poke_noanswer: Peer '106' is now UNREACHABLE! Last qualify: 80
[2017-12-05 16:30:46] NOTICE[2764]: chan_sip.c:23787 handle_response_peerpoke: Peer '101' is now Reachable. (76ms / 2000ms)
[2017-12-05 16:30:46] NOTICE[2764]: chan_sip.c:23787 handle_response_peerpoke: Peer '109' is now Reachable. (73ms / 2000ms)
[2017-12-05 16:30:46] NOTICE[2764]: chan_sip.c:23787 handle_response_peerpoke: Peer '106' is now Reachable. (80ms / 2000ms)
Подобная картина может быть если бы, кто то пытался брутить PBX, но нет же iptables+fail2ban. Процессор ничего не грузит 1-10% обычная нагрузка! Подкиньте мыслишки куда думать. Debug с указанной проблемой ниже. Спасибо заранее.
Код: Выделить всё
Reliably Transmitting (NAT) to 217.116.60.86:16022:
OPTIONS sip:102@192.168.0.96:5062 SIP/2.0
Via: SIP/2.0/UDP 109.234.36.15:5060;branch=z9hG4bK35acbfd3;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@109.234.36.15>;tag=as39e65f40
To: <sip:102@192.168.0.96:5062>
Contact: <sip:Unknown@109.234.36.15:5060>
Call-ID: 22cfd93a45fe29e166adf011367b7aca@109.234.36.15:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.17.1)
Date: Tue, 05 Dec 2017 10:05:30 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
---
Retransmitting #1 (NAT) to 217.116.60.86:16022:
OPTIONS sip:102@192.168.0.96:5062 SIP/2.0
Via: SIP/2.0/UDP 109.234.36.15:5060;branch=z9hG4bK35acbfd3;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@109.234.36.15>;tag=as39e65f40
To: <sip:102@192.168.0.96:5062>
Contact: <sip:Unknown@109.234.36.15:5060>
Call-ID: 22cfd93a45fe29e166adf011367b7aca@109.234.36.15:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.17.1)
Date: Tue, 05 Dec 2017 10:05:30 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
---
Retransmitting #2 (NAT) to 217.116.60.86:16022:
OPTIONS sip:102@192.168.0.96:5062 SIP/2.0
Via: SIP/2.0/UDP 109.234.36.15:5060;branch=z9hG4bK35acbfd3;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@109.234.36.15>;tag=as39e65f40
To: <sip:102@192.168.0.96:5062>
Contact: <sip:Unknown@109.234.36.15:5060>
Call-ID: 22cfd93a45fe29e166adf011367b7aca@109.234.36.15:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.17.1)
Date: Tue, 05 Dec 2017 10:05:30 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
---
Retransmitting #3 (NAT) to 217.116.60.86:16022:
OPTIONS sip:102@192.168.0.96:5062 SIP/2.0
Via: SIP/2.0/UDP 109.234.36.15:5060;branch=z9hG4bK35acbfd3;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@109.234.36.15>;tag=as39e65f40
To: <sip:102@192.168.0.96:5062>
Contact: <sip:Unknown@109.234.36.15:5060>
Call-ID: 22cfd93a45fe29e166adf011367b7aca@109.234.36.15:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.17.1)
Date: Tue, 05 Dec 2017 10:05:30 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
---
Retransmitting #4 (NAT) to 217.116.60.86:16022:
OPTIONS sip:102@192.168.0.96:5062 SIP/2.0
Via: SIP/2.0/UDP 109.234.36.15:5060;branch=z9hG4bK35acbfd3;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@109.234.36.15>;tag=as39e65f40
To: <sip:102@192.168.0.96:5062>
Contact: <sip:Unknown@109.234.36.15:5060>
Call-ID: 22cfd93a45fe29e166adf011367b7aca@109.234.36.15:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.17.1)
Date: Tue, 05 Dec 2017 10:05:30 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
---
[2017-12-05 16:05:35] NOTICE[2764]: chan_sip.c:29729 sip_poke_noanswer: Peer '102' is now UNREACHABLE! Last qualify: 180
Really destroying SIP dialog '22cfd93a45fe29e166adf011367b7aca@109.234.36.15:5060' Method: OPTIONS
<--- SIP read from UDP:217.116.60.86:16022 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 109.234.36.15:5060;branch=z9hG4bK35acbfd3;rport
From: "Unknown" <sip:Unknown@109.234.36.15>;tag=as39e65f40
To: <sip:102@192.168.0.96:5062>;tag=776298603
Call-ID: 22cfd93a45fe29e166adf011367b7aca@109.234.36.15:5060
CSeq: 102 OPTIONS
User-Agent: Yealink SIP-W52P 25.73.15.1
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
<--- SIP read from UDP:217.116.60.86:16022 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 109.234.36.15:5060;branch=z9hG4bK35acbfd3;rport
From: "Unknown" <sip:Unknown@109.234.36.15>;tag=as39e65f40
To: <sip:102@192.168.0.96:5062>;tag=776298603
Call-ID: 22cfd93a45fe29e166adf011367b7aca@109.234.36.15:5060
CSeq: 102 OPTIONS
User-Agent: Yealink SIP-W52P 25.73.15.1
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
<--- SIP read from UDP:217.116.60.86:16022 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 109.234.36.15:5060;branch=z9hG4bK35acbfd3;rport
From: "Unknown" <sip:Unknown@109.234.36.15>;tag=as39e65f40
To: <sip:102@192.168.0.96:5062>;tag=776298603
Call-ID: 22cfd93a45fe29e166adf011367b7aca@109.234.36.15:5060
CSeq: 102 OPTIONS
User-Agent: Yealink SIP-W52P 25.73.15.1
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
<--- SIP read from UDP:217.116.60.86:16022 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 109.234.36.15:5060;branch=z9hG4bK35acbfd3;rport
From: "Unknown" <sip:Unknown@109.234.36.15>;tag=as39e65f40
To: <sip:102@192.168.0.96:5062>;tag=776298603
Call-ID: 22cfd93a45fe29e166adf011367b7aca@109.234.36.15:5060
CSeq: 102 OPTIONS
User-Agent: Yealink SIP-W52P 25.73.15.1
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
<--- SIP read from UDP:217.116.60.86:16022 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 109.234.36.15:5060;branch=z9hG4bK35acbfd3;rport
From: "Unknown" <sip:Unknown@109.234.36.15>;tag=as39e65f40
To: <sip:102@192.168.0.96:5062>;tag=776298603
Call-ID: 22cfd93a45fe29e166adf011367b7aca@109.234.36.15:5060
CSeq: 102 OPTIONS
User-Agent: Yealink SIP-W52P 25.73.15.1
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Reliably Transmitting (NAT) to 217.116.60.86:16022:
OPTIONS sip:102@192.168.0.96:5062 SIP/2.0
Via: SIP/2.0/UDP 109.234.36.15:5060;branch=z9hG4bK600c201d;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@109.234.36.15>;tag=as38fdc7e5
To: <sip:102@192.168.0.96:5062>
Contact: <sip:Unknown@109.234.36.15:5060>
Call-ID: 4f3e64754065f8552abe203b5601af48@109.234.36.15:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.17.1)
Date: Tue, 05 Dec 2017 10:05:45 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:217.116.60.86:16022 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 109.234.36.15:5060;branch=z9hG4bK600c201d;rport
From: "Unknown" <sip:Unknown@109.234.36.15>;tag=as38fdc7e5
To: <sip:102@192.168.0.96:5062>;tag=2942399376
Call-ID: 4f3e64754065f8552abe203b5601af48@109.234.36.15:5060
CSeq: 102 OPTIONS
User-Agent: Yealink SIP-W52P 25.73.15.1
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
[2017-12-05 16:05:45] NOTICE[2764]: chan_sip.c:23787 handle_response_peerpoke: Peer '102' is now Reachable. (144ms / 2000ms)
Really destroying SIP dialog '4f3e64754065f8552abe203b5601af48@109.234.36.15:5060' Method: OPTIONS