не проходит регистрация SIP dlinka на asteriske
не проходит регистрация SIP dlinka на asteriske и, соответственно, не проходят звонки. Вот что пишет asterisk, в это время:
Sip read:
REGISTER sip:x.x.x.x SIP/2.0
Via: SIP/2.0/UDP z.z.z.z:5060;branch=z9hG4bK502c8e882b07a954
Max-Forwards: 70
From: ivanovo <sip:ivanovo@asterisk>;tag=70c6b286b4118e57
To: ivanovo <sip:ivanovo@asterisk>
Call-ID: 2fca470b06798661@z.z.z.z
CSeq: 9 REGISTER
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, PRACK
Authorization: Digest username="ivanovo", realm="asterisk", nonce="5a0fc3cf", opaque="", uri="",
response="fed0732d5d7fa693fc6b267782d03660"
Content-Length: 0
10 headers, 0 lines
Using latest request as basis request
Sending to z.z.z.z : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 100 Trying
Via: SIP/2.0/UDP z.z.z.z:5060;branch=z9hG4bK502c8e882b07a954
From: ivanovo <sip:ivanovo@asterisk>;tag=70c6b286b4118e57
To: ivanovo <sip:ivanovo@asterisk>
Call-ID: 2fca470b06798661@z.z.z.z
CSeq: 9 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:ivanovo@x.x.x.x>
Content-Length: 0
to z.z.z.z:5060
Transmitting (no NAT):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP z.z.z.z:5060;branch=z9hG4bK502c8e882b07a954
From: ivanovo <sip:ivanovo@asterisk>;tag=70c6b286b4118e57
To: ivanovo <sip:ivanovo@asterisk>;tag=as6ea5f862
Call-ID: 2fca470b06798661@z.z.z.z
CSeq: 9 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:ivanovo@x.x.x.x>
WWW-Authenticate: Digest realm="asterisk", nonce="340a6b26"
Content-Length: 0
to z.z.z.z:5060
Scheduling destruction of call '2fca470b06798661@z.z.z.z' in 15000 ms
voipgw1*CLI>
Sip read:
REGISTER sip:x.x.x.x SIP/2.0
Via: SIP/2.0/UDP z.z.z.z:5060;branch=z9hG4bKc56b7cdd7495fef7
Max-Forwards: 70
From: ivanovo <sip:ivanovo@asterisk>;tag=70c6b286b4118e57
To: ivanovo <sip:ivanovo@asterisk>
Call-ID: 2fca470b06798661@z.z.z.z
CSeq: 10 REGISTER
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, PRACK
Authorization: Digest username="ivanovo", realm="asterisk", nonce="5a0fc3cf", opaque="", uri="",
response="fed0732d5d7fa693fc6b267782d03660"
Content-Length: 0
10 headers, 0 lines
Using latest request as basis request
Sending to z.z.z.z : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 100 Trying
Via: SIP/2.0/UDP z.z.z.z:5060;branch=z9hG4bKc56b7cdd7495fef7
From: ivanovo <sip:ivanovo@asterisk>;tag=70c6b286b4118e57
To: ivanovo <sip:ivanovo@asterisk>
Call-ID: 2fca470b06798661@z.z.z.z
CSeq: 10 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:ivanovo@x.x.x.x>
Content-Length: 0
to z.z.z.z:5060
Aug 9 18:06:09 WARNING[10175]: chan_sip.c:4826 check_auth: Stale nonce received from 'ivanovo
<sip:ivanovo@asterisk>'
Transmitting (no NAT):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP z.z.z.z:5060;branch=z9hG4bKc56b7cdd7495fef7
From: ivanovo <sip:ivanovo@asterisk>;tag=70c6b286b4118e57
To: ivanovo <sip:ivanovo@asterisk>;tag=as6ea5f862
Call-ID: 2fca470b06798661@z.z.z.z
CSeq: 10 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:ivanovo@x.x.x.x>
WWW-Authenticate: Digest realm="asterisk", nonce="40eefa44"
Content-Length: 0
to z.z.z.z:5060
Scheduling destruction of call '2fca470b06798661@z.z.z.z' in 15000 ms
voipgw1*CLI>
Особенно интересует строчка:
Aug 9 18:06:09 WARNING[10175]: chan_sip.c:4826 check_auth: Stale nonce received from 'ivanovo
что происходит? что от меня нужно?
|