Re: [SR-Users] Http authentification with JSON-RPC command

2015-10-06 Thread Loïc Boissy
Hello, Great! Thank you for your help. Loic 2015-10-05 19:12 GMT+02:00 Alex Balashov : > Here's an example from our config: > > #!subst "/DB_USER//" > #!subst "/DB_PASSWORD/xx/" > > event_route[xhttp:request] { > # Challenge for authentication credentials DB_NAME and DB_P

Re: [SR-Users] Http authentification with JSON-RPC command

2015-10-05 Thread Alex Balashov
Here's an example from our config: #!subst "/DB_USER//" #!subst "/DB_PASSWORD/xx/" event_route[xhttp:request] { # Challenge for authentication credentials DB_NAME and DB_PASSWORD. xlog("L_INFO", "[R-XHTTP-REQUEST:$ci] Received HTTP request $rm $hu from $si:$sp\n

Re: [SR-Users] Http authentification with JSON-RPC command

2015-10-04 Thread Daniel-Constantin Mierla
Hello, yes, it is possible, just use the same functions as for sip authentication from auth/auth_db modules -- probably you want to do www-auth, not proxy-auth for http. Cheers, Daniel On 02/10/15 11:07, Loïc Boissy wrote: > Hello, > > I would like to authorize JSON-RPC commands for a specific u

[SR-Users] Http authentification with JSON-RPC command

2015-10-02 Thread Loïc Boissy
Hello, I would like to authorize JSON-RPC commands for a specific user. Is it possible to enable HTTP authentification on the xHTTP module? Thanks for your help. Best regards Loic BOISSY ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mai