<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>you can do:</p>
<p><br>
</p>
<p>if(!pv_auth_check(...passwd1...)) {</p>
<p> if(!pv_auth_check(...passwd2...)) {</p>
<p> # do the challenge<br>
</p>
<p> }</p>
<p>}<br>
</p>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 28/10/16 13:41, Jayesh Nambiar
wrote:<br>
</div>
<blockquote
cite="mid:CANAYozvdTdt+jSa9bHv_WxfTc+BO-zbT_TR2b2kH7pwdBhF-xw@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div>I was wondering if it is possible to do a failover in
digest authentication. For eg: I get two possible valid
password values. Can I do a pv_proxy_authenticate in such a
way where if authentication fails, I do a pv_proxy_autenticate
again on the different value to check if that succeeds?</div>
<div>Is it even allowed in digest authentication mechanism. Just
getting opinions.</div>
<div><br>
</div>
<div>Thanks for any help.</div>
<div><br>
</div>
<div>- Jayesh</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>