OpenSER + Freeradius accounting

Marc LEURENT lftsy at free.fr
Mon Jul 30 10:19:34 CEST 2007


Good Morning,
I have some trouble accounting openser calls with freeradius.
Calls are accounted, but only AcctSessionId / AcctUniqueId are stored in
the database, UserName and Realm fields are empty!

Any idea?
Thanks

My openser.cfg looklikes:
# -- acc params (with radius )--
modparam("acc", "radius_config", "/etc/radiusclient-ng/radiusclient.conf")
modparam("acc", "radius_flag", 1)
modparam("acc", "radius_missed_flag", 2)
modparam("acc", "early_media", 1)
modparam("acc", "report_cancels", 1)
modparam("acc", "detect_direction", 1)
modparam("acc", "service_type", 15)     # Radius service type used for
accounting : 15 = (SIP)
modparam("acc", "radius_extra",         "Sip-Src-IP=$si;
                                        SIP-Method=$rm")



More information about the Freeradius-Users mailing list