Yan_Naroditsky | 2017-03-17 18:39:01 UTC | #1
Hi,
I am looking for the way to use dynamic voice prompt name in Architect call flows. Something like this toAudio(Prompt.{Call.ANI})
- I cannot use TTS, because the language I need is not supported
- As I understand toAudio() function doesn't accept String variable as an argument. I haven't found any functions that convert String to Prompt.
- I tried to define List of prompts using Update Data task, but found MakeList function doesn't support Prompt.
Any ideas?
Thank you in advance,
tim.smith | 2017-03-17 18:56:26 UTC | #2
This isn't currently possible. If you can provide your use case, I'll submit an enhancement request for it.
Yan_Naroditsky | 2017-03-17 20:41:40 UTC | #3
Thank you Tim.
Is it possible to chain the expressions in "if/else" style?
if (Call.Ani == "7035432125",ToAudio(Prompt.Voice123),ToAudioBlan(0)) OR if (Call.Ani == "7035432126",ToAudio(Prompt.Voice456),ToAudioBlan(0))
Yan_Naroditsky | 2017-03-17 20:48:58 UTC | #4
Found already. :slight_smile:
if (Call.Ani == "7035432125",ToAudio(Prompt.Voice123), if (Call.Ani == "7035432126",ToAudio(Prompt.Voice456), if (Call.Ani == "7035432127",ToAudio(Prompt.Voice789),ToAudioBlank(0))))
JeffBuzhardt | 2017-03-17 21:03:32 UTC | #5
The use case is to use a data driven approach to call handling. All incoming calls are handled in a similar fashion, but have the following items that are property (DNIS) specific:
- After-hours transfer target number (E.164)
- Language played to caller (would match a predefined designation)
- Welcome message (a prompt name)
- In-Queue message (a prompt name)
For this particular implementation, there are around 100 different properties. For the global implementation there are ~2,000. The customer does not want to maintain a separate call flow for each DNIS.
In my mind, I envision using a bridge connector to retrieve the data, based on DNIS, and set that data into variables to be retrieved during the call flow. Alternately, we could set variables "manually" based on DNIS.
system | 2017-08-28 19:33:07 UTC | #6
This post was migrated from the old Developer Forum.
ref: 1066