Re: [OpenSIPS-Users] Opensips, load_balancing and authentication process

2017-05-30 Thread Bogdan-Andrei Iancu
Hi Denis, Use the $hdr() to extract the hdr with the nonce in combination with some transformations and regular expressions to get the value for the nonce field. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2017, Houston

Re: [OpenSIPS-Users] Opensips, load_balancing and authentication process

2017-05-28 Thread Денис Путято via Users
Hello Bogdan!And if i wont to get nonce from, from example, load balanser? Not registrar-- С уважением,Путято Денис16:34, 26 мая 2017 г., "Bogdan-Andrei Iancu" : Hi Denis, As OpenSIPS is the registrar, it it the one generating the nonce (via the www_challenge()

Re: [OpenSIPS-Users] Opensips, load_balancing and authentication process

2017-05-26 Thread Bogdan-Andrei Iancu
Hi Denis, 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 . Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcam

Re: [OpenSIPS-Users] Opensips, load_balancing and authentication process

2017-05-22 Thread Denis via Users
Hello, Bogdan! Thank you. One more. How can i access a "nonce" value from 401 reply, during REGISTER transaction? Thank you. -- С уважением, Денис.Best regards, Denis 22.05.2017, 17:39, "Bogdan-Andrei Iancu" :Hi Denis,Just be sure :1) during authentication, your proxy/registrar(s) allow to have

Re: [OpenSIPS-Users] Opensips, load_balancing and authentication process

2017-05-22 Thread Bogdan-Andrei Iancu
Hi Denis, Just be sure : 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 2) the registrations are shared between all your registrar servers. Otherwise, just give it a try and test

[OpenSIPS-Users] Opensips, load_balancing and authentication process

2017-05-17 Thread Denis via Users
Hello! I am sorry that it was early, but i could not find an answer for my question. I want to ask for advice from community about how can i use Opensips as c "clean" Load_balancer for my project?The scheme of the project is a classic. Load_balancer ---> Proxy1/Register1| || | mysql replication.| |