Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

play rendom wav file

How can I make the Cisco IPCC (ICD) play random wav file? Thanks.

3 REPLIES
Silver

Re: play rendom wav file

As far as I know, you cannot play random files.

New Member

Re: play rendom wav file

There is no specific tool to do this but you have a palette of tools. Create your wav files, name them whatever. Create a switch, the case is merely an index which is detrmined by your expression. The expression is where you'll need to come up with a algorithm to generate a case number within the range of cases/wav files that you have defined. Each case has a label to goto based on the evaluation of the expression each label has a play prompt associated wiht each of your wav files and then as with case statements once played will fall out the bottom (only one case evaluation per pass through) and on through your script. A routine like this could be designed as a called sub-routine. Good luck.

New Member

Re: play rendom wav file

To play random prompts you can use the Container Prompt object. This is located in the Prompts folder in your palette. Just specify a Container Prompt object with a type of Random and assign a frequency percentage in how often you want it to play.

Hope that helps.

111
Views
0
Helpful
3
Replies
CreatePlease to create content