[OpenSIPS-Users] radius accounting: multi-leg, zero session time
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Thu Jun 17 22:36:37 CEST 2010
Hi Andrew,
Andrew Pogrebennyk wrote:
> Hello,
> I couldn't get radius accounting to work properly lately:
>
> 1) How to enable multi-leg accounting in radius?
>
> Jun 13 07:15:34 sip01 /usr/local/sbin/opensips[21050]: rc_avpair_new:
> unknown attribute 0
> Jun 13 07:15:34 sip01 /usr/local/sbin/opensips[21050]:
> ERROR:aaa_radius:rad_avp_add: failure
> Jun 13 07:15:34 sip01 /usr/local/sbin/opensips[21050]:
> ERROR:acc:acc_aaa_request: failed to add RAD_LEG_SRC, 23
>
> What id and type should the RAD_LEG_SRC, RAD_LEG_DST attributes have?
>
> In config they are defined as:
>
> modparam("acc", "multi_leg_info",
> "RAD_LEG_SRC=$avp(i:901);RAD_LEG_DST=$avp(i:902)"
>
Have you defined the RAD_LEG_SRC and RAD_LEG_DST RADIUS AVPs in the
RADIUS dictionary?
> 2) How to make opensips pass session-time attribute to radius?
>
> Sun Jun 3 08:10:12 2010 : Error: [sql] stop packet with zero session
> length. [user '000100 at 192.168.0.157', nas '127.0.0.1']
>
> In config I'm doing just acc_aaa_request(). I'm using OpenSIPS 1.6.2 and
> want to do rating with cdrool. Since these are basic things, perhaps
> that's me doing something stupid?
>
OpenSIPS does not explicitly add the session-time AVP - is this an extra
accounting val or ?
Regards,
Bogdan
--
Bogdan-Andrei Iancu
www.voice-system.ro
More information about the Users
mailing list