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 <c...@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@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to