403 Forbidden for REGISTER

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 

Am changing few headers in the kamailio side according to requirements. Below are the changes,

- Username in Authorization header is changed when 2nd REGISTER is sent with authorization.

- From header username, To header username and Contact header username's are also changed accordingly in the kamailio side in 1st and 2nd REGISTER request and forwarded.

- When 401 Unauthorised response is received for 1st REGISTER, username in all the headers are reverted back by kamailio, to what was received from PJSIP in the begining.

- So PJSIP will receive response with same headers what was sent from it in the REGISTER request.

 

But this results in 403 Forbidden response even if username is changed to valid username in kamailio in 2nd REGISTER.

 

I know that password is hashed into the response header under Authorization header using nonce.

Am doubting if username is also used to hash the password in response header under Authorization header

 

Can you guys give me an idea on what is going wrong in the 2nd REGISTER request?

 

Thanks,

Vivek.

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux