Re: [SR-Users] allow_trusted() use.

2010-05-20 Thread Vicente
The kamailo.cfg on the GIT for version 3.1 has this IP auth with the permissions module preconfigured. And the behavour is the expected. Not allowing unauthorized IPs. Thanks. El sáb, 15-05-2010 a las 19:41 +0200, Vicente escribió: > No, I haven't tried that but in that case INVI

Re: [SR-Users] allow_trusted() use.

2010-05-15 Thread Vicente
No, I haven't tried that but in that case INVITES from local users wouldn't reache the authorization section. I've been reading the Domain module documentation and it says that the function checks the From header uri to match one of the domains on the domain table. What I tried is to

Re: [SR-Users] allow_trusted() use.

2010-05-15 Thread David Villasmil
have you tried: if (!is_from_local()){ if(!allow_trusted()){ ...authorization... I don't remember exactly, but i do remember "is_from_local" is not exactly well named, it is not really what it says. David On Sat, May 15, 2010 at 7:18 PM, Vicente wrote: >        Good after

[SR-Users] allow_trusted() use.

2010-05-15 Thread Vicente
Good afternoon, I'm trying to configure permissions module to allow calls from an IP address. I've the module loaded, the entry on the data base table trusted. But according to the examples I've seen on the list and other sources, the call to allow_trusted() has to be placed just b