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