IP вызывная панель Hikvision + Asterisk не проходит регистрация клиента
Здравствуйте,
Вызывная панель HikVision + Asterisk
Нужно подключить панель к серверу
Панель и астериск в одной сети, номер в sip настроил
Панель подключаться не хочет, Asterisk выдаёт следующее уведомление:
[Feb 28 12:10:08] NOTICE[3489]: chan_sip.c:29056 handle_request_register: Registration from '<sip:9999999@192.168.26.106:5060>' failed for '192.168.26.170:5060' - Wrong password
Пароль неоднократно проверял, сверял, менял
Имя пользователя панели: 1000
Адрес, порт сервера прописаны правильно
При этом с VoIP софтфона Bria под тем же телефоном (1000) подключаюсь к серверу без проблем
В чём может быть проблема?
Так же доп информация с debug
<--- SIP read from UDP:192.168.26.170:5060 --->
REGISTER sip:192.168.26.106:5060 SIP/2.0
Contact: "1000" <sip:9999999@192.168.26.170:5060>
Expires: 5940
To: <sip:9999999@192.168.26.106:5060>
Via: SIP/2.0/UDP 192.168.26.170:5060;rport;branch=z9hG4bK1487711195
From: "1000" <sip:9999999@192.168.26.106:5060>;tag=48024396
Call-ID: 697019522@192.168.26.106:5060
CSeq: 31 REGISTER
User-Agent: YATE/5.5.0
Max-Forwards: 70
Allow: ACK, INVITE, BYE, CANCEL, MESSAGE, OPTIONS, INFO
Content-Length: 0
<------------->
--- (12 headers 0 lines) ---
Sending to 192.168.26.170:5060 (no NAT)
Sending to 192.168.26.170:5060 (no NAT)
<--- Transmitting (no NAT) to 192.168.26.170:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.26.170:5060;branch=z9hG4bK1487711195;received=192.168.26.170;rport=5060
From: "1000" <sip:9999999@192.168.26.106:5060>;tag=48024396
To: <sip:9999999@192.168.26.106:5060>;tag=as70c72f8b
Call-ID: 697019522@192.168.26.106:5060
CSeq: 31 REGISTER
Server: Asterisk PBX 18.10.0~dfsg+~cs6.10.40431411-2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="7d2e41d3"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '697019522@192.168.26.106:5060' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:192.168.26.170:5060 --->
REGISTER sip:192.168.26.106:5060 SIP/2.0
Contact: "1000" <sip:9999999@192.168.26.170:5060>
Expires: 5940
To: <sip:9999999@192.168.26.106:5060>
Via: SIP/2.0/UDP 192.168.26.170:5060;rport;branch=z9hG4bK1220372107
From: "1000" <sip:9999999@192.168.26.106:5060>;tag=48024396
Call-ID: 697019522@192.168.26.106:5060
User-Agent: YATE/5.5.0
Max-Forwards: 70
Allow: ACK, INVITE, BYE, CANCEL, MESSAGE, OPTIONS, INFO
CSeq: 32 REGISTER
Authorization: Digest username="1000", realm="asterisk", nonce="7d2e41d3", uri="sip:192.168.26.106:5060", response="653d9ce9abe66b2afabbf149f214ba42", algorithm=MD5
Content-Length: 0
<------------->
--- (13 headers 0 lines) ---
Sending to 192.168.26.170:5060 (no NAT)
<--- Transmitting (no NAT) to 192.168.26.170:5060 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.26.170:5060;branch=z9hG4bK1220372107;received=192.168.26.170;rport=5060
From: "1000" <sip:9999999@192.168.26.106:5060>;tag=48024396
To: <sip:9999999@192.168.26.106:5060>;tag=as70c72f8b
Call-ID: 697019522@192.168.26.106:5060
CSeq: 32 REGISTER
Server: Asterisk PBX 18.10.0~dfsg+~cs6.10.40431411-2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<------------>
[Feb 28 12:12:36] NOTICE[3489]: chan_sip.c:29056 handle_request_register: Registration from '<sip:9999999@192.168.26.106:5060>' failed for '192.168.26.170:5060' - Wrong password
sip.conf
[general]
register => 1000:secretkey1@192.168.26.106:5060/1000
[1101]
type=friend
host=dynamic
context=phone
secret=secretkey1
quality=yes
defaultip = 192.168.26.106
[1104]
type = user
nat = no
insecure = invite, port
fromdomain = 192.168.26.106
disallow = all
allow = ulaw
allow = h264
quality = yes
username = 1104
secret = secretkey1
[1000]
type = user
nat = no
insecure = invite
disallow = all
allow = alaw
allow = h264
allow = ulaw
quality = yes
username = 1000
secret = secretkey1
defaultip = 192.168.26.170
[100000000]
type = user
nat = no
insecure = invite
disallow = all
allow = alaw
allow = ulaw
allow = h264
quality = yes
username = 10000000
secret = secretkey1
defaultip = 192.168.26.170
Your answer
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
Об этом форуме
This community is for professionals and enthusiasts of our products and services.
Read GuidelinesQuestion tools
Stats
Asked: 2/28/24, 11:32 AM |
Seen: 1738 times |
Last updated: 2/28/24, 11:33 AM |
Более 1 000 000 компаний в мире используют Asterisk.
Присоединяйтесь к нам и сделайте вашу компанию лучше.