[Serusers] IP Authentication
Ricardo Martinez
rmartinez at redvoiss.net
Wed Sep 7 15:48:49 CEST 2005
This is how i use it :
loadmodule "/usr/local//lib/ser/modules/mysql.so"
loadmodule "/usr/local//lib/ser/modules/permissions.so"
....
# ++++ module permissions
modparam("permissions", "db_url", "mysql://ser:heslo@localhost/ser")
modparam("permissions", "db_mode", 0)
....
# -------------------------------------------------------------
# Chequeo de los INVITE, si no es trusted le hacemos Challenge
# --------------------------------------------------------------
if (method=="INVITE" && !allow_trusted()) {
...challenge....
};
};
Regards,
Ricardo Martinez.-
> -----Mensaje original-----
> De: Tony Baartman [mailto:bart at global.co.za]
> Enviado el: Miércoles, 07 de Septiembre de 2005 4:06
> Para: 'Juha Heinanen'
> CC: serusers at lists.iptel.org
> Asunto: RE: [Serusers] IP Authentication
>
>
> Hi
>
> This is part of my problem, the README.permissions file has
> only about four
> lines of info....
>
> There was a post about using a mysql DB as the lookup, but I
> have no idea
> how to enable it, new to the world of SER :o)
>
> Any further help muchly appreciated....
>
> Ciao
>
>
> -----Original Message-----
> From: Juha Heinanen [mailto:jh at tutpro.com]
> Sent: Wednesday, September 07, 2005 8:42 AM
> To: Tony Baartman
> Cc: 'Ricardo Martinez'; serusers at lists.iptel.org
> Subject: RE: [Serusers] IP Authentication
>
> Tony Baartman writes:
>
> > modparam("permissions", "allow_trusted", "/tmp/trust_host")
>
> permissions module does not have a parameter called "allow_trusted".
> see README file or source code.
>
> -- juha
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
More information about the sr-users
mailing list