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)"

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 '[email protected]', 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?

-- 
Regards,
Andrew Pogrebennyk

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to