Actions

Difference between revisions of "2-2e. Event Trigger - Event Handler (practice)"

From Zenitel Wiki

(Exercise)
Line 3: Line 3:
 
=== Exercise ===
 
=== Exercise ===
  
'''Exercise goal:''' Learn how to use the Event Trigger as a toggle feature to execute multiple actions in the AlphaCom. Learn about UDD's and IF statement.
+
'''Exercise goal:''' Learn how to use the Event Trigger as a toggle feature to execute multiple actions in the AlphaCom. Learn about UDD's, and IF and STOP statements.
  
 
'''Call setup:'''
 
'''Call setup:'''
Line 9: Line 9:
 
* The Control Room should be configured as a CRM (Control Room Master), the DAK display should be enabled, and the Navigation Keys should be used for call queue navigations.
 
* The Control Room should be configured as a CRM (Control Room Master), the DAK display should be enabled, and the Navigation Keys should be used for call queue navigations.
  
'''Set Call Request Forwarding:'''
+
'''Toggle Call Request Forwarding:'''
* When dialing the event trigger number 9533, or when pressing a DAK key programmed to 9533 on the Control Room station, the following features should be activated:
+
* When dialing the event trigger number 9533, or when pressing a DAK key programmed to 9533 on the Control Room station, the following features should be toggled ON/OFF every time the number is activated:
** Turn on Call Request Forwarding from Control Room station 101 to station 103 (M. Larsen), so that all new call requests will be forwarded to station 103. Use the command "$SCRT" for this.
+
** Turn on/off Call Request Forwarding from Control Room station 101 to station 103 (M. Larsen), so that all new call requests will be forwarded to station 103. Use the command "$SCRT" for this.
** Turn on a lamp (use RCO 3) to signal that call forwarding is active
+
** Turn on/off a lamp (use RCO 3) to signal that call forwarding is active
** Write to the System LOG that the call forwarding has been activated. Use the LOG "..." statement.
+
** Write to the System LOG that the call forwarding has been activated/turned off. Use the LOG "..." statement.
  
'''Reset Call Request Forwarding:'''
+
(Hint: Use a UDD to store the current state, 1 = ON, 0 = OFF. Use the IF statement to check the current status when 9533 is dialed, and set or reset the status accordingly).
* When dialing the event trigger number 9534, or when pressing a DAK key programmed to 9534 on the Control Room station, the following features should be activated:
 
** Turn off Call Request Forwarding for Control Room station 101. Use the command "$SCRT" for this.
 
** Turn off the lamp (RCO 3) to signal that call forwarding is no longer active
 
** Write to the System LOG that the call forwarding has been turned off. Use the LOG "..." statement.
 
  
  

Revision as of 17:28, 6 November 2013

System configuration


Exercise

Exercise goal: Learn how to use the Event Trigger as a toggle feature to execute multiple actions in the AlphaCom. Learn about UDD's, and IF and STOP statements.

Call setup:

  • The Entrance and the SOS Point should be configured to make a Call Request (623 + 101) to the Control Room.
  • The Control Room should be configured as a CRM (Control Room Master), the DAK display should be enabled, and the Navigation Keys should be used for call queue navigations.

Toggle Call Request Forwarding:

  • When dialing the event trigger number 9533, or when pressing a DAK key programmed to 9533 on the Control Room station, the following features should be toggled ON/OFF every time the number is activated:
    • Turn on/off Call Request Forwarding from Control Room station 101 to station 103 (M. Larsen), so that all new call requests will be forwarded to station 103. Use the command "$SCRT" for this.
    • Turn on/off a lamp (use RCO 3) to signal that call forwarding is active
    • Write to the System LOG that the call forwarding has been activated/turned off. Use the LOG "..." statement.

(Hint: Use a UDD to store the current state, 1 = ON, 0 = OFF. Use the IF statement to check the current status when 9533 is dialed, and set or reset the status accordingly).








Related articles