Platform SDK: Web Telephony Engine

Running the Web Telephony Service in Window Mode

WTE supports a command-line option that lets you run the Web telephony service in window mode. This mode is useful while developing or debugging an application. While in window mode, the WTE service displays the currently loaded HTML page in a window on the host computer, allowing you to see your application as it runs. Note that window mode does not affect what a caller or browser user sees or hears.

To run the Web telephony service in a window

  1. Stop the Web telephony service. For instructions on how to stop the service, see Controlling the Web Telephony Service.
  2. Determine the Web telephony directory by following these steps:
    1. Click the Start button, click Programs, click Administrative Tools, and then click Computer Management.
    2. Open the node System Tools, click Services, right-click Microsoft Web Telephony, and then click Properties.
    3. On the General tab, note the Path to executable – this is the Web telephony directory.
  3. Run Web telephony as an executable from its directory, by typing the following command:
    mswtesrv.exe -exe

Type the following command to stop the WTE executable:

mswtesrv.exe -stop

Application Images and Browser Messages

By default, the Web telephony service does not display any application images while running in a window, nor does it show any browser messages such as security warnings and script errors. However, the WTE administration tool lets you change the configuration so that the Web telephony service displays images and browser messages while running in a window. This is useful if you want to add error messages to help you debug scripts that execute only under the Web telephony service.

To see images and browser messages

  1. Click Start, click Programs, click Microsoft Web Telephony Engine, and then click Web Telephony Engine Administration Tool.
  2. Open the following node:
    Console Root\Web Telephony Engine\<array name>\Applications
  3. In the right pane, right-click the name of the application and select Properties from the pop-up menu.
  4. In the Properties menu, click the Advanced tab, and then click the Browser Download button. To see application images, uncheck the following check box in the Browser Download dialog box:
    Download Web page but do not display it.

    and check the following check box:

    Download images from the server.

    To see browser messages, uncheck the following check box:

    Do not display user interface.