Difference between revisions of "2-2e. Event Trigger - Event Handler (solution)"
From Zenitel Wiki
(→Toggle Call Request Forwarding:) |
(→Toggle Call Request Forwarding:) |
||
Line 28: | Line 28: | ||
** ''Write to the System LOG that the call forwarding has been activated/turned off. Use the LOG "..." statement.'' | ** ''Write to the System LOG that the call forwarding has been activated/turned off. Use the LOG "..." statement.'' | ||
− | [[File:2- | + | [[File:2-2e solution1.PNG|left|thumb|500px|Select the '''Control Room''' station in the list box, press '''Events''' button, and '''Insert''' a new event with parameters shown on the screenshot.]] |
<br style="clear:both;" /> | <br style="clear:both;" /> | ||
Revision as of 13:15, 7 November 2013
Solution
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.
The full action string is:
IF %udd(1) $SCRT L101 L103 RCO 3 ON LOG "Control Room: Call Forwarding active" WUDD 1 0 STOP ENDIF $SCRT L101 RCO 3 OFF LOG "Control Room: Call Forwarding turned off" WUDD 1 1
Program DAK 1 and DAK 2 of the Control Room station with the codes for Call Forwarding on (9533) and Call Forwarding off (9534), and add an appropriate display text.
Verify that:
- Call Forwarding is turned on and off
- RCO 3 is turned on and off
- The Call forwarding on/off is logged in the "System Log" (AlphaWeb: System Monitoring -> Logging. It might be that logging has to be enabled first: System Configuration -> Logging).