Sample session.xml file
You can specify a session.xml file for an application via the Management Station on the Applications tab for the Voice Browser service in the Management Station.
Voice Platform provides a sample session.xml in %NSSSVRSDK%\config\example_session.xml that you can use as a template when creating your own session.xml.
A sample session.xml file might look like this:
<?xml version="1.0"?>
<sessionconfig version="1.0.0" xml:base="${APP_PROVISION_DIR}"><sessionparameters>
<global>
<param name="company_name"><value>mycompany</value></param>
<param name="application_name"><value>myapp</value></param>
</global>
<logging>
<param name="encryption_key">
<value>-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwI9aWNJ3DDYY0hG0ma847/SC
+B8jyYIlSxK3uaCpImiSC+x27jqAeHlIsg7elWXbIChmL1/OoR2BIgvqwr1gbG6
8MlkL39HK8Gk+3aMF/1hMbpq3Q7mhucSnKqhHXTTZthFgKxo4ZePBh04+3nTESB
89DmQTruLAxnyQlN1pEQIDAQAB
----END PUBLIC KEY----</value>
</param>
<param name="encryption_key_tag">
<value>labelForEncryptionKey</value></param>
<param name="internal_encryption"><value>AES-192</value></param>
</logging>
<browser>
<param name="browser.security.limit.maxCallDuration">
<value>50000</value>
</param>
<param name="browser.security.limit.maxCallWarningTime">
<value>1000</value>
</param>
<param name="browser.security.limit.maxStatesBetweenUserInput">
<value>5</value>
</param>
</browser>
<speechrecog name="NR10">
<param name="swirec_default_language"><value>en-US</value></param>
<param name="swirec_language_versions">
<value>en-us 10.0.0</value>
<value>es-us 10.0.0</value>
<value>fr-ca 10.0.0</value>
</param>
</speechrecog>
<speechserver>
<speechrecog>
<param name="hotword-min-duration"><value>200</value></param>
</speechrecog>
<speechrecorder>
<param name="capture-on-speech"><value>true</value></param>
</speechrecorder>
<speechsynth>
<param name="cache-control.max-age"><value>1</value></param>
</speechsynth>
</speechserver>
<speechsynth>
<param name="rate"><value>60</value></param>
</speechsynth>
<speechrecog>
</speechrecog>
</sessionparameters>
<resourcehints>
<speechrecog>
<resource type="language"><param><value>en-US</value></param>
</resource>
<resource type="grammar">
<param><value>mybiggrammar.gram</value></param>
</resource>
</speechrecog>
</resourcehints>
</sessionconfig>