%busy
From Zenitel Wiki
IF %busy(4)
LOG "Station 4 is busy"
stop
ENDIF
LOG "Station 4 is free"
or more general:
IF %busy(%1.phy) LOG "Station %1.phy is busy" stop ENDIF LOG "Sstation %1.phy is free"
IF %busy(4)
LOG "Station 4 is busy"
stop
ENDIF
LOG "Station 4 is free"
or more general:
IF %busy(%1.phy) LOG "Station %1.phy is busy" stop ENDIF LOG "Sstation %1.phy is free"