CCXML 1.0-W3C Development GuideHome  |  Frameset Home

  Miscellaneous Event Field Listing  |  TOC  |  Sending Custom Events  

Error Event Field Listing



Conference Errors



ERROR.CONFERENCE.CREATE

This error event will be thrown when a problem occurs when a conference creation has failed, thereby implying that the Conference Object was not created.

field namedata typesummary
namestringerror.conference.create
conferenceidstringContains the ID of the conference that has encountered the error.
reasonstringContains descriptive text explaining why the error occurred.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



ERROR.CONFERENCE.DESTROY

This event is indicative of a <destroyconference> action that failed to process. There are several reasons why this could occur, and additional details can be found on a per-case basis by referencing the 'reason' method detailed below.

field namedata typesummary
namestringerror.conference.destroy
conferenceidstringContains the ID of the conference that has encountered the error.
reasonstringContains descriptive text explaining why the error occurred.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



ERROR.CONFERENCE.JOIN

This error event getting generated is a result of a failed <join> operation. The cause of the error can be determined by accessing the 'reason' property, listed below.

field namedata typesummary
namestringerror.conference.join
conferenceidstringContains the ID of the conference that has encountered the error.
reasonstringContains descriptive text explaining why the error occurred.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



ERROR.CONFERENCE.UNJOIN

This error event will occur when an <unjoin> operation fails for any reason. The root cause of the failure is available by accessing the 'reason' property within the handler.

field namedata typesummary
namestringerror.conference.unjoin
conferenceidstringContains the ID of the conference that has encountered the error.
reasonstringContains descriptive text explaining why the error occurred.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



ERROR.CONFERENCE

This error event will occur when an error occurs on a conference that a session is linked to, and indicates the end of a conference. Note that this event precludes the need for the developer to manually kill the conference via the <destroyconference> element.

field namedata typesummary
namestringerror.conference
conferenceidstringContains the ID of the conference that has encountered the error.
reasonstringContains descriptive text explaining why the error occurred.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



Connection Errors


ERROR.CONNECTION

This event can occur due to a number of reasons, and at it's most basic, this event signifies an element cannot be executed due to the current call state is invalid for a given element. For instance, attempting to execute an <accept> directive on a call that is already in the 'connected' state is quite obviously improper, and would result in a ‘error.connection.wrongstate’ event being thrown. When a 'error.connection' event occurs, no further events, including events for any requests that are pending, will be thrown in the execution context, as the call state has rendered the connection unusable.

field namedata typesummary
namestringerror.connection
connectionidstringDenotes the ID of the connection that is associated with the event.
protocolstringContains the platform protocol ID of the Connection protocol.
reasonstringContains descriptive text explaining why the error occurred.
infoECMAScript ObjectContains the object which provides additional data on the connection error.
connectionECMAScript ObjectContains an ECMAScript object reference to the Connection object that is identified by the 'connectionid' property of the event.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



ERROR.CONNECTION.WRONGSTATE

The 'error.connection.wrongstate' event is only generated when, well, when the developer messed up his or her CCXML 1.0 logic. This signifies that an element has been specified that is not allowed to execute due to the current state of the Connection Object, such as when we attempt to <accept> a call that is already in the 'connected' state. Developer should take note of the fact that the Connection Object state is only as current as the event currently being processed, and might not neccessarily reflect events that are in queue, or even other events that occur before the request generated by an element has processed. As a direct result, bear in mind that not all failures caused by the state of the actual connection will result in an 'error.connection.wrongstate' event.

field namedata typesummary
namestringerror.connection.wrongstate
connectionidstringContains the ID of the connection associated with the event.
protocolstringContains the platform protocol ID of the Connection protocol.
reasonstringContains descriptive text explaining why the error occurred.
infoECMAScript ObjectContains the object which provides additional data on the connection error.
connectionECMAScript ObjectContains an ECMAScript object reference to the Connection object that is identified by the 'connectionid' property of the event.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.
tagnamestringThis property is set to the ECMAScript string value of the name of the element that produced the error.



Dialog Errors


ERROR.DIALOG

The 'error.dialog' event will only be thrown when an unspecified error occurs within the invoked dialog. As a result of this event being thrown, the CCXML 1.0 platform will destroy exsiting conference bridges to the dialog, and will then throw a 'conference.unjoined' event to the interpreter.

field namedata typesummary
namestringerror.dialog
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).
reasonstringContains descriptive text explaining why the error occurred.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



ERROR.DIALOG.NOTSTARTED

In the event that a dialog resource cannot be loaded, this event will be thrown to notify the CCXML 1.0 application that a problem has been detected. The specific cause of the dialog not starting is available by accessing the 'reason' field, which is listed below.

field namedata typesummary
namestringerror.dialog.notstarted
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).
reasonstringContains descriptive text explaining why the error occurred.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



ERROR.DIALOG.NOTPREPARED

If a <dialogprepare> directive fails to properly prepare the VoiceXML dialog for execution, then this event will be generated as a notification. As with similar events of this nature, the specific cause of the failure can be determined by accessing the 'reason' field, listed below.

field namedata typesummary
namestringerror.dialog.notprepared
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.
reasonstringContains descriptive text explaining why the error occurred.


Miscellaneous Errors


ERROR.FETCH

The 'error.fetch' event is thrown when a fetch operation fails to complete successfully. The 'reason' field will usually hold specific information that details the cause of the problem in greater detail.

field namedata typesummary
namestringerror.fetch
fetchidstringContains the unique fetch identifier for the fetch attempt.
reasonstringContains descriptive text explaining why the error occurred.
statuscodeintContains the numeric HTTP status code of the HTTP <fetch>request that failed.
uriLists the URI of the resource that was fetched. Note that if the fetch resulted in one or more HTTP redirects (e.g. 302), then the value of this property is set to the final target URI.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.


ERROR.CREATECCXML

This event will be generated when a <createccxml> request fails. Note that this event is delivered to the document that originally issued the request.

field namedata typesummary
namestringerror.createccxml
sessionidstringContains the identifier of the CCXML session that failed. This is the same identifier as was returned on the relevant 'sessionid' attribute of the <createccxml request that created the session.
reasonstringContains descriptive text explaining why the error occurred.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



ERROR.UNSUPPORTED

The 'error.unsupported' event is indicative of the developer specifying an application-scoped action that is unsupported by the CCXML 1.0 platform. Seeing this usually means that there is a typo in the code, or that some misinterpretation of what is, and is not supported has occurred.

field namedata typesummary
namestringerror.unsupported
reasonstringContains descriptive text explaining why the error occurred.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



ERROR.NOTALLOWED

This event is thrown only when the execution of an element results in an invalid operation to be executed on a session/connection.

field namedata typesummary
namestringerror.notallowed
sessionidstringContains the unique ID of the affected session that encountered the error.
reasonstringContains descriptive text explaining why the error occurred.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



ERROR.SEMANTIC

The 'error.semantic' event is the result of improper application code, such as improper ECMAScript, or an incorrect datatype being specified in an element of attribute.

field namedata typesummary
namestringerror.semantic
reasonstringContains descriptive text explaining why the error occurred.
tagnamestringThis property lists the ECMAScript string value of the name of the element that produced the error.
attributelistECMAScript Objectthis property is set to an object whose properties are the names of the attributes of the element that caused the error. The value of each attribute property is the corresponding string value of the 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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



ERROR.SEND.TARGETUNAVAILABLE

In the event that a directive to <send> an event to a session that results in the target being unavailable for any reason, a 'error.send.targetunavailable' will be thrown to the CCXML 1.0 interpreter.

field namedata typesummary
namestringerror.send.targetunavailable
sendidstringContains the unique ID of the event that encountered the error.
reasonstringContains descriptive text explaining why the error occurred.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



ERROR.SEND.TARGETTYPEINVALID

An 'error.send.targettypeinvalid' event will only be thrown when the I/O processor specified in the <send> element cannot receive the inbound connection request.

field namedata typesummary
namestringerror.send.targettypeinvalid
sendidstringContains the unique ID of the event that encountered the error.
reasonstringContains descriptive text explaining why the error occurred.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



ERROR.SEND.FAILED

In the event that a <send> event is not received by the target, then this error will be thrown, indicating that the message was not received.

field namedata typesummary
namestringerror.send.failed
sendidstringContains the unique ID of the event that encountered the error.
reasonstringContains descriptive text explaining why the error occurred.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.



ERROR.MOVE

Should a <move> request fail to complete successfully, this event will be generated and indicates that a problem occurred, and that the session has not been moved as directed.

field namedata typesummary
namestringerror.move
sourceidstringContains the unique ID of the event source referenced, either directly via the 'source' attribute, or indirectly via the event attribute of the <move> element.
sessionidstringContains the ID of the target session to which it was attempted to move the event source.
reasonstringContains descriptive text explaining why the error occurred.
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 CCXML 1.0 I/O Processor that sent the event.
eventsourcetypestringThis defines the name of the Event I/O Processor that sent the event.






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

login
  Miscellaneous Event Field Listing  |  TOC  |  Sending Custom Events  

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