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@global.co.za] Enviado el: MiƩrcoles, 07 de Septiembre de 2005 4:06 Para: 'Juha Heinanen' CC: serusers@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@tutpro.com] Sent: Wednesday, September 07, 2005 8:42 AM To: Tony Baartman Cc: 'Ricardo Martinez'; serusers@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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers