<HTML dir=ltr><HEAD></HEAD>
<BODY>
<DIV><FONT face=Arial color=#000000 size=2>Hi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>I find that I'm not getting reliable results trying to detect DTMF using<BR>Lumenvox SRE via Asterisk. In fact, I don't know if it really recognises<BR>DTMF at all - sometimes it just happens to match against the voice grammar -<BR>e.g. a beep is matched against spoken "yes". My application uses code like:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>SpeechCreate<BR>SpeechLoadGrammar(yesno, builtin:grammar/boolean)<BR>SpeechLoadGrammar(yesno-dtmf, builtin:dtmf/boolean)<BR>SpeechActivateGrammar(yesno)<BR>SpeechActivateGrammar(yesno-dtmf)<BR>SpeechStart<BR>SpeechBackground(prompt, 5)<BR>SpeechDeactivateGrammar(yesno-dtmf)<BR>SpeechDeactivateGrammar(yesno)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>So users can say yes or no or press 1 or 2. However, it recognises speech<BR>OK and but rarely DTMF. In the Lumenvox Engine documentation, I see<BR>references to the built-in Boolean grammar being:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>builtin:dtmf/boolean?y=1;n=2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>but that doesn't make a difference. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>In Call Browser, the call details don't show any DTMF events. Calls are<BR>originated by Asterisk via a SIP/RTP provider, and we're getting DTMF as<BR>out-of-band RFC2833. In the Asterisk recording, I can hear the tones have<BR>been suppressed from the audio stream as expected, but in the Lumenvox Call<BR>Browser, there are full-length tones, so I guess the Asterisk/Lumenvox<BR>interface may be adding the audio tones back in, and the SRE should be<BR>recognising the tones. Is that how it should work? Is there any special<BR>configuration required to get DTMF passed through and recognised correctly?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>Any help appreciated.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>David<BR></FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV></BODY></HTML>