Page 1 of 1
Can i use IVR to listen to songs stored in Database
Posted: Tue Dec 08, 2009 4:18 am
by girishprabhakar82
Hi All,
Can i use IVR to listen to songs stored in any database.
If yes, How???
Thanks in advance
use IVR to listen to songs by using the <audio> tag
Posted: Tue Dec 08, 2009 10:02 am
by support
Hi,
You can use IVR to listen to songs by using the IVR tag,
<audio>. However, please be mindful of using the correct audio formats for this process. For more information on this, please see here:
http://www.plumvoice.com/docs/dev/devel ... ence:audio
Regards,
Plum Support
Listening to songs using <audio> tag
Posted: Wed Dec 09, 2009 1:01 am
by girishprabhakar82
Hi Team,
Thanks a lot.
I really appreciate your response.
Since i am new to this technology, can you please also guide me how to run the sample example mentioned in the link below.
What all do i need to execute it, so that i can listen an audio file from my mobile phone.
Thanks in advance again.
Girish
Plum IVR <audio> example
Posted: Wed Dec 09, 2009 9:31 am
by support
Hi Girish,
To run this IVR example, first create an IVR script on your web server with this IVR example:
testaudio.vxml:
Code: Select all
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<block>
<prompt>
I'm going to play an audio file.
</prompt>
<!-- If the wave file at the location specified by the -->
<!-- "src" attribute can not be retrieved, the text within -->
<!-- the "audio" tag will be read by the TTS engine. -->
<audio src="http://nonexistent.domain.com/test.wav">
Oops, the audio file could not be retrieved!
</audio>
</block>
</form>
</vxml>
Then, on the IVR hosting page (
http://hosting.plumgroup.com), go to Applications->Application Configuration->Edit(for one of your phone numbers). From there, for "Application Source", select "Remote URL" from the drop-down menu. For "Remote URL", enter the URL of where you are storing your VoiceXML script (for example:
http://www.yourwebserver.com/testaudio.vxml).
Hope this helps.
Regards,
Plum Support