Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 882887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:29:47+00:00 2026-05-15T12:29:47+00:00

I am looking at some sample vxml scripts from vxml.org. When i call the

  • 0

I am looking at some sample vxml scripts from vxml.org. When i call the script the prompts play, but it doesnt pick up any of my inputs at all. when i speak it responds “no input”. could i be missing some tag that indicates input from the user. this is the example script from the website:

<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.1">
   <link next="#MainMenu">
      <grammar type="text/gsl">[main back begin]</grammar>
   </link>

   <form id="MainMenu">
      <block>
         <prompt bargein="false">
            This is the Hello World Main Menu.
         </prompt>
      </block>

      <field name="MeatOrPlant">
         <prompt>
            Are you a "Carnivore" or "Vegetarian".
         </prompt>

         <grammar type="text/gsl">
            <![CDATA[[
              [vegetarian plant veggie] {<MeatOrPlant "plant">}
              [meat carnivore flesh animal] {<MeatOrPlant "meat">}
            ]]]>
         </grammar>

         <noinput>
            <prompt>
               I did not hear anything. Please try again.
            </prompt>
            <reprompt/>
         </noinput>

         <nomatch>
            <prompt>
               I did not recognize that lifestyle choice.  Please try again.
            </prompt>
            <reprompt/>
         </nomatch>

      </field>
      <filled>
         <if cond="MeatOrPlant == 'meat'">
            <goto next="#Meat"/>
            <elseif cond="MeatOrPlant == 'plant'"/>
            <goto next="#Plant"/>
         </if>
      </filled>
   </form>

   <form id="Meat">
      <field name="BackToMain">
         <prompt>
            PETA is coming for you, be afraid.
            If you wish to try again, please say Main.
         </prompt>
      </field>
      <filled>
         <!-- no way this will get hit -->
      </filled>
   </form>

   <form id="Plant">
      <field name="BackToMain">
         <prompt>
            Protein is the spawn of the devil.
            If you wish to try again, please say "Main".
         </prompt>
      </field>
      <filled>
         <!-- no way this will get hit -->
      </filled>
   </form>
</vxml>

Anyone have a clue? TIA

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T12:29:48+00:00Added an answer on May 15, 2026 at 12:29 pm

    You didn’t mention the platform being used. Since you’re using inline GSL, my first guess for platform would be TellMe or NVP, but I think there were others that supported inline GSL.

    In any case, make sure you aren’t getting a compilation error. I’ve seen a few platforms just ignore grammars that didn’t compile. The snippets look correct, but given you aren’t using the standard syntax (SRGS) I’m guessing this is an older implementation and the older the implementation, the more quirks and caveats you typically see.

    Generally, I don’t see anything wrong with the VoiceXML portion of your syntax to explain the behavior. While it’s not associated with your symptoms, your destination forms may cause issues on some platforms given the lack of grammars and defined exits (your relying on default catch handlers). To just play information, the field sections should be blocks. And note, if the block just played audio and exited the link grammars may or may not be active (the specification would imply they are, but must platforms switch between processing and queuing audio and performing recognition. Recognition and the continuous switching in and out of active grammars is rare…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Looking at some sample javascript code at http://alexgorbatchev.com/SyntaxHighlighter/manual/api/autoloader.html I see: <script src=shCore.js type=text/javascript></script> <script
I'm looking at some iOS sample code from Apple which shows off GLES2 functionality,
So I was looking through some sample code in Script#'s samples. I noticed that
I am looking for some adequately-complex sample database schemas that I could use for
In some of the audio libraries I've been looking at, a sample of audio
I am looking at some sample code in a book that creates a jittered
This is a pretty noobish question – I'm looking at some Cocoa sample code
I have been looking at the NSFetchedResultsControllerDelegate Protocol Reference and some sample code online
i am looking for some sample code or tutorial that sets up the most
I'm looking at some sample code and I'm puzzled over the lack of declaration

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.