I am trying to play music on hold while an application is processing on the backend. I am using the following properties
Here is my application of which I am using simple class and set 100 seconds delay
in the ABC class, I am simply using sleep for 100 seconds. Logically application will play music on hold configured in root settings. But unfortunately, It is not playing anything and not even error.
Yes, there's a bug... not sure if there's a patch yet. You can look. Try
using an Audio element just prior to your delay, and put the fetchaudio
and its URI in the settings tab, it might work from the element level.
Bug Search Tool
Bug Search <https://bst.cloudapps.cisco.com/bugsearch/>
VVB Null Pointer Exception with FetchAudio
At the bottom of the Settings tab there's an area called VoiceXML
Properties. Just enter Name and Value there. It's probably best to
configure both fetchaudio and fetchtimeout there.
You'll need to put something in the Audio tab of the Audio element. If
you don't want to play anything, then point to Cisco's silence.wav file
- you can DeSelect the checkbox for use Default Audio Path, and enter
Thank you for your response. I am currently using CVP 11.5(1) and this release is not affected but still facing the same issue.
Try setting the fetchaudio and fetchtimeout in an Audio element just
prior to your web service call.
Settings tab: VoiceXML Property
Name: fetchtimeout Value: 20s
Name: fetchaudio Value: http://ip/en-us/sys/something.wav
Audio tab: Deselect checkbox for UseRecordedAudio