<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi ,<br>
<br>
I'have a working Opensips (1.8.0) with accounting directly on Mysql
database using acc module.<br>
<br>
Now i'm migrating accounting to Radius , using always acc module
configured for radius.<br>
I use flag to do accounting, and my configuration is the follow:<br>
<small><br>
<br>
loadmodule "acc.so"<br>
<br>
modparam("acc" , "detect_direction", 0)<br>
modparam("acc" , "failed_transaction_flag", 3)<br>
modparam("acc" , "report_cancels" , 1)<br>
modparam("acc" , "early_media", 0)<br>
<br>
modparam("acc" , "log_level" , 1)<br>
modparam("acc" , "log_flag" , 1)<br>
modparam("acc" , "log_missed_flag" , 2)<br>
<br>
modparam("acc" , "aaa_url" ,
"radius:/etc/opensips/radius/client.conf" )<br>
modparam("acc" , "aaa_flag" , 1)<br>
modparam("acc" , "aaa_missed_flag", 2)<br>
<br>
<br>
### radius aaa module<br>
loadmodule "aaa_radius.so"<br>
modparam("aaa_radius" , "radius_config" ,
"/etc/opensips/radius/client.conf")</small><br>
<br>
<br>
i've removed the aaa_extra for debugging.<br>
<br>
FreeRadius is listening on another machine, but when i make a call
no radius packet are sent and i can see this error in logs:<br>
<br>
Dec 3 10:08:51 sip-ngn /sbin/opensips[5498]: appended nat flag
value yes<br>
Dec 3 10:08:51 sip-ngn /sbin/opensips[5476]: rc_avpair_new: unknown
attribute 0<br>
Dec 3 10:08:51 sip-ngn /sbin/opensips[5476]:
ERROR:aaa_radius:rad_avp_add: failure<br>
Dec 3 10:08:51 sip-ngn /sbin/opensips[5476]:
ERROR:acc:acc_aaa_request: failed to add Acct-Status-Type, 0<br>
<br>
Acc-Status-Type is defined in dictionary, but not with value "0".<br>
<br>
<br>
Any kind of help is appreciated<br>
<br>
<br>
Thanks in advance<br>
<br>
<br>
Davide<br>
<br>
</body>
</html>