Am having had a problem with the script below, our engineer has given it a clean bill of health but it is still not working.
The problem seems to be that it never reaches the section marked (???), this should offer callers vs prompt which allows them to select an option to go to voicemail via call pilot.
Any ideas?
Steel
/* Check for Emergency Agent */
IF NOT LOGGED OUT AGENT 911911 THEN
GIVE CONTROLLED BROADCAST ANNOUNCEMENT cpilot_access
PLAY PROMPT
VOICE SEGMENT emergency_vs
WAIT 2
DISCONNECT
END IF
/*Force to Queue if agents logged in out of hours*/
IF NOT OUT OF SERVICE ce_svce_progression THEN
EXECUTE agent_login
END IF
/* Check for Holidays where closed*/
IF DATE = ws_bankhols_gv THEN
GIVE IVR cpilot_ivr
WITH TREATMENT 1021
END IF
/* Check for Opening Hours */
IF (DAY OF WEEK = weekends_gv)
OR (DAY OF WEEK = weekdays_gv) AND (TIME OF DAY <> ce_pd_open_hours_mw_gv)
OR (DATE = ce_pd_bankholsopen_gv)
THEN
GIVE IVR cpilot_ivr
WITH TREATMENT 1021
END IF
SECTION agent_login
/* Skillset in service check */
IF NOT OUT OF SERVICE ce_svce_progression THEN
QUEUE TO SKILLSET ce_svce_progression
WAIT 2
END IF
WAIT 5
GIVE CONTROLLED BROADCAST ANNOUNCEMENT cpilot_access
PLAY PROMPT
VOICE SEGMENT pdisp_first_wait_vs
WAIT 2
GIVE MUSIC music_ch
SECTION wait_loop
WAIT 40
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 ce_svce_progression THEN
QUEUE TO SKILLSET ce_svce_progression
WAIT 2
END IF
(???) OPEN VOICE SESSION cpilot_access
PLAY PROMPT
VOICE SEGMENT pdisp_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 1021
DEFAULT: EXECUTE wait_loop
END WHERE
EXECUTE wait_loop
END IF