Page 1 of 1

why don't my audio files play?

Posted: Tue Jul 27, 2004 11:16 am
by ejohnson
I'm using a hosting company where I placed my vxml and audio files. The audio files do not play. Is there a solution to that? Do I have to place the audio files on the PLUM server? Or do I need to set some kind of a time out? What is the code to prefetch audio files?

Code: Select all

	<form id="getdemo">
   	   <field name="getzip" type="digits?length=5">
		<prompt>
      	                <audio src="wav/prompt4zip.wav">
  	 	     Please enter your 5 digit zip code.
	                </audio>
		</prompt>

		<filled>
			<goto nextitem="getgender"/>
		</filled>
            	<catch event="nomatch noinput">
       			Sorry, I didn't hear you.
	       		 <reprompt/>
            	</catch>
	   </field>
Thank you much!

IVR issue due to specifying not fully qualified URLs

Posted: Tue Jul 27, 2004 1:52 pm
by support
hi:
the problem is you are specifying URLs that are not fully qualified. By specifying relative URLs, the vxml interpreter is looking for files on the local filesystem. The 'local' filesystem is not relative to where the vxml files reside. It's local to where the interpreter resides. Keeping this in mind, change your audio URI as such:

Code: Select all

  <audio src="http://www.mysamplehost.com/myapp/wav/prompt4zip.wav"> 
Happy IVR coding! :)

kind regards,

Plum Support