Dela via


How to: Start and Stop Speech Server

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Speech Server must be running for speech applications to accept and handle calls. When you start Speech Server, you start the Speech Server service. By default, the service starts automatically when the computer starts. However, for maintenance or troubleshooting purposes, you might need to stop and restart the service.

To ensure that calls are not dropped when you stop the Speech Server service, specify a grace period that allows existing calls to stay active while not allowing additional calls to connect. After the grace period, the service is stopped. Any calls still active at that time are dropped.

You can also pause the service, which allows all existing calls to continue while not allowing new calls to connect. Pausing the service puts it on hold indefinitely (there is no grace period) and requires you to stop or resume the service manually. Choose a time to stop the service when the least number of calls are affected, such as during non-peak hours.

Important

Before pausing or stopping the Speech Server service, take appropriate action to ensure that calls are no longer directed to the computer running the service. This might require reconfiguration of the SIP peer or the DNS server that is sending calls to Speech Server so that calls get directed elsewhere. Failure to do so might result in an increased numbers of rejected calls.

Note

The Speech Server service does not start automatically following initial installation. If you have just installed Speech Server and added the server to the Speech Server Administrator console, you must start the service with one of the following procedures.

To start, stop, pause, resume, or restart Speech Server, choose one of the following ways:

  • Using the Speech Server Administrator console
  • Using the command line
  • Using the Services console

Starting and Stopping Speech Server

To start, stop, pause, resume, or restart Speech Server using the Administrator console

  1. Open the Speech Server Administrator console.

    For more information, see How to: Start the Speech Server Administrator Console.

  2. In the console tree, expand the applicable group, and then click Servers.

  3. In the details pane, right-click the applicable server, and then do one of the following:

    • If the service is running, click Stop, Pause, or Restart.

    • If the service is stopped, click Start.

    • If the service is paused, click Resume.

      Note

      You can also select the applicable server and use the buttons on the Administrator console toolbar to start, stop, pause, and restart the service.

  4. If you selected Stop or Restart, do one of the following in Stop Speech Server or Restart Speech Server:

    • Select Stop gracefully or Restart gracefully, and then specify a grace period.
      This option allows Speech Server to stop accepting new calls and wait the specified period of time before stopping or restarting the service. Any calls still active after the grace period ends are dropped.

      Note

      The specified grace period becomes the new default grace period for subsequent graceful stops and restarts. This value is stored in the WMI property ShutdownTimeout in the MSS class. For more information, see MSS Class.

    • Select Stop now or Restart now.
      This option forcibly stops or restarts the service. All active calls are dropped when the service stops.

  5. Click Stop Server or Restart Server.

    If the service is starting, Speech Server loads all resources for all enabled applications on the server. With a large number of resources, startup can take several minutes. During this time, the Speech Server Administrator console displays a message stating that the service is attempting to start. You can close this message without affecting the service startup operation. The Speech Server Administrator console displays the Start Pending status to remind you that startup is continuing. Refresh the Speech Server Administrator console after a few minutes to see the status updated from Start Pending to Running.

    If the service fails to start, Speech Server displays the following message: The service did not respond to the control request in a timely manner. This message indicates that errors occurred during startup. For more information about these errors, open the application log in Event Viewer.

  6. To ensure that the service is functioning properly, place a test call to the WelcomeToOcs application. For more information, see How to: Test Deployed Applications with a Softphone.

To start, stop, pause, or resume Speech Server using the command line

  1. Click Start, click Run, type cmd, and then click OK.

  2. At the command prompt, do one of the following:

    • To start the service, type net start MSSpeechService, and then press ENTER.
    • To stop the service, type net stop MSSpeechService, and then press ENTER.
      The net stop command causes a forced shutdown. The service stops almost immediately and all calls currently in progress are dropped.
    • To gracefully stop, type sc control MSSpeechService 130, and then press ENTER.
      This command prevents new calls from starting and waits for the period time specified in the ShutdownTimeout WMI property of MSS class before stopping the service. For more information, see MSS Class.
    • To pause the service, type net pause MSSpeechService, and then press ENTER.
    • To resume the service after it is paused, type net continue MSSpeechService, and then press ENTER.
  3. To ensure that the service is functioning properly, place a test call to the WelcomeToOcs application. For more information, see How to: Test Deployed Applications with a Softphone.

    For more information, see.

To start, stop, pause, resume, or restart Speech Server using the Services console

  1. Click Start, click Administrative Tools, and then click Services.

  2. In the details pane, right-click Office Communications Server 2007 Speech Server Service, and then do one of the following:

    • If the service is running, click Stop, Pause, or Restart.
    • If the service is stopped, click Start.
    • If the service is paused, click Resume.
  3. To ensure that the service is functioning properly, place a test call to the WelcomeToOcs application. For more information, see How to: Test Deployed Applications with a Softphone.

See Also

Tasks

How to: Monitor Speech Server with Event Viewer