Re: [SR-Users] R: publish authentication problem

2015-04-28 Thread Daniel-Constantin Mierla
Hello, REGISTER should have Authorization header. Can you paste the headers of such PUBLISH? The log message you pasted in a previous email shows that the realm was not matching: Apr 24 14:30:58 bptrnddmzserver kamailio[30886]: DEBUG: auth [api.c:86]: pre_auth(): auth:pre_auth: Credentials with

[SR-Users] R: publish authentication problem

2015-04-28 Thread Tomas Zanet
Hello, yes it is. The real parameter in Proxy-Authorization header is the same for PUBLISH and REGISTER and INVIATE as well. I'm doing authentication in this way: if (!auth_check("$fd", "subscriber", "1")) { auth_challenge("$fd", "0");