Recognition timeout while playing a long prompt

Last Updated : Aug 18, 2014 |

If an application plays a long prompt with barge-in enabled, the Nuance speech server might return a recognition timeout event before the prompt has completed playing.

To resolve the problem, increase the session timeout parameter on the Nuance speech server to be longer than your longest application prompt.

Proposed Solution

Procedure

  1. For a Nuance Speech Server running on Linux:
    1. On the Nuance server, open the file $NSSSVRSDK/config/NSSserver.cfg in a text editor.
    2. Locate the line that reads as follows:

      server.mrcp2.sip.sessionTimeout VXIInteger XXXXXX

      Note:

      The XXXXXX value is the session timeout in milliseconds. For example, for a two minute timeout, XXXXXX value is 120000.

    3. Increase the timeout value in the line.
    4. Locate the line that reads as follows:

      server.mrcp1.rtsp.sessionTimeout VXIInteger XXXXXX

      Note:

      The XXXXXX value is the session timeout in milliseconds. For example, for a two minute timeout, XXXXXX value is 120000.

    5. Increase the timeout value in the line.
    6. Save and close the file.
    7. Restart the Nuance server.
  2. For a Nuance Speech Server running on Windows:
    1. On the Nuance server, open the file %NSSSVRSDK%\config\NSSserver.cfg in a text editor.
    2. Locate the line that reads as follows:

      server.mrcp2.sip.sessionTimeout VXIInteger XXXXXX

      Note:

      The XXXXXX value is the session timeout in milliseconds. For example, for a two minute timeout, XXXXXX value is 120000.

    3. Increase the timeout value in the line.
    4. Locate the line that reads as follows:

      server.mrcp1.rtsp.sessionTimeout VXIInteger XXXXXX

      Note:

      The XXXXXX value is the session timeout in milliseconds. For example, for a two minute timeout, XXXXXX value is 120000.

    5. Increase the timeout value in the line.
    6. Save and close the file.
    7. Restart the Nuance server.