在 vxml 中录制声音(Tellme studio 开发者帐户)
我在告诉工作室有开发者帐户,
我尝试了一些基本片段,它工作正常,最后我尝试了记录标签,
但它不起作用,eve NOINPUT TAG也不起作用,
这是我的片段,
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
<form id="form-record">
<record name="greeting" beep="true" maxtime="10s" finalsilence="2000ms">
<prompt>
Please record your greeting after the tone.---------------This line executing
</prompt>
<noinput>
i did not hear anything. <reprompt/> ------this line not working,
</noinput>
</record>
<field name="confirm" type="boolean">
<prompt>
your greeting is <audio expr="greeting"/>
to keep it say yes, to discard it say no.
</prompt>
<filled>
<if cond="confirm">
<prompt> ok, i will save your greeting </prompt>
<submit method="post" namelist="greeting"
next="greetingstore.jsp"/>
<else/>
<prompt> ok, lets try again </prompt>
<clear namelist="greeting confirm"/>
</if>
</filled>
</field>
</form>
</vxml>
I have developer account in tell studio ,
I tried some basic snippet its working fine, finaly i tried record tag,
but its not working , eve NOINPUT TAG also not working ,
This is my snippet ,
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
<form id="form-record">
<record name="greeting" beep="true" maxtime="10s" finalsilence="2000ms">
<prompt>
Please record your greeting after the tone.---------------This line executing
</prompt>
<noinput>
i did not hear anything. <reprompt/> ------this line not working,
</noinput>
</record>
<field name="confirm" type="boolean">
<prompt>
your greeting is <audio expr="greeting"/>
to keep it say yes, to discard it say no.
</prompt>
<filled>
<if cond="confirm">
<prompt> ok, i will save your greeting </prompt>
<submit method="post" namelist="greeting"
next="greetingstore.jsp"/>
<else/>
<prompt> ok, lets try again </prompt>
<clear namelist="greeting confirm"/>
</if>
</filled>
</field>
</form>
</vxml>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你在打电话时保持安静吗?
“记录”可以收集非常小的噪音。
请按您电话的静音按钮。
Do you keep quiet around telephone?
"record" can gathering very small noise.
Please press mute button of your telephone.