Platform SDK: Web Telephony Engine |
The AlternativePhrases property of the ExOM object represents an array (possibly containing a single item) of the phrases returned by the SR engine. This is a read-only property. This property is valid only when invoked from the event handler for the onselectionerror event, when the event is fired before the SR confirmation menu is rendered. The AlternativePhrases property is not valid when the onselectionerror event is fired due to a selection error by the caller. An application can offer any specific confirmation menu based on the phrases contained inside this property, and disable the default confirmation menu by setting the returnValue property of External.Event to FALSE:
<script For=MenuOwner Event=OnSelectionError> External.Event.returnValue = False </script>.