cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
353
Views
0
Helpful
1
Replies
Highlighted
Beginner

Scrript for random number of prompts

Hi ,

Im trying to create a script that would ask for a number .These number represents how many prompts will be played.Then the user will key-in the prompts filename which is a 4 digit number.Prompts are pre-recorded.We will use the script for notification on area affected by service interruption so the number of prompt required is not fixed.I hope somebody here can help me create the script.

regards,

1 REPLY 1
Highlighted
Cisco Employee

Hi,

The first thing you should do, or have done, is draw out the logical call flows for your application.  These call flows should account for all possible inputs, outputs, and failures, as well as your upper and lower limits of the input.  Have you done that already?

Once you have that ready to go, then you should start separating your logic into clear distinctive pieces and parts which can act on their own: 1) Greet the caller, 2) Ask for a passcode, 3) Ask for a numeric input, etc.

Once you have done that, then you start to script each one individually, kind of like baby steps.

If you run into a problem on any one individual part, then come back with your questions, and we'll see if we can't sort it out with you.

Good luck and happy learning.

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.

Content for Community-Ad