Actions

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

From Zenitel Wiki

(Exercise)
 
(3 intermediate revisions by the same user not shown)
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 and 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:'''
 
* 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:
 
** 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 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.
 
  
'''Reset Call Request Forwarding:'''
+
 
* 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:
+
'''Toggle Call Request Forwarding:'''
** Turn off Call Request Forwarding for Control Room station 101. Use the command "$SCRT" for this.
+
* 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 off the lamp (RCO 3) to signal that call forwarding is no longer active
+
** 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.
** Write to the System LOG that the call forwarding has been turned off. Use the LOG "..." statement.
+
** 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 of the UDD when 9533 is dialed, and set or reset the call forwarding, RCO and LOG data accordingly).
  
  

Latest revision as of 17:38, 6 November 2013

System configuration


Exercise

Exercise goal: Learn how to use the Event Trigger as a toggle feature and 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 of the UDD when 9533 is dialed, and set or reset the call forwarding, RCO and LOG data accordingly).








Related articles