Print

VXML limitations

When designing an application with the Acquire and release as needed option, certain VXML concepts affect the release of the ASR resources.

Grammars defined in Application Root and Event Handler documents are given an application scope and can be included in the scope for the lifecycle of the application. These grammars remain loaded as the application traverses through its VXML pages. For details on grammar scope, see the VXML specification.

The ASR resource can only be released after all the grammars in the application are unloaded from the speech server.

If the grammars permanently remain in the application scope, the expected behavior is that the ASR resource is not released during the call, even though the Acquire and release as needed option is selected.