2-2f. Scheduler - Event Handler (solution)
From Zenitel Wiki
Exercise
Scheduling:
- At 14:15 a prerecorded message "We ask passengers not to leave their luggage unattended..." should be distributed to the stations in group 87.
In AlphaWeb, System Configuration -> Messaging, upload the wav-file using Message group 30, Index 3. This message will get directory number 8193.
In AlphaPro, Groups -> Local Groups, include 6540 and 416 as members of group 4 (87):
In AlphaPro, Exchange & System -> Events, Insert a new event with the following properties:
About the $GM command string $GM L87 L8193 U1 U0 U0
- $GM = The command to dispatch prerecorded message to a group
- L87 = The group
- L8193 = The prerecorded message
- U1 = Play message once, then stop
- U0 = No gong before message
- U0 = Use the priority of the group
About testing the Scheduler
The scheduling has a "catch-up" mechanism which is operational when the time is forward adjusted. During the catch-up period (max 24 minutes) the real-time scheduling events is not executed. This might cause some confusion during testing.
When you need to adjust the time forward for testing of scheduling events, you should do it in this way:
- Set the time and date one week past the scheduling point
- Reset the AMC
- Wait for 3 minutes
- Set the time and date back to 3 minutes before the scheduling point
- Reset the AMC
- Wait for the Scheduling event to trigger on time
In this way you omit the "catch-up" time