Hello,
On 4/11/13 8:10 AM, Victor V. Kustov wrote:
Good day.
Need tips for radius auth/accounting.
At fist, if I understand correctly, some changes here:
modparam("acc", "service_type", 15) modparam("acc", "radius_extra", "Sip-Src-IP=$si;Sip-Src-Port=$sp")
must be replaced to
modparam("acc_radius", "service_type", 15) modparam("acc_radius", "radius_extra", "Sip-Src-IP=$si;Sip-Src-Port=$sp")
But...
*Any* radius_extra parameters raise parsing error when K. start.
Can you run with debug=3 and send the output from syslog? I checked the sources and the parameter is exported by the module.
And second problem - setflag(FLT_ACC) doesn't call query to radius server, acc_rad_request("Some comment"); - does.
How it work in real life?
Have you set radius_flag parameter?
Cheers, Daniel