%sfg
From Zenitel Wiki
The %sfg (Station Fault Group) macro is used in the Event Handler to check if any failure state of IP stations in a station group.
Syntax
%sfg(group)
Return 1 if any member of the group has fault flag set.
group = local station group index. 0 = all IP stations.
Examples
%sfg(3) - Return fault state of group 3