Call Arrival script

This script is interpreted when the Call Arrival Event is fired.

It executes as follows: if the current call has not been assigned a queue and/or at least one skill, then assign the DefaultQueue and/or DefaultSkill to it.

The blocks function as follows.

Block

Name

Description

Optional Parameters

ResetVMFile

Resets the optional parameter called VMFile. This parameter is used to store the name of the voicemail file when it is recorded. The call termination script uses this optional parameter to determine if the caller has recorded a voicemail.

Condition

CheckForQueue

Checks to see if a queue has been set for this call.

Queue Name

DefaultQueue

If no queue has been set yet, then set it to DefaultQueue.

Condition

CheckForSkills

Checks to see if a skill has been added to this call.

Add Skill

DefaultSkill

If no skill has been added yet, then add the DefaultSkill.