When the VoiceXML browser receives a recognized word or phrase from the speech recognition engine, the browser searches the active grammars, in the following order, looking for a match:
You can temporarily disable active grammars, including the VoiceXML browser's grammars for built-in commands, by using the modal attribute on various form items. When modal is set to true, all grammars are temporarily disabled except the grammar for the current form item.
Ambiguities can arise when a user's utterance matches more than one of the following:
You should exercise care to avoid using the same word or phrase in multiple grammars that could be active concurrently; the VoiceXML browser resolves any ambiguities by using the first matching value.
Understanding how disambiguation works is especially important when multiple phrases in concurrently active grammars contain the same key words.