[OpenSIPS-Users] Help with group radius errors please

opensipslist at encambio.com opensipslist at encambio.com
Tue Dec 8 23:14:09 CET 2009


Hello List,

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:46 name.host.tld <debug> opensips[14400]: DBG:maxfwd:is_maxfwd_present: value = 70
    Dec 08 23:03:46 name.host.tld <debug> opensips[14400]: DBG:core:parse_to_param: tag=s9bkdkewv2
    Dec 08 23:03:46 name.host.tld <debug> opensips[14400]: DBG:core:parse_to: end of header reached, state=29
    Dec 08 23:03:46 name.host.tld <debug> opensips[14400]: DBG:core:parse_to: display={}, ruri={sip:Name at proxy.host.tld}

** HERE! **  Dec 08 23:03:47 name.host.tld <error> opensips[14400]: ERROR:group:aaa_is_user_in: Failure

    Dec 08 23:03:47 name.host.tld <debug> opensips[14400]: DBG:core:check_ip_address: params 55.44.33.22, 192.168.0.2, 0
    Dec 08 23:03:47 name.host.tld <debug> opensips[14400]: DBG:core:get_hdr_field: content_length=0
    Dec 08 23:03:47 name.host.tld <debug> opensips[14400]: DBG:core:get_hdr_field: found end of header
    Dec 08 23:03:47 name.host.tld <debug> opensips[14400]: DBG:rr:find_first_route: No Route headers found
    Dec 08 23:03:47 name.host.tld <debug> opensips[14400]: DBG:rr:loose_route: There is no Route HF

I'm using:

  Radiusclient-ng 0.5.6
  Freeradius 2.1.3
  OpenSIPS 1.6.0 with TLS

When I switch (same config) to OpenSER 1.3.X, the call to
'radius_is_user_in' works properly without producing errors in the
log file. I'm trying to migrate from 1.3.X to 1.6.0, but don't see
what I'm doing wrong. Any ideas?

Thanks,
Brian



More information about the Users mailing list