[OpenSIPS-Users] Help with group radius errors please

opensipslist at encambio.com opensipslist at encambio.com
Wed Dec 9 14:44:39 CET 2009


Hello List,

On tues., dec 08, 2009, opensipslist at encambio.com wrote:
>In my config file I have (a few times):
>
>    # check if user is suspended
>    if (aaa_is_user_in("From", "suspended")) {
>        send_reply("403", "Forbidden");
>        exit;
>    }
>
>...and I see in the log:
>
>    Dec 08 23:03:47 name.host.tld <error> opensips[14400]: ERROR:group:aaa_is_user_in: Failure
>
>I'm using:
>
>  Radiusclient-ng 0.5.6
>  Freeradius 2.1.3
>  OpenSIPS 1.6.0 with TLS
>
...on Solaris 11 x86 (nv-b91).

>I'm trying to migrate from 1.3.X to 1.6.0, but don't see what I'm
>doing wrong. Any ideas?
>
Can it be that 'ERROR' and 'Failure' in the log file describe the
result of the aaa_is_user_in query instead of its exit status? I
can't imagine it, but maybe the module writer decided that this
function reports errors when it simply finds no user in the group?

Thanks,
Brian



More information about the Users mailing list