Добрый вечер,
уперся в регистрацию Циски на Астериске
SPA -10.90.90.33
Asterisk - 10.90.90.3:5262
users.conf
[mgts]
;auth = md5
deny = 0.0.0.0/0
permit = 10.90.90.0/255.255.255.0
context = mgts
type = peer
insecure = port, invite
defaultuser = 102
;fromuser = 102
username = 102
secret = 1234
disallow = all
allow = ulaw
host = 10.90.90.33
qualify = yes
callcounter = yes
;nat=no
dtmf=info
peer доступен
mgts/102 10.90.90.33 Auto (No) No A 5060 OK (51 ms)
регистрация на asterisk
<--- SIP read from UDP:10.90.90.33:5060 --->
REGISTER sip:10.90.90.3:5262 SIP/2.0
Via: SIP/2.0/UDP 10.90.90.33:5060;branch=z9hG4bK-db0c8767
From: "102" <sip:102@10.90.90.3>;tag=5846a71e86328d99o0
To: "102" <sip:102@10.90.90.3>
Call-ID: 3835d0b9-434a7e39@10.90.90.33
CSeq: 44777 REGISTER
Max-Forwards: 70
Authorization: Digest username="102",realm="asterisk",nonce="6efe8b18",uri="sip:10.90.90.3:5262",algorithm=MD5,response="76c975670b3392bfdaa596be41fe4a02"
Contact: "102" <sip:102@10.90.90.33:5060>;expires=3600
User-Agent: Cisco/SPA122-1.4.0(001)
P-Station-Name: ;mac=00e16db7f1c0; display=""; sn=CCQ182803GG
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: replaces
<------------->
--- (14 headers 0 lines) ---
Sending to 10.90.90.33:5060 (no NAT)
<--- Transmitting (no NAT) to 10.90.90.33:5060 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 10.90.90.33:5060;branch=z9hG4bK-db0c8767;received=10.90.90.33
From: "102" <sip:102@10.90.90.3>;tag=5846a71e86328d99o0
To: "102" <sip:102@10.90.90.3>;tag=as59e1dec0
Call-ID: 3835d0b9-434a7e39@10.90.90.33
CSeq: 44777 REGISTER
Server: Ruslan Konin
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<------------>
[Sep 1 23:41:38] NOTICE[18817]: chan_sip.c:27774 handle_request_register: Registration from '"102" <sip:102@10.90.90.3>' failed for '10.90.90.33:5060' - Wrong password