how to access CallingStationId and CalledStationId propertes in diaup.conf (sql.conf) in a SQL query

Mehdi Ravanbakhsh babakco at gmail.com
Sat Mar 23 23:37:01 CET 2013


Thanks i am find correct name .




On Sat, Mar 23, 2013 at 5:35 PM, Phil Mayers <p.mayers at imperial.ac.uk>wrote:

> 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.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/**
> list/users.html <http://www.freeradius.org/list/users.html>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130324/4b698630/attachment.html>


More information about the Freeradius-Users mailing list