October 2007
Example
In this example, voice contacts coming into the contact center between 05:00
p.m. and 08:00 a.m. on Saturday and Sunday receive closed call treatment.
Otherwise, voice contacts are queued to the general skillset. If the voice contact
is not answered immediately, the caller hears a message indicating that all agents
are busy, followed by music.
You can use a variable to represent a specific period of time. For example, the
variable named weekend_gv represents the days from Saturday to Sunday, and a
variable named closed_hours_gv represents the hours from 05:00 p.m. to
08:00 a.m.
IF (DAY OF WEEK = weekend_gv) AND (TIME OF DAY = closed_hours_gv)
THEN
EXECUTE Closed_Section
END IF
QUEUE TO SKILLSET general_sk
WAIT 2
GIVE RAN agents_busy_ran_gv
GIVE MUSIC pop_music_gv
SECTION WaitLoop
Scripting Guide for Communication Server 1000/Meridian 1 PBX
Intrinsics
393