Calling-Station-Id and Called-Station-Id values
Omer Faruk Sen
omerfsen at gmail.com
Thu Jun 17 15:45:12 CEST 2010
Hi,
First of all thank you for your reply Alan. Is this feature also valid
for 1.1.8 for some certain reasons I have to use 1.1.8
Regards.
On Thu, Jun 17, 2010 at 9:06 AM, Alan DeKok <aland at deployingradius.com> wrote:
> Omer Faruk Sen wrote:
>> How can I make Calling-Station-Id and Called-Station-Id to be see in
>> accounting if one of them is empty in detail log file. What I mean if
>> one of the field (Calling-Station-Id or Called-Station-Id ) doesn't
>> supplied by NAS I want it to be seen like :
>>
>> Calling-Station-Id = "xxxx"
>> Called-Station-Id = ""
>
> Why? But anyways...
>
> See "man unlang". You can update attributes:
>
> if (!Called-Station-Id) {
> update request {
> Called-Station-Id = ""
> }
> }
>
> But it's pretty pointless.
>
> Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
More information about the Freeradius-Users
mailing list