[OpenSIPS-Users] Load_credentials => output to xlog();

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Feb 6 19:19:39 CET 2014


Hello,

The credentials are loaded only after a successful authentication. So 
your AVPs will be populated only after a successful www|proxy_authorize() .

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 30.01.2014 06:40, Alectronic wrote:
> Hi,
>
> I'm trying to do authentication on my version of opensips(1.10) and want to
> be able to allow it to view the username, password and domain then match it
> with the database. however I can't seem to view the output of the database
> from a xlog("");
>
> I'm trying to to do it using
>
> modparam("auth_db", "load_credentials", "username;password;domain")
>
> and then output it using
>
> xlog("$avp(username)");
>
> where am i going wrong?
>
> Thanks
> Alec
>
>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Load-credentials-output-to-xlog-tp7589370.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list