Removed contact 'sip:xxxx' from AOR 'xxx' due to request
Добавлено: 20 авг 2023, 15:20
Добрый день.
Есть вызывная sip панель hikvision
Из настроек галка sip, ip сервера, логин и пароль.
Настроен pjsip
Панель регистрируется но в CLI каждые 5 минут следующее:
Включил логирование pjsip
Не могу понять почему каждые 5 минут перерегистрация.
Виноваты настройки Asterisk или виновата вызывная панель ??
Есть вызывная sip панель hikvision
Из настроек галка sip, ip сервера, логин и пароль.
Настроен pjsip
Панель регистрируется но в CLI каждые 5 минут следующее:
Код: Выделить всё
[Aug 20 13:30:44] -- Removed contact 'sip:2100@192.168.12.19:5060' from AOR '2100' due to request
[Aug 20 13:30:44] == Contact 2100/sip:2100@192.168.12.19:5060 has been deleted
[Aug 20 13:30:44] == Endpoint 2100 is now Unreachable
[Aug 20 13:30:44] -- Added contact 'sip:2100@192.168.12.19:5060' to AOR '2100' with expiration of 3600 seconds
[Aug 20 13:30:45] == Endpoint 2100 is now Reachable
[Aug 20 13:30:45] -- Contact 2100/sip:2100@192.168.12.19:5060 is now Reachable. RTT: 76.766 msec
[Aug 20 13:30:48] -- Removed contact 'sip:2100@192.168.12.19:5060' from AOR '2100' due to request
[Aug 20 13:30:48] == Contact 2100/sip:2100@192.168.12.19:5060 has been deleted
[Aug 20 13:30:48] == Endpoint 2100 is now Unreachable
[Aug 20 13:30:49] -- Added contact 'sip:2100@192.168.12.19:5060' to AOR '2100' with expiration of 3600 seconds
[Aug 20 13:30:49] == Endpoint 2100 is now Reachable
[Aug 20 13:30:49] -- Contact 2100/sip:2100@192.168.12.19:5060 is now Reachable. RTT: 107.337 msec
Код: Выделить всё
[Aug 20 15:12:41] <--- Received SIP request (436 bytes) from UDP:192.168.12.19:5060 --->
[Aug 20 15:12:41] REGISTER sip:192.168.12.1:5060 SIP/2.0
[Aug 20 15:12:41] Contact: "2100" <sip:2100@192.168.12.19:5060>
[Aug 20 15:12:41] Expires: 0
[Aug 20 15:12:41] To: <sip:2100@192.168.12.1:5060>
[Aug 20 15:12:41] Call-ID: 1784900434@192.168.12.1:5060
[Aug 20 15:12:41] Via: SIP/2.0/UDP 192.168.12.19:5060;rport;branch=z9hG4bK2031865407
[Aug 20 15:12:41] From: "2100" <sip:2100@192.168.12.1:5060>;tag=500925244
[Aug 20 15:12:41] CSeq: 72 REGISTER
[Aug 20 15:12:41] User-Agent: YATE/5.5.0
[Aug 20 15:12:41] Max-Forwards: 70
[Aug 20 15:12:41] Allow: ACK, INVITE, BYE, CANCEL, MESSAGE, OPTIONS, INFO
[Aug 20 15:12:41] Content-Length: 0
[Aug 20 15:12:41]
[Aug 20 15:12:41]
[Aug 20 15:12:41] <--- Transmitting SIP response (490 bytes) to UDP:192.168.12.19:5060 --->
[Aug 20 15:12:41] SIP/2.0 401 Unauthorized
[Aug 20 15:12:41] Via: SIP/2.0/UDP 192.168.12.19:5060;rport=5060;received=192.168.12.19;branch=z9hG4bK2031865407
[Aug 20 15:12:41] Call-ID: 1784900434@192.168.12.1:5060
[Aug 20 15:12:41] From: "2100" <sip:2100@192.168.12.1>;tag=500925244
[Aug 20 15:12:41] To: <sip:2100@192.168.12.1>;tag=z9hG4bK2031865407
[Aug 20 15:12:41] CSeq: 72 REGISTER
[Aug 20 15:12:41] WWW-Authenticate: Digest realm="asterisk",nonce="1692533561/32513945e355d1281a6ed6a6a437f272",opaque="7b9532cc6d85fbd8",algorithm=MD5,qop="auth"
[Aug 20 15:12:41] Server: Linksys/SPA3102-5.2.13(GW002)
[Aug 20 15:12:41] Content-Length: 0
[Aug 20 15:12:41]
[Aug 20 15:12:41]
[Aug 20 15:12:41] <--- Received SIP request (727 bytes) from UDP:192.168.12.19:5060 --->
[Aug 20 15:12:41] REGISTER sip:192.168.12.1:5060 SIP/2.0
[Aug 20 15:12:41] Contact: "2100" <sip:2100@192.168.12.19:5060>
[Aug 20 15:12:41] Expires: 0
[Aug 20 15:12:41] To: <sip:2100@192.168.12.1:5060>
[Aug 20 15:12:41] Call-ID: 1784900434@192.168.12.1:5060
[Aug 20 15:12:41] Via: SIP/2.0/UDP 192.168.12.19:5060;rport;branch=z9hG4bK900052193
[Aug 20 15:12:41] From: "2100" <sip:2100@192.168.12.1:5060>;tag=500925244
[Aug 20 15:12:41] User-Agent: YATE/5.5.0
[Aug 20 15:12:41] Max-Forwards: 70
[Aug 20 15:12:41] Allow: ACK, INVITE, BYE, CANCEL, MESSAGE, OPTIONS, INFO
[Aug 20 15:12:41] CSeq: 73 REGISTER
[Aug 20 15:12:41] Authorization: Digest username="2100", realm="asterisk", nonce="1692533561/32513945e355d1281a6ed6a6a437f272", uri="sip:192.168.12.1:5060", response="a23536784b26f3ebb1d6320b8317364f", algorithm=MD5, opaque="7b9532cc6d85fbd8", qop=auth, nc=0000005e, cnonce="3618a3899fe08ea0ce676cf15627af14"
[Aug 20 15:12:41] Content-Length: 0
[Aug 20 15:12:41]
[Aug 20 15:12:41]
[Aug 20 15:12:41] -- Removed contact 'sip:2100@192.168.12.19:5060' from AOR '2100' due to request
[Aug 20 15:12:41] <--- Transmitting SIP response (381 bytes) to UDP:192.168.12.19:5060 --->
[Aug 20 15:12:41] SIP/2.0 200 OK
[Aug 20 15:12:41] Via: SIP/2.0/UDP 192.168.12.19:5060;rport=5060;received=192.168.12.19;branch=z9hG4bK900052193
[Aug 20 15:12:41] Call-ID: 1784900434@192.168.12.1:5060
[Aug 20 15:12:41] From: "2100" <sip:2100@192.168.12.1>;tag=500925244
[Aug 20 15:12:41] To: <sip:2100@192.168.12.1>;tag=z9hG4bK900052193
[Aug 20 15:12:41] CSeq: 73 REGISTER
[Aug 20 15:12:41] Date: Sun, 20 Aug 2023 12:12:41 GMT
[Aug 20 15:12:41] Expires: 0
[Aug 20 15:12:41] Server: Linksys/SPA3102-5.2.13(GW002)
[Aug 20 15:12:41] Content-Length: 0
[Aug 20 15:12:41]
[Aug 20 15:12:41]
[Aug 20 15:12:41] == Contact 2100/sip:2100@192.168.12.19:5060 has been deleted
[Aug 20 15:12:41] == Endpoint 2100 is now Unreachable
[Aug 20 15:12:42] <--- Received SIP request (438 bytes) from UDP:192.168.12.19:5060 --->
[Aug 20 15:12:42] REGISTER sip:192.168.12.1:5060 SIP/2.0
[Aug 20 15:12:42] Contact: "2100" <sip:2100@192.168.12.19:5060>
[Aug 20 15:12:42] Expires: 3600
[Aug 20 15:12:42] To: <sip:2100@192.168.12.1:5060>
[Aug 20 15:12:42] Via: SIP/2.0/UDP 192.168.12.19:5060;rport;branch=z9hG4bK881922154
[Aug 20 15:12:42] From: "2100" <sip:2100@192.168.12.1:5060>;tag=782532120
[Aug 20 15:12:42] Call-ID: 1794823801@192.168.12.1:5060
[Aug 20 15:12:42] CSeq: 71 REGISTER
[Aug 20 15:12:42] User-Agent: YATE/5.5.0
[Aug 20 15:12:42] Max-Forwards: 70
[Aug 20 15:12:42] Allow: ACK, INVITE, BYE, CANCEL, MESSAGE, OPTIONS, INFO
[Aug 20 15:12:42] Content-Length: 0
[Aug 20 15:12:42]
[Aug 20 15:12:42]
[Aug 20 15:12:42] <--- Transmitting SIP response (488 bytes) to UDP:192.168.12.19:5060 --->
[Aug 20 15:12:42] SIP/2.0 401 Unauthorized
[Aug 20 15:12:42] Via: SIP/2.0/UDP 192.168.12.19:5060;rport=5060;received=192.168.12.19;branch=z9hG4bK881922154
[Aug 20 15:12:42] Call-ID: 1794823801@192.168.12.1:5060
[Aug 20 15:12:42] From: "2100" <sip:2100@192.168.12.1>;tag=782532120
[Aug 20 15:12:42] To: <sip:2100@192.168.12.1>;tag=z9hG4bK881922154
[Aug 20 15:12:42] CSeq: 71 REGISTER
[Aug 20 15:12:42] WWW-Authenticate: Digest realm="asterisk",nonce="1692533562/559e58d616ff1649947f050687c79cfa",opaque="347343cc78546a6e",algorithm=MD5,qop="auth"
[Aug 20 15:12:42] Server: Linksys/SPA3102-5.2.13(GW002)
[Aug 20 15:12:42] Content-Length: 0
[Aug 20 15:12:42]
[Aug 20 15:12:42]
[Aug 20 15:12:42] <--- Received SIP request (731 bytes) from UDP:192.168.12.19:5060 --->
[Aug 20 15:12:42] REGISTER sip:192.168.12.1:5060 SIP/2.0
[Aug 20 15:12:42] Contact: "2100" <sip:2100@192.168.12.19:5060>
[Aug 20 15:12:42] Expires: 3600
[Aug 20 15:12:42] To: <sip:2100@192.168.12.1:5060>
[Aug 20 15:12:42] Via: SIP/2.0/UDP 192.168.12.19:5060;rport;branch=z9hG4bK2110217687
[Aug 20 15:12:42] From: "2100" <sip:2100@192.168.12.1:5060>;tag=782532120
[Aug 20 15:12:42] Call-ID: 1794823801@192.168.12.1:5060
[Aug 20 15:12:42] User-Agent: YATE/5.5.0
[Aug 20 15:12:42] Max-Forwards: 70
[Aug 20 15:12:42] Allow: ACK, INVITE, BYE, CANCEL, MESSAGE, OPTIONS, INFO
[Aug 20 15:12:42] CSeq: 72 REGISTER
[Aug 20 15:12:42] Authorization: Digest username="2100", realm="asterisk", nonce="1692533562/559e58d616ff1649947f050687c79cfa", uri="sip:192.168.12.1:5060", response="27b52f0c8c9ebce68e362d42839f3c3a", algorithm=MD5, opaque="347343cc78546a6e", qop=auth, nc=0000005f, cnonce="14a285b9e98bd146f1fb9b2a3cb19a3a"
[Aug 20 15:12:42] Content-Length: 0
[Aug 20 15:12:42]
[Aug 20 15:12:42]
[Aug 20 15:12:42] -- Added contact 'sip:2100@192.168.12.19:5060' to AOR '2100' with expiration of 3600 seconds
[Aug 20 15:12:42] <--- Transmitting SIP response (439 bytes) to UDP:192.168.12.19:5060 --->
[Aug 20 15:12:42] SIP/2.0 200 OK
[Aug 20 15:12:42] Via: SIP/2.0/UDP 192.168.12.19:5060;rport=5060;received=192.168.12.19;branch=z9hG4bK2110217687
[Aug 20 15:12:42] Call-ID: 1794823801@192.168.12.1:5060
[Aug 20 15:12:42] From: "2100" <sip:2100@192.168.12.1>;tag=782532120
[Aug 20 15:12:42] To: <sip:2100@192.168.12.1>;tag=z9hG4bK2110217687
[Aug 20 15:12:42] CSeq: 72 REGISTER
[Aug 20 15:12:42] Date: Sun, 20 Aug 2023 12:12:42 GMT
[Aug 20 15:12:42] Contact: <sip:2100@192.168.12.19:5060>;expires=3599
[Aug 20 15:12:42] Expires: 3600
[Aug 20 15:12:42] Server: Linksys/SPA3102-5.2.13(GW002)
[Aug 20 15:12:42] Content-Length: 0
[Aug 20 15:12:42]
[Aug 20 15:12:42]
[Aug 20 15:12:42] <--- Transmitting SIP request (432 bytes) to UDP:192.168.12.19:5060 --->
[Aug 20 15:12:42] OPTIONS sip:2100@192.168.12.19:5060 SIP/2.0
[Aug 20 15:12:42] Via: SIP/2.0/UDP 192.168.12.1:5060;rport;branch=z9hG4bKPjfdbe9359-6701-4bd9-8a93-3498d5c9dc05
[Aug 20 15:12:42] From: <sip:2100@192.168.12.1>;tag=8d52f571-fc51-47cf-935c-7c17293f3170
[Aug 20 15:12:42] To: <sip:2100@192.168.12.19>
[Aug 20 15:12:42] Contact: <sip:2100@192.168.12.1:5060>
[Aug 20 15:12:42] Call-ID: 72429fff-cbb6-45de-a2cc-6271b27d6250
[Aug 20 15:12:42] CSeq: 42192 OPTIONS
[Aug 20 15:12:42] Max-Forwards: 70
[Aug 20 15:12:42] User-Agent: Linksys/SPA3102-5.2.13(GW002)
[Aug 20 15:12:42] Content-Length: 0
[Aug 20 15:12:42]
[Aug 20 15:12:42]
[Aug 20 15:12:42] <--- Received SIP response (353 bytes) from UDP:192.168.12.19:5060 --->
[Aug 20 15:12:42] SIP/2.0 100 Trying
[Aug 20 15:12:42] Via: SIP/2.0/UDP 192.168.12.1:5060;rport=5060;branch=z9hG4bKPjfdbe9359-6701-4bd9-8a93-3498d5c9dc05;received=192.168.12.1
[Aug 20 15:12:42] From: <sip:2100@192.168.12.1>;tag=8d52f571-fc51-47cf-935c-7c17293f3170
[Aug 20 15:12:42] To: <sip:2100@192.168.12.19>
[Aug 20 15:12:42] Call-ID: 72429fff-cbb6-45de-a2cc-6271b27d6250
[Aug 20 15:12:42] CSeq: 42192 OPTIONS
[Aug 20 15:12:42] Server: YATE/5.5.0
[Aug 20 15:12:42] Content-Length: 0
[Aug 20 15:12:42]
[Aug 20 15:12:42]
[Aug 20 15:12:42] <--- Received SIP response (421 bytes) from UDP:192.168.12.19:5060 --->
[Aug 20 15:12:42] SIP/2.0 200 OK
[Aug 20 15:12:42] Via: SIP/2.0/UDP 192.168.12.1:5060;rport=5060;branch=z9hG4bKPjfdbe9359-6701-4bd9-8a93-3498d5c9dc05;received=192.168.12.1
[Aug 20 15:12:42] From: <sip:2100@192.168.12.1>;tag=8d52f571-fc51-47cf-935c-7c17293f3170
[Aug 20 15:12:42] To: <sip:2100@192.168.12.19>;tag=1744810291
[Aug 20 15:12:42] Call-ID: 72429fff-cbb6-45de-a2cc-6271b27d6250
[Aug 20 15:12:42] CSeq: 42192 OPTIONS
[Aug 20 15:12:42] Server: YATE/5.5.0
[Aug 20 15:12:42] Allow: ACK, INVITE, BYE, CANCEL, MESSAGE, OPTIONS, INFO
[Aug 20 15:12:42] Content-Length: 0
[Aug 20 15:12:42]
[Aug 20 15:12:42]
[Aug 20 15:12:42] == Endpoint 2100 is now Reachable
[Aug 20 15:12:42] -- Contact 2100/sip:2100@192.168.12.19:5060 is now Reachable. RTT: 79.973 msec
Виноваты настройки Asterisk или виновата вызывная панель ??