Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / April 2004

Tip: Looking for answers? Try searching our database.

multiple digit dtmf grammar

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shivan - 03 Mar 2004 20:41 GMT
I am trying to create dtmf grammar which accepts 5 digits. Here is how the grammar looks like

<rule id="UserIdDtmf" scope="public"><item repeat="1-5"><?MS_Grammar_Editor GroupWrap?><one-of><item>1</item><item>2</item><item>3</item><item>4</item><item>5</item><item>6</item><item>7</item><item>8</item><item>9</item><item>0</item></one-of></item><tag>$.dtmfEmployeeId = $recognized.text</tag></rule
if I enter just one digit then it returns correct data. But if I enter 11111 then I see following message.
2 - Path not found through this rule. This could be due to the current rule referencing a compiled grammar or user termination
3 - Getting SML result from Speech Recognizer

    SML output failure
Can't recognize phrase using this rule. This could be due to
    - No path in this rule matches the phras
    - Incorrect use of punctuation in the input strin
    - A speech engine timeout

Can anyone tell me what I am doing wrong. I have SpeechSDK beta 4. Thanks in advance.
DotNetJunkies User - 08 Apr 2004 20:32 GMT
Enter the numbers like <item> 1 </item><item> 2 </item>

This should work.

---

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.