Hi,
I'm trying to configure openser & freeradius with AAA. I'm using custom mysql tables for authentication & accounting. I've modified queries in sql.conf in raddb folder. Authentication works fine. I've added additional fields in radius_extra parameter of acc module. I've added those parameters in dictionaries of radiusclient-ng & freeradius. But I get blank values for custom fields. Any idea what can be wrong?
openser.cfg
modparam("acc", "radius_extra","User-Name=$fU;Dialstatus=$avp(s:dialstatus);User-Rate=$avp(i:2016);User-Duration=$avp(i:2016);User-Clid=$fU;User_ClidName=$avp(s:callerid);User_Dst_Name=$avp(s:2014);User_Dst_Code=$avp(i:2015);User_Account_Id=$fU;Lcr_Rate=$avp(i:2030);Lcr_Duration=$avp(i:2016);Lcrtrunk_Id=$avp(i:2027);Lcr_Dst_Name=$avp(s:2028);Lcr_Dst_Code=$avp(i:2029);Real_Duration=$avp(i:2016)")
dictionary.openser
ATTRIBUTE Dialstatus 1073 string
ATTRIBUTE User-Rate 1074 string
ATTRIBUTE User-Duration 1075 string
ATTRIBUTE User-Channel 1076 string
ATTRIBUTE User-Clid 1077 string
ATTRIBUTE User_ClidName 1080 string
ATTRIBUTE User_Dst_Name 1081 string
ATTRIBUTE User_Dst_Code 1082 string
ATTRIBUTE User_Account_Id 1083 string
ATTRIBUTE Lcr_Rate 1084 string
ATTRIBUTE Lcr_Duration 1085 string
ATTRIBUTE Lcrtrunk_Id 1086 string
ATTRIBUTE Lcr_Dst_Name 1087 string
ATTRIBUTE Lcr_Dst_Code 1088 string
ATTRIBUTE DialedTime 1089 string
ATTRIBUTE Real_Duration 1090 string
ATTRIBUTE Startleg 1091 string
ATTRIBUTE Stopleg 1092 string
dictionary.radius
ATTRIBUTE Dialstatus 1073 string
ATTRIBUTE User-Rate 1074 string
ATTRIBUTE User-Duration 1075 string
ATTRIBUTE User-Channel 1076 string
ATTRIBUTE User-Clid 1077 string
ATTRIBUTE User_ClidName 1080 string
ATTRIBUTE User_Dst_Name 1081 string
ATTRIBUTE User_Dst_Code 1082 string
ATTRIBUTE User_Account_Id 1083 string
ATTRIBUTE Lcr_Rate 1084 string
ATTRIBUTE Lcr_Duration 1085 string
ATTRIBUTE Lcrtrunk_Id 1086 string
ATTRIBUTE Lcr_Dst_Name 1087 string
ATTRIBUTE Lcr_Dst_Code 1088 string
ATTRIBUTE DialedTime 1089 string
ATTRIBUTE Real_Duration 1090 string
ATTRIBUTE Startleg 1091 string
ATTRIBUTE Stopleg 1092 string