[SR-Users] Radius - again.

Daniel-Constantin Mierla miconda at gmail.com
Thu Apr 11 09:44:37 CEST 2013


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

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
  - http://conference.kamailio.com -




More information about the sr-users mailing list