Am struggling to trouble shoot an issue with a piece of script I have written for a new line. The problem is that the Open Voice Session seems to only kick in when agents are in Standby and not when the go into Not Ready, this doesn't make sense. Anyone able to shed any light on it?
*******************************************
SECTION wait_loop
GIVE MUSIC music_ch
WAIT 30
IF NOT LOGGED OUT AGENT 911911 THEN
GIVE CONTROLLED BROADCAST ANNOUNCEMENT cpilot_access
PLAY PROMPT
VOICE SEGMENT emergency_vs
WAIT 2
DISCONNECT
END IF
IF NOT QUEUED THEN
IF NOT OUT OF SERVICE btd THEN
QUEUE TO SKILLSET btd
WAIT 2
END IF
OPEN VOICE SESSION cpilot_access
PLAY PROMPT
VOICE SEGMENT btd_sec_wait_vs
COLLECT 1 DIGITS INTO collect_digits_dn_cv
INTER DIGIT TIMER 5
END VOICE SESSION
WHERE collect_digits_dn_cv EQUALS
VALUE 1: GIVE IVR cpilot_ivr WITH TREATMENT 1025
DEFAULT: EXECUTE wait_loop
END WHERE
EXECUTE wait_loop
END IF
**********************************************
Steel