Hi All,

Need your suggestion on this .
I have doubt on authorization field present in sip request
message

Please refer below link.

http://www.ietf.org/rfc/rfc2617.txt

The Authorization Request Header

   The client is expected to retry the request, passing an Authorization
   header line, which is defined according to the framework above,
   utilized as follows.

       credentials      = "Digest" digest-response
       digest-response  = 1#( username | realm | nonce | digest-uri
                       | response | [ algorithm ] | [cnonce] |
                       [opaque] | [message-qop] |
                           [nonce-count]  | [auth-param] )

       username         = "username" "=" username-value
       username-value   = quoted-string
       digest-uri       = "uri" "=" digest-uri-value
       digest-uri-value = request-uri   ; As specified by HTTP/1.1
       message-qop      = "qop" "=" qop-value
       cnonce           = "cnonce" "=" cnonce-value
       cnonce-value     = nonce-value
       nonce-count      = "nc" "=" nc-value
       nc-value         = 8LHEX
The nc-value is the hexadecimal
count of the number of requests (including the current request)
that the client has sent with the nonce value in this request.

              ----------------------->
                Register cseq =1 cnonce-value =x   nc =1
             <------------------ ----
                    200ok
             ------------------------->
                Register cseq =2 cnonce-value =x    nc=1


In my case next register with same call id but ceq incremented so it
is a re-register message with same cnonce value.
But nc value is not incremented .Is this issue ? If yes on what
parameter should we increase the nc value .
If it is a successive request message for same call with same
nonce-value then increment nc ?


Thanks,
Ravi
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to