Actions

Difference between revisions of "%prci"

From Zenitel Wiki

Line 2: Line 2:
 
The '''%prci''' macro is used in the [[Event Handler]] to check state of a physical input on a Zenitel IP Device.
 
The '''%prci''' macro is used in the [[Event Handler]] to check state of a physical input on a Zenitel IP Device.
  
===Syntax===
+
==Syntax==
 
  '''%prci(station,input_no)'''
 
  '''%prci(station,input_no)'''
  
Line 9: Line 9:
 
* input_no: Input number 1 - 8
 
* input_no: Input number 1 - 8
  
===Examples===
+
==Examples==
 
  %prci(5,1)  - ''Return state of input 1 on station 5''
 
  %prci(5,1)  - ''Return state of input 1 on station 5''
 +
 +
  
  

Revision as of 09:16, 18 November 2024

AI.png

The %prci macro is used in the Event Handler to check state of a physical input on a Zenitel IP Device.

Syntax

%prci(station,input_no)

Return 1 (active) or 0 (not active) state of a physical input

  • station: Physical number 1 - 552
  • input_no: Input number 1 - 8

Examples

%prci(5,1)   - Return state of input 1 on station 5




Back to Event_Handler#List_of_context_parameters.