CCXML 1.0-W3C Development GuideHome  |  Frameset Home

  Connection Event Field Listing  |  TOC  |  Miscellaneous Event Field Listing  

Dialog Event Field Listing

DIALOG.STARTED

Whenever a VoiceXML dialog has been successfully loaded and is ready for execution, this event will be thrown to indicate that the dialog has been started.

field namedata typesummary
namestringdialog.started
dialogidstringDefines the ID of the dialog
dialogECMAScript ObjectAn ECMAScript object reference to the dialog object identified by the 'dialogid' property of this event.
connectionidstringContains the identifier of the connection that the dialog connection is bridged to,(usually the connectionid that was specified in dialogstart or dialogprepare).
conferenceidstringContains the identifier of the conference that the dialog connection is bridged to, (usually the conferenceid that was specified in dialogstart or dialogprepare).
eventidstringDefines the unique identifier for the event. If the event was generated via a <send> request, then this value will match the 'sendid' value.
eventsourcestringThis value will contain the dialog I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event. Note that this will always be set to 'dialog'.



DIALOG.EXIT

This event is thrown when a dialog has been terminated either via programmatic means, (ie via the invocation of a <dialogterminate> element), or if the VoiceXML dialog exits when the form interpretation algorithm dictates that no further execution can be performed. Note that if both occur at once, then there will be no chance of this event being thrown twice.

field namedata typesummary
namestringdialog.exit
dialogidstringDefines the ID of the dialog
dialogECMAScript ObjectAn ECMAScript object reference to the dialog object identified by the 'dialogid' property of this event.
connectionidstringContains the identifier of the connection that the dialog connection is bridged to,(usually the connectionid that was specified in dialogstart or dialogprepare).
conferenceidstringContains the identifier of the conference that the dialog connection is bridged to, (usually the conferenceid that was specified in dialogstart or dialogprepare).
values.*ECMAScript ObjectContains the return values from the VoiceXML dialog, (the values of each of the objects listed in the <exit> element's 'namelist' attribute.
eventidstringDefines the unique identifier for the event. If the event was generated via a <send> request, then this value will match the 'sendid' value.
eventsourcestringThis value will contain the dialog I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event. Note that this will always be set to 'dialog'.



DIALOG.DISCONNECT

This event is indicative of a  directive by a dialog to disconnect the conference, or connection, that is currently active. Note that such an event does not inherently imply that the connection will be broken; a handler for this  event must manually disconnect the connection via programmatic means.

field namedata typesummary
namestringdialog.disconnect
dialogECMAScript ObjectContains an ECMAScript object reference to the dialog object identified by the 'dialogid' property of the event.
dialogidstringDefines the ID of the dialog
connectionidstringContains the identifier of the connection that the dialog connection is bridged to,(usually the connectionid that was specified in dialogstart or dialogprepare).
conferenceidstringContains the identifier of the conference that the dialog connection is bridged to, (usually the conferenceid that was specified in dialogstart or dialogprepare).
values.*ECMAScript ObjectContains the return values from the VoiceXML dialog, (the values of each of the objects listed in the <exit> element's 'namelist' attribute.
eventidstringDefines the unique identifier for the event. If the event was generated via a <send> request, then this value will match the 'sendid' value.
eventsourcestringThis value will contain the dialog I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event. Note that this will always be set to 'dialog'.



DIALOG.TRANSFER

The 'dialog.transfer' event will be thrown when the interpreter receives a request to transfer the conference or connection that it is currently associated with to a new destination. When this event is thrown, it does not imply that the connection or conference is automatically transferred; the action to take is determined via programmatic means. One must trap this event, and then initiate a <redirect>, <createcall>, to do anything useful, (or one could simply ignore the event altogether).

field namedata typesummary
namestringdialog.transfer
dialogECMAScript ObjectContains an ECMAScript object reference to the dialog object identified by the 'dialogid' property of the event.
dialogidstringDefines the ID of the dialog
connectionidstringContains the identifier of the connection that the dialog connection is bridged to,(usually the connectionid that was specified in dialogstart or dialogprepare).
conferenceidstringContains the identifier of the conference that the dialog connection is bridged to, (usually the conferenceid that was specified in dialogstart or dialogprepare).
URIvalid URIContains the URI describing the destination to which the call is to be transferred to.
values.*ECMAScript ObjectContains the return values from the VoiceXML dialog, (the values of each of the objects listed in the <exit> element's 'namelist' attribute.
maxtimestringContains a string in CSS2 format that specifies the maximum amount of time the transfer may stay connected. If the amount of time is to be unlimited, then the value will be defined as 0s.
connecttimeoutstringContains a string in CSS2 format which specifies the maximum amount of time to spend when attempting to connect the call.
aaistringContains a string of application-to-application data to be passed to the destination party when establishing the transfer.
eventidstringDefines the unique identifier for the event. If the event was generated via a <send> request, then this value will match the 'sendid' value.
eventsourcestringThis value will contain the dialog I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event. Note that this will always be set to 'dialog'.



DIALOG.TERMINATETRANSFER

This event indicates that a request to terminate an ongoing transfer has been received from the VoiceXML dialog due to hotword recognition. When this event is thrown, it does not imply that the connection or conference is automatically terminated; the action to take is determined via programmatic means, such as returning the media stream of the original call to the dialog using the <join> element.


field namedata typesummary
namestringdialog.terminatetransfer
dialogECMAScript ObjectAn ECMAScript object reference to the dialog object identified by the 'dialogid' property of this event.
dialogidstringDefines the ID of the dialog
connectionidstringContains the identifier of the connection that the dialog connection is bridged to,(usually the connectionid that was specified in dialogstart or dialogprepare).
conferenceidstringContains the identifier of the conference that the dialog connection is bridged to, (usually the conferenceid that was specified in dialogstart or dialogprepare).
reasonstringContains a description of the reason that the dialog wants the transfer to terminate.
eventidstringDefines the unique identifier for the event. If the event was generated via a <send> request, then this value will match the 'sendid' value.
eventsourcestringThis value will contain the dialog I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event. Note that this will always be set to 'dialog'.



DIALOG.USER.*

This event is only thrown upon a user-defined dialog event being thrown to the CCXML interpreter, where '*' is the name of the user-defined event.


field namedata typesummary
namestringdialog.user.* (where '*' is the user event name)
dialogECMAScript ObjectAn ECMAScript object reference to the dialog object identified by the 'dialogid' property of this event.
dialogidstringDefines the ID of the dialog
connectionidstringContains the identifier of the connection that the dialog connection is bridged to,(usually the connectionid that was specified in dialogstart or dialogprepare).
conferenceidstringContains the identifier of the conference that the dialog connection is bridged to, (usually the conferenceid that was specified in dialogstart or dialogprepare).
values.*ECMAScript ObjectContains the return values from the VoiceXML dialog, (the values of each of the objects listed in the <exit> element's 'namelist' attribute.
eventidstringDefines the unique identifier for the event. If the event was generated via a <send> request, then this value will match the 'sendid' value.
eventsourcestringThis value will contain the dialog I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event. Note that this will always be set to 'dialog'.



DIALOG.PREPARED

When a <dialogprepare> directive is executed properly, this event will be thrown when thre CCXML 1.0 interpreter has determined that the VoiceXML dialog is ready for execution, (via a subsequent <dialogstart>, in most cases).


field namedata typesummary
namestringdialog.prepared
dialogECMAScript ObjectAn ECMAScript object reference to the dialog object identified by the 'dialogid' property of this event.
dialogidstringDefines the ID of the dialog
connectionidstringContains the identifier of the connection that the dialog connection is bridged to,(usually the connectionid that was specified in dialogstart or dialogprepare).
conferenceidstringContains the identifier of the conference that the dialog connection is bridged to, (usually the conferenceid that was specified in dialogstart or dialogprepare).
eventidstringDefines the unique identifier for the event. If the event was generated via a <send> request, then this value will match the 'sendid' value.
eventsourcestringThis value will contain the dialog I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event. Note that this will always be set to 'dialog'.










  ANNOTATIONS: EXISTING POSTS
0 posts - click the button below to add a note to this page

login
  Connection Event Field Listing  |  TOC  |  Miscellaneous Event Field Listing  

© 2008 Voxeo Corporation  |  Voxeo IVR  |  VoiceXML & CCXML IVR Developer Site