23 Mar
2013
23 Mar
'13
9:05 a.m.
On 03/23/2013 10:31 AM, Mehdi Ravanbakhsh wrote:
Dear ALL
I use this query by calling stored procedure in database :
simul_count_query = "SELECT findout_cuncurrent_sessions_for_a_user('%{User-Name}','%{NAS-IP-Address}','%{CalledStationId}','%{CallingStationId}')"
but I can not access to the value of CallingStationId and CalledStationId.
You've spelt them wrong. They have hyphens in them. Run "radiusd -X" and look at what it shows you. Amongst other things, it will show you the actual attributes in the packet, and these are the names you can use.