ITPub博客

首页 > Linux操作系统 > Linux操作系统 > IVR-3 开发Demo Input

IVR-3 开发Demo Input

原创 Linux操作系统 作者:kirinri 时间:2008-04-29 17:40:08 0 删除 编辑
DtmfInput


 
    
      
         What is your favorite color?
         Choose 1 for yellow.
         Choose 2 for green.
         Choose 3 for light green.
         Choose 4 for dark blue.
      

      
              [
      [1]     {  }
      [2]     {  }
      [3]  {  }
      [4]  {  }
     ]
   ]]>
      

      
        Did you say something? I didn't hear you .
       
      

      
          I'm sorry, no match.
         
      

     

     
     
        
             You said yellow.
        
             You said green.
        
             You said light green.
        
             You said dark blue.
        

      

   
 

MixInput


 
    
      
         What is your favorite color?
         For yellow choose 1 or say yellow.
         For green choose 2 or say green.
         For light green choose 3 or say light green.
         For dark blue choose 4 or say dark,blue or dark blue.
      

      
              [
      [dtmf-1 yellow]     {  }
      [dtmf-2 green]     {  }
      [dtmf-3 (light green)]  {  }
      [dtmf-4 dark blue]  {  }
     ]
   ]]>
      

      
        Did you say something? I didn't hear you .
       
      

      
          I'm sorry, no match.
         
      

     

     
     
        
             You said yellow.
        
             You said green.
        
             You said light green.
        
             You said dark blue.
        

      

   
 

VoiceInput1


<!-- 语音内容匹配 -->

 
    
       What is your favorite color?
      
         [yellow green (light green) dark blue]
      

      
        Did you say something? I didn't hear you .
       
      

      
          I'm sorry, no match.
         
      

     

     
     
        
             You said yellow.
        
             You said green.
        
             You said light green.
        
             You said dark blue.
        
           No match but
        

      

   
 

VoiceInput2


<!-- 语音匹配后赋值 -->

 
    
       What is your favorite color?
      
              [
      [yellow]    {  }
      [green]    {  }
      [(light green)]  {  }
      [dark blue]  {  }
     ]
   ]]>
      

      
        Did you say something? I didn't hear you .
       
      

      
          I'm sorry, no match.
         
      

     

     
     
        
             You said yellow.
        
             You said green.
        
             You said light green.
        
             You said dark blue.
        

      

   
 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12476590/viewspace-256891/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: IVR-3 开发Demo Catch
请登录后发表评论 登录
全部评论

注册时间:2007-12-21

  • 博文量
    257
  • 访问量
    543629