I am developing a sip client that uses REGISTER with authorization, it replies a 401 message. I use CSIPHttpDigest and the function SetCredentialsL to indicate the user and the password. When the application sends the REGISTER message with authorization header it doesn't include the username, that is a requiered field in the RFC of SIP.

¿How can I have this field? If I don't use it I have the next error from the server:

400 Bad Request- Private ID in Authorization / username token missing

Thanks in advance