<div dir="ltr">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?<br>
<br><b>openser.cfg</b><br><br>modparam("acc", "radius_extra","User-Name=$fU;<div dir="ltr">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)")<br>
<br><b>dictionary.openser</b><br><br>ATTRIBUTE Dialstatus 1073 string<br>ATTRIBUTE User-Rate 1074 string<br>ATTRIBUTE User-Duration 1075 string<br>ATTRIBUTE User-Channel 1076 string<br>
ATTRIBUTE User-Clid 1077 string<br>ATTRIBUTE User_ClidName 1080 string<br>ATTRIBUTE User_Dst_Name 1081 string<br>ATTRIBUTE User_Dst_Code 1082 string<br>ATTRIBUTE User_Account_Id 1083 string<br>
ATTRIBUTE Lcr_Rate 1084 string<br>ATTRIBUTE Lcr_Duration 1085 string<br>ATTRIBUTE Lcrtrunk_Id 1086 string<br>ATTRIBUTE Lcr_Dst_Name 1087 string<br>ATTRIBUTE Lcr_Dst_Code 1088 string<br>
ATTRIBUTE DialedTime 1089 string<br>ATTRIBUTE Real_Duration 1090 string<br>ATTRIBUTE Startleg 1091 string<br>ATTRIBUTE Stopleg 1092 string<br><br>
<b>dictionary.radius</b><br>
ATTRIBUTE Dialstatus 1073 string<br>ATTRIBUTE User-Rate 1074 string<br>ATTRIBUTE User-Duration 1075 string<br>ATTRIBUTE User-Channel 1076 string<br>
ATTRIBUTE User-Clid 1077 string<br>
ATTRIBUTE User_ClidName 1080 string<br>ATTRIBUTE User_Dst_Name 1081 string<br>ATTRIBUTE User_Dst_Code 1082 string<br>ATTRIBUTE User_Account_Id 1083 string<br>
ATTRIBUTE Lcr_Rate 1084 string<br>
ATTRIBUTE Lcr_Duration 1085 string<br>ATTRIBUTE Lcrtrunk_Id 1086 string<br>ATTRIBUTE Lcr_Dst_Name 1087 string<br>ATTRIBUTE Lcr_Dst_Code 1088 string<br>
ATTRIBUTE DialedTime 1089 string<br>
ATTRIBUTE Real_Duration 1090 string<br>ATTRIBUTE Startleg 1091 string<br>ATTRIBUTE Stopleg 1092 string<br><br>Thanks in advance<br><br>--<br>Krunal Patel<br></div>
</div>