Actions

%busy

From Zenitel Wiki

Revision as of 16:40, 9 June 2020 by Asle (talk | contribs) (Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
AI.png

The %busy macro is used in the Event Handler to check if a station is busy or free.

Syntax

%busy(station)

Return 1 if busy, and 0 if free

  • station: Physical number 1 - 552


Examples

%busy(4)           - Returns 1 if station 4 if busy


IF %busy(%1.phy)
LOG "Station %1.phy is busy"
stop
ENDIF
​LOG "Station %1.phy is free" 


Back to Event_Handler#List_of_context_parameters.