I have a VXML (say vxml-1) which contains simple audio file for announcement followed by a goto element pointing to next vxml doc(say vxml-2) containing another audio file for announcement. Once the execution starts, vxml-1 loads with corresponding audio followed by goto execution. Now when the user hangs up, in the background it shows that it ended at vxml-2 because of very fast goto transition, but actually the user hung up at the audio of vxml-1 because of its long length. How can I determine if the user actually hung in between of audio of vxml-1 ? Is there any inbuilt function or property of audio tag like start or end in VXML ?
1
There are 1 best solutions below
Related Questions in AUDIO
- Play multiple audio files in a slider
- Unity3d AudioSource not creatable
- JavaFX can't play mp3 files
- iPhone simultaneous sound output
- Phonegap Build App - Play Audio
- HTML5 Audio pause not working
- Java boolean play button issue (play over and over again with each click)
- import a sound externally or from the library? AS3
- Set audio source
- Saving a sound bite as a ringtone
- Using OnAudioFilterRead with playOnAwake
- Audio recorded with Samsung does not play on iOS
- fftw of 16bit Audio :: peak appearing wrong at 2f
- How to Export an audio file with effect in iOS
- Tried multiple solutions onsite, none worked: Play <audio> on Konami code
Related Questions in VXML
- VoiceXML Grammar Input sequence
- create vxml with php dynamically
- how to set call duration time limit in vxml
- Unable to call javascript function in VoiceXML
- Thread sleep in Tomcat
- Access an IVR Application menu choice manually from VXML server
- How to forward call to multiple numbers
- using vxml transfer between 2 extensions
- VXML: Field input, forward typing
- Voiceglue Expecting '=' after cookie attribute's name
- How to set :autoclose option in Haml
- VXML record processing dtmf termchar
- VoiceXML Prompt & SSML <mark> element. How to read prompt from the specified position?
- Tools for describing and modeling voice xml applications
- Cannot get if statement to run in vxml
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Because of the way voice xml documents are processed, both audio files are queued (ie both pages executed) before the customer even notices audio is playing.
To accomplish what you want, create a form on the first page with an input (any input grammar will do) with a very short timeout. That way, the user doesn't navigate to the next page until they audio file has played and the timeout expired.
Note, the timeout and page navigation will add a delay. You can keep the timeout short, but the platform and page complexity determine how long it takes to navigate to the next page. To try and minimize the delay, make sure your audio files a trimmed of silence at the beginning and end.