![]() |
For example, an application is configured with the Acquire and release as needed option and a VXML page with one speech grammar defined. When the page is loaded, the grammar is loaded on the speech recognition server. The ASR resource is acquired if not done already.
On successful recognition match, the field associated with the grammar is filled. When the page is unloaded, the grammar is unloaded from the speech recognition server, and the ASR resource is released.
For example, an application is configured with the Acquire and release as needed option and a VXML page having two speech grammars defined. When the page is loaded, both grammars are loaded on the speech recognition server. The ASR resource is acquired if not done already.
On a successful recognition match of the first grammar, the associated field is filled, and the ASR resource remains acquired. On the successful recognition match of the second grammar, the field associated with the second grammar is filled. All recognitions are complete, the VXML page is unloaded, and both grammars are unloaded from the speech recognition server. The ASR resource is then released.