QuietAdmin
MIS
Hello.
I am trying to create a script that will allow the caller to press 1 at any time during the script to access a voice mail option.
In the past I have done this at a given time interval using the following code.
---------------------------
IF AGE OF CALL >=600 THEN
OPEN VOICE SESSION
PLAY PROMPT
VOICE SEGMENT Mail_vs
COLLECT 1 DIGITS INTO Menu_choice_cv
END VOICE SESSION
END IF
IF Menu_choice_cv = 1 THEN
ROUTE CALL closed_mb_cv
DISCONNECT
End If
---------------------------
This gives the caller about 10 seconds to press 1, after that the Music starts to play again, and pressing 1 is ignored.
Is this possible?
I am trying to create a script that will allow the caller to press 1 at any time during the script to access a voice mail option.
In the past I have done this at a given time interval using the following code.
---------------------------
IF AGE OF CALL >=600 THEN
OPEN VOICE SESSION
PLAY PROMPT
VOICE SEGMENT Mail_vs
COLLECT 1 DIGITS INTO Menu_choice_cv
END VOICE SESSION
END IF
IF Menu_choice_cv = 1 THEN
ROUTE CALL closed_mb_cv
DISCONNECT
End If
---------------------------
This gives the caller about 10 seconds to press 1, after that the Music starts to play again, and pressing 1 is ignored.
Is this possible?