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

Reply via email to