[OpenSIPS-Users] Radius Accounting - Acct-Statys-Type 0
Davide Dal Frà
lab at dalfra.com
Mon Dec 3 10:45:43 CET 2012
Hi ,
I'have a working Opensips (1.8.0) with accounting directly on Mysql
database using acc module.
Now i'm migrating accounting to Radius , using always acc module
configured for radius.
I use flag to do accounting, and my configuration is the follow:
loadmodule "acc.so"
modparam("acc" , "detect_direction", 0)
modparam("acc" , "failed_transaction_flag", 3)
modparam("acc" , "report_cancels" , 1)
modparam("acc" , "early_media", 0)
modparam("acc" , "log_level" , 1)
modparam("acc" , "log_flag" , 1)
modparam("acc" , "log_missed_flag" , 2)
modparam("acc" , "aaa_url" ,
"radius:/etc/opensips/radius/client.conf" )
modparam("acc" , "aaa_flag" , 1)
modparam("acc" , "aaa_missed_flag", 2)
### radius aaa module
loadmodule "aaa_radius.so"
modparam("aaa_radius" , "radius_config" ,
"/etc/opensips/radius/client.conf")
i've removed the aaa_extra for debugging.
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:
Dec 3 10:08:51 sip-ngn /sbin/opensips[5498]: appended nat flag value yes
Dec 3 10:08:51 sip-ngn /sbin/opensips[5476]: rc_avpair_new: unknown
attribute 0
Dec 3 10:08:51 sip-ngn /sbin/opensips[5476]:
ERROR:aaa_radius:rad_avp_add: failure
Dec 3 10:08:51 sip-ngn /sbin/opensips[5476]: ERROR:acc:acc_aaa_request:
failed to add Acct-Status-Type, 0
Acc-Status-Type is defined in dictionary, but not with value "0".
Any kind of help is appreciated
Thanks in advance
Davide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121203/10b4930a/attachment.htm>
More information about the Users
mailing list