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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Generated Prompt Does Not Play

                   I have a script that is set to play a generated prompt and it does not play.  I have a variable named balance that is an integer populated with the number 500.  The goal is to have the system play back "five hundred dollars" but right now I am just trying to get it to play back "Five hundred or Five zero zero"  I am using the create generated prompt step to read the variable balance as a number.  The generator type is number, constructor type is number, play full.  The argument is name number with value balance and name play full value false so as I understand it, the system should play back "five zero zero" to an output prompt AccountBalance.  I then use the play prompt step set to P[AccountBalance] and in debugging, the script passes right over the play prompt step, there are no errors, it just skips over the step and does not play the prompt.  The override language is L[en_US].  UCCX 9.0.2

Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Generated Prompt Does Not Play

Without actually seeing your script, it sounds like you're doing most of it correctly.  However, you did not specify the output prompt from the Create Generated Prompt step.  Because you gave the example: P[AccountBalance], I can already see that this is incorrect.  The result of the Create Generated Prompt step would not use the user prompt notation: P[].  If AccountBalance is in fact the resulting prompt from the Create Generated Prompt step, then try simply referencing it in your Play Prompt step as AccountBalance and no as P[AccountBalance].

Also, to play numbers, you don't even need the Create Generate Prompt step:

N[100] == "One Hundred"

#[5] == "Fifth"

S[601] == "Six Zero One"

Anthony Holloway

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

Anthony Holloway

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

Re: Generated Prompt Does Not Play

Without actually seeing your script, it sounds like you're doing most of it correctly.  However, you did not specify the output prompt from the Create Generated Prompt step.  Because you gave the example: P[AccountBalance], I can already see that this is incorrect.  The result of the Create Generated Prompt step would not use the user prompt notation: P[].  If AccountBalance is in fact the resulting prompt from the Create Generated Prompt step, then try simply referencing it in your Play Prompt step as AccountBalance and no as P[AccountBalance].

Also, to play numbers, you don't even need the Create Generate Prompt step:

N[100] == "One Hundred"

#[5] == "Fifth"

S[601] == "Six Zero One"

Anthony Holloway

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

Anthony Holloway

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

Generated Prompt Does Not Play

I cannot believe I actually did that, I read your answer and thought..no I didn't do that but then I looked at my script and yes I did.  My only defense is it was 2am after all.  This script is a credit card account inquiry so it is going out and retrieving information from a database and playing the standard stuff you would hear..balance, available credit, last transactions etc so it is kind of complicated (for me).  I would suspect that you will be hearing more from me, sorry about that.

In any event, thank you for the resolution

170
Views
0
Helpful
2
Replies