We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
Wait Music
Wait Music
I am required to play wait music whenever a user's input starts a long running process. Would I use an audio tag or where do I begin?
Willie J. Perry
Racetrac Petroleum
Contract Developer
(770) 431-7600 ext 1644
Racetrac Petroleum
Contract Developer
(770) 431-7600 ext 1644
IVR code for hold music
Hi Willie,
Could you please clarify what you mean by "long running process" after the user enters an input?
For IVR example, if you are doing an IVR <submit> after the user enters an input, you could do the following:
holdmusicsubmit.vxml:
Hope this IVR code helps.
Regards,
Plum Support
Could you please clarify what you mean by "long running process" after the user enters an input?
For IVR example, if you are doing an IVR <submit> after the user enters an input, you could do the following:
holdmusicsubmit.vxml:
Code: Select all
<?xml version="1.0"?>
<vxml version="2.0">
<var name="myname" expr="'Jane Doe'"/>
<form>
<field name="drivelicense" type="digits">
<prompt>
<value expr="myname"/>,
Please say your driver's license number.
</prompt>
<filled>
You entered <value expr="drivelicense"/>.
<!-- Specifying the "method" attribute as "post" -->
<!-- otherwise it defaults to "get" which would put -->
<!-- variable values directly into the URL. -->
<submit next="http://nonexistent.domain.com/process.pl"
method="post" namelist="drivelicense myname" fetchaudio="http://www.server.com/audiomusicfile.wav"/>
</filled>
</field>
</form>
</vxml>
Regards,
Plum Support
Last edited by support on Wed Feb 24, 2010 12:35 pm, edited 4 times in total.
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com