Share via


Handling Client-Side Events

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.

Developers might want to associate event handlers with certain client-side events related to a QA control, such as when Speech Server does not detect recognition or when execution of a QA control is complete. Specify these event handler functions in the QA Property Builder.

Specifying Event Handlers

To specify event handlers associated with a QA control

  1. Right-click a QA control on an .aspx page, and then click Property Builder to open the General panel of the QA Property Builder.

  2. In the tree view pane on the left, click General under the Events.

  3. Type the names of event handlers for the listed events.

  4. Click Apply to save changes.

Responding to Client Disconnects

If Telephony Application Services is deployed on a system using an analog telephony card, user hang-ups might go undetected. In this case, the Speech Application Language Tags (SALT) application might continue repeating the dialog until the next process or application domain recycle. The ideal case is a scenario where the application monitors the number of attempts to get a successful recognition and terminates after that number is exceeded. Use the History property of the QA Client Object to see how many times the QA control has been activated on the client.

See Also

Other Resources

Design Dialog Flow
Create SALT Voice Response Application Projects
Events General Panel