Dear all,
Now I am testing a SIP server with Avaya 9650. Then I find an issue about the Authorization header when it sends register request.
The normal procedure should be:
9650 sends register request;
SIP server responses with unauthorized message( 401 Unauthorization in Wireshark logs);
9650 resends register request including the authorization header;
SIP server reponses with 200 ok.
In our SIP server, the Authorization header should include Digest username such as '[email protected]'. But if I input it in the User ID Field then login, 9650 will send the register request endlessly. It seems that 9650 cannot resend register request with the Digest username.
The Wireshark logs are like this:
Request: REGISTER
Status: 401 Unauthorized
Request: REGISTER
Status: 401 Unauthorized
Request: REGISTER
Status: 401 Unauthorized
...
And if I input string not including '@' in the User ID field, it performs normally:
Request: REGISTER
Status: 401 Unauthorized
Request: REGISTER
Status: 403 Forbidden
Do you know why it happens? Or have you ever experienced it? Thanks a lot.
Now I am testing a SIP server with Avaya 9650. Then I find an issue about the Authorization header when it sends register request.
The normal procedure should be:
9650 sends register request;
SIP server responses with unauthorized message( 401 Unauthorization in Wireshark logs);
9650 resends register request including the authorization header;
SIP server reponses with 200 ok.
In our SIP server, the Authorization header should include Digest username such as '[email protected]'. But if I input it in the User ID Field then login, 9650 will send the register request endlessly. It seems that 9650 cannot resend register request with the Digest username.
The Wireshark logs are like this:
Request: REGISTER
Status: 401 Unauthorized
Request: REGISTER
Status: 401 Unauthorized
Request: REGISTER
Status: 401 Unauthorized
...
And if I input string not including '@' in the User ID field, it performs normally:
Request: REGISTER
Status: 401 Unauthorized
Request: REGISTER
Status: 403 Forbidden
Do you know why it happens? Or have you ever experienced it? Thanks a lot.
Comment