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

时间:2010-11-23 12:35:32

标签: xml ivr vxml

我在tell studio中有开发者帐号,

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

但它不起作用,前夕NOINPUT标签也不起作用,

这是我的代码段,

 <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>

1 个答案:

答案 0 :(得分:1)

你是否在电话旁保持安静?

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

请按电话的静音按钮。