<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Denis,<br>
<br>
As OpenSIPS is the registrar, it it the one generating the nonce
(via the www_challenge() function). At script level, you do not
have visibility over the sent nonce .<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2017, Huston, US
<a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2017.html">http://opensips.org/training/OpenSIPS_Bootcamp_2017.html</a>
</pre>
<div class="moz-cite-prefix">On 05/23/2017 08:30 AM, Denis via Users
wrote:<br>
</div>
<blockquote cite="mid:1052191495517448@web40j.yandex.ru" type="cite">
<div>Hello, Bogdan!</div>
<div> </div>
<div>Thank you.</div>
<div> </div>
<div>One more. How can i access a "nonce" value from 401 reply,
during REGISTER transaction?</div>
<div> </div>
<div>Thank you.</div>
<div> </div>
<div>-- </div>
<div>С уважением, Денис.</div>
<div>Best regards, Denis</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>22.05.2017, 17:39, "Bogdan-Andrei Iancu"
<a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a>:</div>
<blockquote type="cite">
<div bgcolor="#FFFFFF">Hi Denis,<br>
<br>
Just be sure :<br>
1) during authentication, your proxy/registrar(s) allow to
have cross challenging - one server is firing the auth
challenge, but another one receives the reponse<br>
2) the registrations are shared between all your registrar
servers.<br>
<br>
Otherwise, just give it a try and test ;)<br>
<br>
Regards,
<pre>Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a>
OpenSIPS Summit May 2017 Amsterdam
<a moz-do-not-send="true" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
<div>On 05/18/2017 08:43 AM, Denis via Users wrote:</div>
<blockquote cite="mid:1455001495086199@web17g.yandex.ru"
type="cite">
<div>Hello!</div>
<div> </div>
<div>I am sorry that it was early, but i could not find an
answer for my question.</div>
<div> </div>
<div>I want to ask for advice from community about how can i
use Opensips as c "clean" Load_balancer for my project?</div>
<div>The scheme of the project is a classic.</div>
<div> </div>
<div>Load_balancer ---> Proxy1/Register1</div>
<div>| |</div>
<div>| | mysql replication.</div>
<div>| |</div>
<div>|_____________> Proxy2/Register2</div>
<div> </div>
<div>One load_balancer, two (or more) Proxies which have
mysql replication relationship.</div>
<div> </div>
<div>What do i mean about "clean"? I mean that it should
ONLY act as a balancer. It should be entry point into my
network and it should "live forever" (UPS, protected
server, NO MySQL interaction dialing with transaction
processing). It should not make any other action about
call processing (besides TCP <-> UDP conversion).
All actions (Call processing, authentication, Registration
etc.) should "live" in Proxies.</div>
<div> </div>
<div>So, my question is, can i do it?</div>
<div>Will Opensips work correctly in such scheme, including
authentication procedure of the Call or Register
processing?</div>
<div> </div>
<div>Thank you for any help.</div>
<div> </div>
<div>-- </div>
<div>С уважением, Денис.</div>
<div>Best regards, Denis</div>
<div> </div>
<div> </div>
<div> </div>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
,
<p>_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>