I'm running into a situation where management want to add an option for callers to leave a voice mail message or to continue to hold after waiting 30 sec in the Queue . I have added the Voice Segment successfully to the script but not sure how to make phone selections available when the message is playing.
The original script is below
Primary script
ASSIGN XXX TO skillset_cv
ASSIGN 1 TO priority_cv
EXECUTE SCRIPT Queue_to_Skillset
____________________________________
Secondary Script
IF (emergency_gv = TRUE) THEN
EXECUTE OOS
END IF
IF NOT LOGGED OUT AGENT emergency_agentID_gv THEN
EXECUTE OOS
END IF
/*****************************************************************/
IF NOT OUT OF SERVICE skillset_vm_cv THEN
QUEUE TO SKILLSET skillset_vm_cv BY LONGEST IDLE AGENT WITH PRIORITY priority_cv
WAIT 2
ELSE
EXECUTE OOS
END IF
GIVE CONTROLLED BROADCAST ANNOUNCEMENT access_gv
PLAY PROMPT VOICE SEGMENT first_onhold_msg_vs
GIVE MUSIC music_gv
WAIT wait1_gv
SECTION LOOP
IF NOT QUEUED THEN
IF NOT OUT OF SERVICE skillset_vm_cv THEN
QUEUE TO SKILLSET skillset_vm_cv BY LONGEST IDLE AGENT WITH PRIORITY priority_cv
WAIT 2
ELSE
EXECUTE OOS
END IF
END IF
IF (emergency_gv = TRUE) THEN
EXECUTE OOS
END IF
IF NOT LOGGED OUT AGENT emergency_agentID_gv THEN
EXECUTE OOS
END IF
GIVE CONTROLLED BROADCAST ANNOUNCEMENT access_gv
PLAY PROMPT VOICE SEGMENT first_onhold_withVM_vs
WAIT wait1_gv
EXECUTE LOOP
/*****************************************************************/
SECTION OOS
ROUTE CALL XXX_Xfer_gv
The original script is below
Primary script
ASSIGN XXX TO skillset_cv
ASSIGN 1 TO priority_cv
EXECUTE SCRIPT Queue_to_Skillset
____________________________________
Secondary Script
IF (emergency_gv = TRUE) THEN
EXECUTE OOS
END IF
IF NOT LOGGED OUT AGENT emergency_agentID_gv THEN
EXECUTE OOS
END IF
/*****************************************************************/
IF NOT OUT OF SERVICE skillset_vm_cv THEN
QUEUE TO SKILLSET skillset_vm_cv BY LONGEST IDLE AGENT WITH PRIORITY priority_cv
WAIT 2
ELSE
EXECUTE OOS
END IF
GIVE CONTROLLED BROADCAST ANNOUNCEMENT access_gv
PLAY PROMPT VOICE SEGMENT first_onhold_msg_vs
GIVE MUSIC music_gv
WAIT wait1_gv
SECTION LOOP
IF NOT QUEUED THEN
IF NOT OUT OF SERVICE skillset_vm_cv THEN
QUEUE TO SKILLSET skillset_vm_cv BY LONGEST IDLE AGENT WITH PRIORITY priority_cv
WAIT 2
ELSE
EXECUTE OOS
END IF
END IF
IF (emergency_gv = TRUE) THEN
EXECUTE OOS
END IF
IF NOT LOGGED OUT AGENT emergency_agentID_gv THEN
EXECUTE OOS
END IF
GIVE CONTROLLED BROADCAST ANNOUNCEMENT access_gv
PLAY PROMPT VOICE SEGMENT first_onhold_withVM_vs
WAIT wait1_gv
EXECUTE LOOP
/*****************************************************************/
SECTION OOS
ROUTE CALL XXX_Xfer_gv