how to handle authenticate response on register request

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

 



I am trying to send register request using simple_pjua sample, the server sends the 401 error with 
"
WWW-Authenticate: Digest realm="open-ims.test",nonce="xMlb942+5SHM68+d8Ah4xbWPRqTZjwAAtoxNjttEn5Q=", algorithm=AKAv1-MD5
"
the sample just drop the response, and there is no module handle it in call back functions. 
I add #define PJSIP_HAS_DIGEST_AKA_AUTH   1 to the site_config.h, but the issue is still not fixed.
 
my question is:
1. is there any exist call back function in module can handle this by sending a new register request with authentication information.
2. How can I add new functions to handle this kind of response?
 
Thanks in advanced.
 
Yonggang 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101219/0a7a4f3e/attachment.html>


[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