Platform SDK: Web Telephony Engine |
An application may need to perform an operation, such as a database request, that can take several seconds or longer to complete. For lengthy operations that involve navigation, Web telephony can play background music or make regular announcements to let callers know that they haven't been forgotten. The NavigationAnnouncement property on the WTEApplication object provides this capability. The property specifies either a text string or wave file that Web telephony plays repeatedly until the navigation ends. You can set the NavigationAnnouncement property either programmatically or through the WTE administration tool.
Most lengthy operations involve some sort of navigation. For example, to perform a database request, an application typically uses an HTML page that contains a <FORM> element for gathering request data. The application then submits the data to an ASP page that performs the request and later returns with the answer. If the application's NavigationAnnouncement property is set, Web telephony starts playing the specified text string or wave file when navigating to the ASP page, and stops when the page returns with the requested item, ending the navigation.