Actions

2-2f. Scheduler - Event Handler (solution)

From Zenitel Wiki

System configuration


Solution

Scheduling:

  • At 15:00 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.

Upload wav file via AlphaWeb



In AlphaPro, Groups -> Local Groups, include 103, 107 and 108 as members of group 4 (87):

Define group members


In AlphaPro, Exchange & System -> Events, Insert a new event with the following properties:

Use the command $GM to dispatch the message



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


Alternative ways of testing the Scheduler

Alternative 1:
When testing the scheduler function, the recommended way is to enter a time in the Scheduler event which is a few minutes past the current AlphaCom time, and then wait for the set time to arise.

Alternative 2:
Adjust the real-time clock in the AlphaCom backwards. From a SuperUser dial 785 + New time + M.

Alternative 3:
If adjusting the real-time clock forward, be aware of the following: 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







Related articles