[OpenSIPS-Users] permissions module since [6150]

Irina Stanescu ironmissy at gmail.com
Tue Sep 22 10:39:03 CEST 2009


Hello Konstantin,

Try:
if (!check_source_address("")) {
    if (!proxy_authorize("", "subscriber")) {
    ....
    }
}

Don't forget to update your database to use the new schema for the address
table.
More information:
http://www.opensips.org/html/docs/modules/devel/permissions.html



Irina Stanescu


On Tue, Sep 22, 2009 at 2:20 AM, Konstantin Cherkasov <coxx at imarto.net>wrote:

> Hi All!
>
> http://opensips.svn.sourceforge.net/viewvc/opensips?view=rev&revision=6150
>
> Since revision 6150 in permissions module there is not allow_trusted()
> function.
>
> How can I change my config to save functionality of allow_trusted?
>
> if(!allow_trusted()) {
>     if (!proxy_authorize("", "subscriber")) {
>     ....
>
>
>
> --
>  Konstantin Cherkasov
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090922/6981135c/attachment.htm 


More information about the Users mailing list