Hi, in my VXML file, it should have a fetchaudio played while waiting webserver to send request back after users enter their commands. But sometimes the fetchaudio doesnt play the hour glass sound in time after pressing the command...In other words, it seems the fetchaudio doesnt be played at all...
Here is a piece of my VXML code of fetchaudio:
<data name="resp" src="http://www.xxxxx.com" method="post" namelist="phone registrationsource" fetchaudio="audio/Tone.wav"/>
In my previous VXML service platform, after users enter their commands,system will play the hour glass sound immediately.
So, is this the case that only happens in plum?
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
Something about fetchaudio
Re: Something about fetchaudio
Hi,
We believe that your script is being fetched before the fetchaudio can be played.
If you want the fetchaudio file to play even after the fetch has arrived, you can use the "fetchaudiominimum" property, as documented here.
Regards,
Plum Support
We believe that your script is being fetched before the fetchaudio can be played.
If you want the fetchaudio file to play even after the fetch has arrived, you can use the "fetchaudiominimum" property, as documented here.
Code: Select all
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.1">
<property name="fetchaudiominimum" value="5s"/>
<var name="phone" expr="'1234567890'"/>
<var name="registrationsource" expr="'asdf'"/>
<form>
<data name="resp" src="http://www.xxxxx.com" method="post" namelist="phone registrationsource" fetchaudio="holdmusic.wav"/>
...
...
...
</form>
</vxml>
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
-
- Posts: 7
- Joined: Fri Aug 26, 2011 3:46 pm
Re: Something about fetchaudio
Actually, I would like to put the audio played before fetch arrive, how can I make this happen?
support wrote:Hi,
We believe that your script is being fetched before the fetchaudio can be played.
If you want the fetchaudio file to play even after the fetch has arrived, you can use the "fetchaudiominimum" property, as documented here.
Regards,Code: Select all
<?php header("Content-type: text/xml"); echo("<?xml version=\"1.0\"?>\n"); ?> <vxml version="2.1"> <property name="fetchaudiominimum" value="5s"/> <var name="phone" expr="'1234567890'"/> <var name="registrationsource" expr="'asdf'"/> <form> <data name="resp" src="http://www.xxxxx.com" method="post" namelist="phone registrationsource" fetchaudio="holdmusic.wav"/> ... ... ... </form> </vxml>
Plum Support
Re: Something about fetchaudio
Hi,
The fetchaudiominimum property still allows you to hear the audio before the fetch arrives. Our initial guess was that the fetch was happening too quickly for the fetchaudio to be played and thus, wasn't able to be heard by the caller.
Please let us know if you have any further questions on this.
Regards,
Plum Support
The fetchaudiominimum property still allows you to hear the audio before the fetch arrives. Our initial guess was that the fetch was happening too quickly for the fetchaudio to be played and thus, wasn't able to be heard by the caller.
Please let us know if you have any further questions on this.
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com