[Users] Module for Config files
Daniel-Constantin Mierla
daniel at voice-system.ro
Tue Aug 15 14:38:17 CEST 2006
Hello,
On 08/15/06 15:29, ronn100200 at aim.com wrote:
> Hi Hakan,
>
> I have followed your example but openser is still doing SIP/2.0 407
> Proxy Authentication Required.
the 407 is generated by proxy_challenge() function from auth module. It
is not related to permissions module.
http://www.openser.org/docs/modules/1.1.x/auth.html#AEN148
Cheers,
Daniel
>
> When I start openser I'm seeing these messages:
>
> 0(0) WARNING: File not found: /usr/local/etc/openser/permissions.allow
> 0(0) Default allow file (/usr/local/etc/openser/permissions.allow)
> not found => empty rule set
> 0(0) WARNING: File not found: /usr/local/etc/openser/permissions.deny
> 0(0) Default deny file (/usr/local/etc/openser/permissions.deny) not
> found => empty rule set
>
>
> Do I need to specify the default permission files for this to work?
>
> thanks,
>
> Ron
>
>
> -----Original Message-----
> From: bp4mls at googlemail.com
> To: ronn100200 at aim.com
> Cc: users at openser.org
> Sent: Mon, 14 Aug 2006 8:22 AM
> Subject: Re: [Users] Module for Config files
>
> Ser can something like ...src_ip != 195.xxx.xxx.128/25... (which is
> quite cheap). Probably OpenSer can do this, too.
>
> On 8/14/06, * ronn100200 at aim.com
> <javascript:parent.ComposeTo('ronn100200 at aim.com');>*
> <ronn100200 at aim.com
> <javascript:parent.ComposeTo('ronn100200 at aim.com');>> wrote:
>
> Hi All,
>
> I am using the following if statement to allow certain calls
> from pre authorized IPs.
>
> if ( method == "INVITE" && src_ip != 195.xxx.xxx.xx && src_ip !=
> 195.xxx.xxx.xx && src_ip != 195.xxx.xxx.xx && src_ip !=
> 195.xxx.xxx.xx) {
>
>
> My issues is the number of IPs that need to be authorized this way
> is getting large and was wondering if there's a module that can be
> used to read config date from a config file ?
>
> regards,
>
> Ron
> ------------------------------------------------------------------------
> *Check Out the new free AIM(R) Mail *
> <http://pr.atwola.com/promoclk/100122638x1081283466x1074645346/aol?redir=http%3A%2F%2Fwww%2Eaim%2Ecom%2Ffun%2Fmail%2F>
> -- 2 GB of storage and industry-leading spam and email virus
> protection.
>
> _______________________________________________
> Users mailing list
> Users at openser.org <javascript:parent.ComposeTo('Users at openser.org');>
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
> ------------------------------------------------------------------------
> *Check Out the new free AIM(R) Mail*
> <http://pr.atwola.com/promoclk/100122638x1081283466x1074645346/aol?redir=http%3A%2F%2Fwww%2Eaim%2Ecom%2Ffun%2Fmail%2F>
> -- 2 GB of storage and industry-leading spam and email virus protection.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the sr-users
mailing list