Read back an entered value as a sequence of numbers

0

Withing the Play Prompt of the Contact Flow, I am attempting to read back to the user, a 10-digit number. However, it is reading it as a formatted number, not a sequence of numbers. By this I mean, it reads it back as "2 billion, 9 hundred and 64 million, 5 hundred and 12 thousand ...". I just want it to be read back as "2 9 6 4 5 1 2 ..."

How do I get the Play Prompt to read it as a sequence of numbers?

已提問 4 年前檢視次數 414 次
1 個回答
0

Figured it out, need to use SSML. The text that is read back needs to be similar to this:

<speak> You entered <say-as interpret-as="digits">$.Attributes.SomeNumber</say-as> Is that correct? Press 1 for Yes and 2 for No. </speak>

And set the type with the Get Customer Input to SSML.

已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南