Hi all,
There is a parameter called nonce included in every register request that
a UA sends to asterisk. I have read sip debug a lot and only found out that
the nonce parameter value which is used in register request was generated
by asterisk server in a previous sip response.
As you can see in
- Rizwan Hisham [EMAIL PROTECTED] wrote:
WWW-Authenticate: Digest algorithm=MD5, realm=asterisk, nonce=584760da
Authorization: Digest username=bernart48, realm=asterisk, algorithm=MD5,
uri=sip:[EMAIL PROTECTED]:9060, nonce=584760da,
response=948d3923bf2df47eca17c572713af2c7, opaque=
thanx for the reply. what i have understood from ur reply and from googling
is that for every authorisation there is a unique nonce (or new nonce), and
previous nonce is expired. but i have seen in sip debug on my atserisk cli
that :
for the first register request, server sends an unauthorisation
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rizwan
Hisham
Sent: Wednesday, August 15, 2007 7:52 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] why is nonce
Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] why is nonce=584760da used in
sip packets?
--- Transmitting (NAT) to 208.120.167.146:80 ---
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
208.120.167.146:80;branch=z9hG4bK722c974c
: [asterisk-users] why is nonce=584760da used in
sip packets?
--- Transmitting (NAT) to 208.120.167.146:80 ---
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
208.120.167.146:80;branch=z9hG4bK722c974c;received=208.120.167.146
From: sip:[EMAIL PROTECTED];tag