[Voiceglue] Recording and Submitting Back
Marutha
maruthavanan.s at gmail.com
Fri Jul 30 17:29:23 UTC 2010
Hi,
I am doing a record for one minute and sending back to server via post, the
POST is done via multipart/form data. I tried receivng and appending the
data but the data was repeated. How can I get the entire one minute data. Am
i missing something? I am new to recording. Kindly help.
<?xml version="1.0" encoding="UTF-8"?> <!-- -*-SGML-*- -->
<vxml version = "2.0" xmlns="http://www.w3.org/2001/vxml">
<form id="top">
<property name="inputmodes" value="dtmf"/>
<record name="testing_audio" beep="true" maxtime="10s" finalsilence="3s"
dtmfterm="true"
type="audio/basic">
<prompt>
Make a recording after the beep.
</prompt>
<noinput>
<prompt>I did not hear anything. Please try again.</prompt>
<goto next="#top"/>
</noinput>
<filled>
<if cond="testing_audio$.maxtime == true">
<prompt bargein="false"> You hit the maximum recording time.
</prompt>
</if>
<if cond="((typeof testing_audio$.termchar) != 'undefined') &&
(String (testing_audio$.termchar) != 'null')">
<prompt bargein="false">
You stopped recording with key <value expr="testing_audio$.termchar"/>
.
</prompt>
</if>
<prompt bargein="false">
Your recording lasted <value expr="testing_audio$.duration"/>
milliseconds
and took <value expr="testing_audio$.size"/> bytes.
</prompt>
<prompt bargein="false">Your recording was</prompt>
<prompt bargein="false">
<audio expr="testing_audio"/>
</prompt>
<submit next="http://localhost/eod/update_language.yaws"
enctype="multipart/form-data"
method="post" namelist="testing_audio"/>
<goto next="#top"/>
</filled>
</record>
</form>
</vxml>
Thanks,
Marutha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.voiceglue.org/pipermail/voiceglue/attachments/20100730/fda5f23d/attachment.html>
More information about the Voiceglue
mailing list