24 |
|
|
25 |
result = "(" + reqtype + " " + nas + " " + (string)id + " " + |
result = "(" + reqtype + " " + nas + " " + (string)id + " " + |
26 |
%[User-Name]; |
%[User-Name]; |
27 |
if (*%[Calling-Station-Id]) |
if (*%[Acct-Session-Id]) |
28 |
result = result + " CLID=" + %[Calling-Station-Id]; |
result = result + + %[Acct-Session-Id]; |
|
if (*%[Called-Station-Id]) |
|
|
result = result + " CSID=" + %[Called-Station-Id]; |
|
29 |
return result + "): "; |
return result + "): "; |
30 |
} |
} |
31 |
|
|
32 |
|
string |
33 |
|
default_log_suffix(string reqtype, string nas, integer id) |
34 |
|
{ |
35 |
|
string result; |
36 |
|
if (*%[Calling-Station-Id]) |
37 |
|
result = ", CLID " + %[Calling-Station-Id]; |
38 |
|
else |
39 |
|
result = ", CLID unknown"; |
40 |
|
return result; |
41 |
|
} |
42 |
|
|