Доброго дня. Не могу зарегистрироваться на Asterisk через шлюз cisco spa122.
настройки в cisco и Asterisk:
на выходе Registration State: Failed
запросы asterisk:
<--- SIP read from UDP:192.168.15.1:5060 --->
REGISTER sip:192.168.15.15 SIP/2.0
Via: SIP/2.0/UDP 0.0.0.0:5060;branch=z9hG4bK-a118da64
From: "test" <sip:3117@192.168.15.15>;tag=4a16a02dc488df87o0
To: "test" <sip:3117@192.168.15.15>
Call-ID: beb2158-6228da97@0.0.0.0
CSeq: 8702 REGISTER
Max-Forwards: 70
Contact: "test" <sip:3117@0.0.0.0:5060>;expires=3600
User-Agent: Cisco/SPA122-1.3.5(004p)
P-Station-Name: ;mac=00e16db6ee84; display=""; sn=CCQ182501JO
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: replaces
<------------->
--- (13 headers 0 lines) ---
Sending to 192.168.15.1:5060 (NAT)
<--- Transmitting (no NAT) to 192.168.15.1:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 0.0.0.0:5060;branch=z9hG4bK-a118da64;received=192.168.15.1
From: "test" <sip:3117@192.168.15.15>;tag=4a16a02dc488df87o0
To: "test" <sip:3117@192.168.15.15>;tag=as0284a2eb
Call-ID: beb2158-6228da97@0.0.0.0
CSeq: 8702 REGISTER
Server: FPBX-2.10.0rc1(1.8.11)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4df85518"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'beb2158-6228da97@0.0.0.0' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:192.168.15.1:5060 --->
REGISTER sip:192.168.15.15 SIP/2.0
Via: SIP/2.0/UDP 0.0.0.0:5060;branch=z9hG4bK-e703d9c0
From: "test" <sip:3117@192.168.15.15>;tag=4a16a02dc488df87o0
To: "test" <sip:3117@192.168.15.15>
Call-ID: 2e3c530c-28c8347d@0.0.0.0
CSeq: 8703 REGISTER
Max-Forwards: 70
Authorization: Digest username="3117",realm="asterisk",nonce="4df85518",uri="sip:192.168.15.15",algorithm=MD5,response="62c5d9d7feed2c755ecabd96c53fddbb"
Contact: "test" <sip:3117@0.0.0.0:5060>;expires=3600
User-Agent: Cisco/SPA122-1.3.5(004p)
P-Station-Name: ;mac=00e16db6ee84; display=""; sn=CCQ182501JO
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: replaces
<------------->
--- (14 headers 0 lines) ---
Sending to 192.168.15.1:5060 (NAT)
<--- Transmitting (no NAT) to 192.168.15.1:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 0.0.0.0:5060;branch=z9hG4bK-e703d9c0;received=192.168.15.1
From: "test" <sip:3117@192.168.15.15>;tag=4a16a02dc488df87o0
To: "test" <sip:3117@192.168.15.15>;tag=as0af417d4
Call-ID: 2e3c530c-28c8347d@0.0.0.0
CSeq: 8703 REGISTER
Server: FPBX-2.10.0rc1(1.8.11)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="0e52aa9b"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '2e3c530c-28c8347d@0.0.0.0' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:192.168.15.1:5060 --->
REGISTER sip:192.168.15.15 SIP/2.0
Via: SIP/2.0/UDP 0.0.0.0:5060;branch=z9hG4bK-472e71c1
From: "test" <sip:3117@192.168.15.15>;tag=4a16a02dc488df87o0
To: "test" <sip:3117@192.168.15.15>
Call-ID: 3882fe5d-7b04996a@0.0.0.0
CSeq: 8704 REGISTER
Max-Forwards: 70
Authorization: Digest username="3117",realm="asterisk",nonce="0e52aa9b",uri="sip:192.168.15.15",algorithm=MD5,response="1fa54a8f508fcb8356d70daea3bb6ee2"
Contact: "test" <sip:3117@0.0.0.0:5060>;expires=3600
User-Agent: Cisco/SPA122-1.3.5(004p)
P-Station-Name: ;mac=00e16db6ee84; display=""; sn=CCQ182501JO
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: replaces
<------------->
--- (14 headers 0 lines) ---
Sending to 192.168.15.1:5060 (NAT)
<--- Transmitting (no NAT) to 192.168.15.1:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 0.0.0.0:5060;branch=z9hG4bK-472e71c1;received=192.168.15.1
From: "test" <sip:3117@192.168.15.15>;tag=4a16a02dc488df87o0
To: "test" <sip:3117@192.168.15.15>;tag=as19d8bddd
Call-ID: 3882fe5d-7b04996a@0.0.0.0
CSeq: 8704 REGISTER
Server: FPBX-2.10.0rc1(1.8.11)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="2ca17eb1"
Content-Length: 0
Помогите неопытному!!!!!