01-24-2023 10:57 PM
I am playing a prompt through Fetch Audio, while this prompt plays i want to send call to Menu element and loop between Menu element and a decision element for the duration of that prompt played in Fetch Audio node. Is there any way i can stop the Menu element from trying to play a prompt on its own. Currently, as soon as the call hits the Menu element the fetch audio prompt stops running. I would like the prompt to continue playing through fetch audio.
Solved! Go to Solution.
01-25-2023 09:41 AM
01-25-2023 06:25 AM
I'm sorry if I'm not following. Can you explain the business case/the what and why you're trying to accomplish ?
If the fetch audio is done playing and you've moved onto the menu element, isn't that an indicator that whatever you were trying to look up/fetch is ready?
01-25-2023 07:54 AM
01-25-2023 09:07 AM
Hi Janine, thanks for replying. Yes you are right i am trying to use fetchaudio to play the initial audio prompt of the menu. Let me elaborate further. I play the initial audio prompt of the menu through fetch audio after which the call goes to a custom class where certain parameters are checked. If the result comes as false i want call to go to menu element and customer will be able to enter an input for a 1s timeout. After which the call will again loop back to my custom class and again check the result from there. This will go on till either the fetchaudio prompt (playing initial audio prompt of menu) ends, or my custom class returns true or customer enters some input while on menu element. The issue im facing is as soon as call comes to the menu element the fetchaudio prompt is cut off. Is there any workaround to avoid this?
01-25-2023 09:41 AM
01-25-2023 11:35 AM
That does seem like a good approach and I had thought of splitting the prompts. Thank you for the detailed suggestion on how to implement it. The only reason I’m not confident in doing this is won’t this cause the Audio to sound glitchy and impact user experience ? As in whenever call will leave menu element and loop back around from custom class won’t there be a slight glitch due to change in prompt?
02-01-2023 02:52 AM
Hey Janine after extensive testing of this solution, it does give a reasonable way to solve this problem however as noted above the customer experience is impacted due to the slight delay of milliseconds between the prompts which causes the audio to be a bit choppy. I don’t currently see any way past this. Thank you for your help
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide