Calling-Station-Id and Called-Station-Id values
Alan DeKok
aland at deployingradius.com
Thu Jun 17 08:06:02 CEST 2010
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.
More information about the Freeradius-Users
mailing list