在 vxml 中录制声音(Tellme studio 开发者帐户)

发布于 2024-10-03 19:05:57 字数 1271 浏览 2 评论 0原文

我在告诉工作室有开发者帐户,

我尝试了一些基本片段,它工作正常,最后我尝试了记录标签,

但它不起作用,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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

汐鸠 2024-10-10 19:05:57

你在打电话时保持安静吗?

“记录”可以收集非常小的噪音。

请按您电话的静音按钮。

Do you keep quiet around telephone?

"record" can gathering very small noise.

Please press mute button of your telephone.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文