how to handle authenticate response on register request

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

 



Hi All,
Is there anyone can help? after trying the pjsua command, the response still can not be handled by any module, the error is :
 
" 21:45:03.529 sip_endpoint.c  Message Response msg 401/REGISTER/cseq=18509 (rdat
a017197B4) from 131.107.106.16:443 was dropped/unhandled by any modules"
 
which module should handle the authentication response by sending a new request?
 
Thanks,
Yonggang 


From: leeygang@xxxxxxxxxxx
To: pjsip at lists.pjsip.org
Subject: how to handle authenticate response on register request
Date: Sun, 19 Dec 2010 07:42:12 +0800




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/20101220/f48c8fc5/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