I have a script that sometimes plays through the wait loop ok and other times just goes silent. Some times I'll hear my vm_vs 3 times and other times it won't even play it once without going silent and the call just sitting in "no man's land". I did about 30 test calls while watching the Call Pilot Channel Monitor to make sure that the voice ports aren't getting all used up and that doesn't seem to be an issue. Would there be any other reason why the script would behave differently each time? I've pasted the script below.
QUEUE TO SKILLSET Test_Sk
WAIT 2
GIVE MUSIC moh_gv
GIVE RAN ran_1
SECTION wait_two_loop
WAIT 10
WAIT 5
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT vm_vs
COLLECT 1 DIGITS INTO vm_choice_cv INTER DIGIT TIMER 2
END VOICE SESSION
WHERE vm_choice_cv EQUALS
VALUE 1: ROUTE CALL 3333
DEFAULT: EXECUTE wait_two_loop
END WHERE
QUEUE TO SKILLSET Test_Sk
WAIT 2
GIVE MUSIC moh_gv
GIVE RAN ran_1
SECTION wait_two_loop
WAIT 10
WAIT 5
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT vm_vs
COLLECT 1 DIGITS INTO vm_choice_cv INTER DIGIT TIMER 2
END VOICE SESSION
WHERE vm_choice_cv EQUALS
VALUE 1: ROUTE CALL 3333
DEFAULT: EXECUTE wait_two_loop
END WHERE