Application defaults

You can specify defaults to apply to a particular application by creating a session configuration file (session.xml). Each session.xml file is associated with a particular voice application, and specifies default values that apply for that application only. You can use a session.xml file to:

  • Improve recognition accuracy for the application via special acoustic models
  • Specify the public key needed to encrypt confidential information in your logs
  • Improve response time by pre-loading commonly used resources

There are two main sections to a session.xml file:

  • Session parameters—Specifies parameters to apply globally and to different Voice Platform components for the application. This section is defined by the <sessionparameters> element. Configurable components are the Nuance Speech Server, Recognizer, Vocalizer, and the Voice Browser service.
  • Session resources—Specifies hints for resources to be preloaded for the application. This section is defined by the <resourcehints> element. A resource can be a language, grammar, or acoustic model.