Trying to register the Asterisk to the Cisco BTS 10200. The 
BTS challenges the REGISTER with a 401 Unathorized and 
sets âqop=authâ in the WWW-Authenticate header.

The Asterisk should reply with a nonce-count in the 
Authorization header of the new REGISTER but it does not send 
this field. 

What Asterisk configuration will force the PBX to send the NC 
value?

Thanks,

Mark



Reliably Transmitting:
REGISTER sip:customer2.lab2.cbeyond.net SIP/2.0
Via: SIP/2.0/UDP 90.0.4.57:5060;branch=z9hG4bK3483fca1
From: 
<sip:[EMAIL PROTECTED]>;tag=as6c243000
To: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Expires: 160
Contact: <sip:[EMAIL PROTECTED]>
Event: registration
Content-Length: 0

 (no NAT) to 90.0.4.76:5060
shitbrick*CLI> 

Sip read: 
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP  
90.0.4.57:5060;branch=z9hG4bK3483fca1;received=90.0.4.57
From: 
<sip:[EMAIL PROTECTED]>;tag=as6c243000
To: 
<sip:[EMAIL PROTECTED]>;tag=1_1102_t12492_
6472
Call-ID: [EMAIL PROTECTED]
CSeq: 102 REGISTER
WWW-Authenticate: Digest realm="customer2.lab2.cbeyond.net", 
nonce="bdcaa6ccd20111e818ecdba14d97e283", algorithm=MD5, 
qop="auth"
Content-Length: 0


8 headers, 0 lines
12 headers, 0 lines
Reliably Transmitting:
REGISTER sip:customer2.lab2.cbeyond.net SIP/2.0
Via: SIP/2.0/UDP 90.0.4.57:5060;branch=z9hG4bK3483fca1
From: 
<sip:[EMAIL PROTECTED]>;tag=as6c243000
To: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Authorization: Digest username="6783975000", 
realm="customer2.lab2.cbeyond.net", algorithm="MD5", 
uri="sip:customer2.lab2.cbeyond.net", 
nonce="bdcaa6ccd20111e818ecdba14d97e283", 
response="962a1259e5b2afaf18289aeaf5427485", opaque=""
Expires: 160
Contact: <sip:[EMAIL PROTECTED]>
Event: registration
Content-Length: 0

 (no NAT) to 90.0.4.76:5060

Sip read: 
SIP/2.0 400 Bad Request
Via: SIP/2.0/UDP  
90.0.4.57:5060;branch=z9hG4bK3483fca1;received=90.0.4.57
From: 
<sip:[EMAIL PROTECTED]>;tag=as6c243000
To: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 103 REGISTER
Content-Length: 0



MARK G. MOODY
Network Architecture

Reply via email to