take a look at tsx_callback in sip_reg.c for how to handle 401 2010/12/19 LiYonggang <leeygang at hotmail.com> > 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 > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101221/556148b1/attachment.html>