We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
Application not letting me upload audio to repository
Application not letting me upload audio to repository
I'm new. I have some wav files that conform that I wish to upload but I don't have a pin. I get this message File Upload Failed. Reason: The PIN code 0 does not exist in the database. Do I need to upgrade?
Plum IVR Audio Repository
Hi hscully,
Yes, you would need a production account to have access to the audio repository.
However, you are not required to use the audio repository to play audio files in your IVR application. You can just store audio files on your own web server and reference the files in your IVR script. For example, here's a small clip of some IVR code using the <audio> tag:
Or, you could reference the files relatively to where your file is stored. For example, if your files were set up in the following way on your IVR server:
appfolder
| index.vxml
| audiofolder
| youraudiofile.wav
You could then reference your audio file like this in your IVR code:
index.vxml:
Hope this helps.
Regards,
Plum Support
Yes, you would need a production account to have access to the audio repository.
However, you are not required to use the audio repository to play audio files in your IVR application. You can just store audio files on your own web server and reference the files in your IVR script. For example, here's a small clip of some IVR code using the <audio> tag:
Code: Select all
<audio src="http://www.yourwebserver.com/youraudiofile.wav">
This message will be played if your audio file does not exist.
</audio>
appfolder
| index.vxml
| audiofolder
| youraudiofile.wav
You could then reference your audio file like this in your IVR code:
index.vxml:
Code: Select all
...
<audio src="audiofolder/youraudiofile.wav">
This message will be played if your audio file does not exist.
</audio>
...
Regards,
Plum Support
Last edited by support on Wed Feb 24, 2010 11:58 am, edited 5 times in total.
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
IVR code example for <audio> tag
Hi hscully,
Here is an IVR code example using the IVR tag, <audio>, to help you with this:
audioprompt.php
Hope this helps.
Regards,
Plum Support
Here is an IVR code example using the IVR tag, <audio>, to help you with this:
audioprompt.php
Code: Select all
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">
<var name="myfield" expr="75"/>
<form>
<block>
<audio src="youentered.wav">
You entered
</audio>
<value expr="myfield"/>
<audio src="dollars.wav">
dollars.
</audio>
</block>
</form>
</vxml>
Regards,
Plum Support
Last edited by support on Wed Feb 24, 2010 11:59 am, edited 4 times in total.
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
updated IVR code example for male voice
Hi,
Yes, here's the updated IVR code example that uses the IVR tag, <voice>, in order to allow you to do this:
If you'd like more information on the types of TTS voices you can use for this, please see here: http://www.plumvoice.com/docs/dev/devel ... attributes
Regards,
Plum Support
Yes, here's the updated IVR code example that uses the IVR tag, <voice>, in order to allow you to do this:
Code: Select all
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">
<var name="myfield" expr="75"/>
<form>
<block>
<audio src="youentered.wav">
You entered
</audio>
<prompt>
<voice name="mike">
<value expr="myfield"/>
</voice>
</prompt>
<audio src="dollars.wav">
dollars.
</audio>
</block>
</form>
</vxml>
Regards,
Plum Support
Last edited by support on Wed Feb 24, 2010 12:00 pm, edited 8 times in total.
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com