Saving recording to a file on the http server
Posted: Wed Apr 28, 2004 7:14 pm
How do you save a voice recording to a file on the server? Say to verify an order, or similar? Is it saved as a wav file?
Welcome to the PlumVoice IVR Support Forum
https://support.plumvoice.com/
Code: Select all
<form id="record_audio">
<record name="aud" beep="true" type="audio/basic" dtmfterm="true"
maxtime="60.0s" finalsilence="2.0s">
<prompt>
<audio src="wav/record_instruction.wav">
After the beep, please record a message.
To cancel the recording and start over, press the star key.
</audio>
</prompt>
<filled>
<if cond="aud$.termchar == '*'">
<clear/>
<reprompt/>
<else/>
<assign name="myrecording" expr="aud"/>
<goto next="#review_audio"/>
</if>
</filled>
<catch event="noinput nomatch">
<audio src="wav/didnthear.wav">Sorry, I didn't hear you.</audio>
<reprompt />
</catch>
</record>
</form>
Code: Select all
<submit next="http://www.samplehost.com/file_upload.php"
method="post"
enctype="multipart/form-data"
namelist="myrecording"/>