Hello,
I need some help with the script below that has been provided to us. When queue postion 4 is reached the customer gets a choice, it prompts the custmer to press 1 if they want to be transferred to switchboard. The transfer section works fine when one is keyed.
If the customer presses nothing it should execute the loop and keep them in the queue, but it isn't the call is still going to switch.
Please help
IF cv_posn_in_q_orig >= 4 THEN
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT vs_bol_3rd_hold
COLLECT 1 DIGITS INTO cv_choice INTER DIGIT TIMER 3
END VOICE SESSION
IF cv_choice = 1 THEN
ROUTE CALL 0
ELSE
EXECUTE loop
END IF
END IF
SECTION loop
WAIT 2
ASSIGN POSITION IN QUEUE cv_skillset TO cv_posn_in_q_new
IF cv_posn_in_q_new < cv_posn_in_q_orig THEN
ASSIGN cv_posn_in_q_new TO cv_posn_in_q_orig
END IF
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT vs_bol_2nd_posn_hold
PLAY PROMPT NUMBER cv_posn_in_q_orig
END VOICE SESSION
IF NOT QUEUED THEN
IF NOT OUT OF SERVICE cv_skillset THEN
QUEUE TO SKILLSET cv_skillset WITH PRIORITY 3
WAIT 2
ELSE
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT vs_bol_unexpected
END VOICE SESSION
DISCONNECT
END IF
END IF
I need some help with the script below that has been provided to us. When queue postion 4 is reached the customer gets a choice, it prompts the custmer to press 1 if they want to be transferred to switchboard. The transfer section works fine when one is keyed.
If the customer presses nothing it should execute the loop and keep them in the queue, but it isn't the call is still going to switch.
Please help
IF cv_posn_in_q_orig >= 4 THEN
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT vs_bol_3rd_hold
COLLECT 1 DIGITS INTO cv_choice INTER DIGIT TIMER 3
END VOICE SESSION
IF cv_choice = 1 THEN
ROUTE CALL 0
ELSE
EXECUTE loop
END IF
END IF
SECTION loop
WAIT 2
ASSIGN POSITION IN QUEUE cv_skillset TO cv_posn_in_q_new
IF cv_posn_in_q_new < cv_posn_in_q_orig THEN
ASSIGN cv_posn_in_q_new TO cv_posn_in_q_orig
END IF
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT vs_bol_2nd_posn_hold
PLAY PROMPT NUMBER cv_posn_in_q_orig
END VOICE SESSION
IF NOT QUEUED THEN
IF NOT OUT OF SERVICE cv_skillset THEN
QUEUE TO SKILLSET cv_skillset WITH PRIORITY 3
WAIT 2
ELSE
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT vs_bol_unexpected
END VOICE SESSION
DISCONNECT
END IF
END IF