Session variables

Each CCXML session has a number of predefined variables associated with it that can be read by CCXML applications but cannot be changed directly by them:
Table 1. Session variables
Session Variable Name Description
session.startupmode A string indicating the mode in which the session was launched:
Value
Started by
newcall
A new incoming call.
external
An external launch request.
createccxml
A new session initiated by a <createccxml> element.
session.id Session identifier.
session.uri URI of the executing CCXML document.
session.parentid Session identifier of the CCXML document that lauched the executing CCXML document.
session.connections An array of the identifiers of the connection objects that the session is currently using. For example:
session.connections["evt.connectionid"]
would return the connection object for the current event.
session.dialogs An array of the identifiers of the dialog objects that the session is currently using. For example:
session.dialogs["evt.dialogid"]
would return the dialogs object for the current event.
session.conferences

Not implemented in Blueworx Voice Response

session.ioprocessors An array of the external event I/O access URIs that are available to the current session. For example:
session.ioprocessors["basichttp"] 
would return the access URI for the basichttp type event I/O processor.
session.values An array that contains a list of session parameters passed on session creation. For sessions created using the <createccxml> element, session.values contains variables passed using the parameters attribute of the <createccxml> element. Different mechanisms for populating this variable are defined by other session creation mechanisms.