| connection property | required? | summary |
connectionid | true | Contains an ECMAScript string that evaluates to a Connection Identifier value, which in turn identifies each instance of the Connection object. |
state | true | Contains the current state of the Connection instance, (connection.*) |
substate | false | Contains a protocol-dependent property that allows further refinement of the state of a Connection. |
dialogid | false | Contains the identifier of any dialogs that are active in the current session. |
local | false | Contains a URI value that addresses the interpreter platform: For an inbound call, this is the called URI. For a redirected inbound call, this is also the most recent redirection, and any prior values will be contained in the "redirect" property. For an outbound call, this is the calling URI. |
remote | false | Contains a URI value that addresses the interpreter platform: For an inbound call, this is the called URI. For a redirected inbound call, this is also the most recent redirection, and any prior values will be contained in the "redirect" property. For an outbound call, this is the calling URI. |
protocol | false | Contains a reference to the Object that defines the protocol used on the active connection. The Object defines data that is applicable to all connections that use the protocol, which contains the following properties:
- name: the name of the connection protocol
- version: the version of the connection protocol
|
redirect | false | This property is an array representing the connection redirection paths, where applicable, ie: connection.redirect[*]. The last element in the array contains the most recent redirect value, whereas the first array contains the original number.
Each element also defines the following properties:
- connection[connid].redirect[0].uri: The element's path. This is the "original request", where as connection[connid].local is the final destination
- connection[connid].redirect[0].reason: This is not fully implemented, and will always evaulate to 'unknown'.
- connection[connid].redirect[0].pi: This is not fully implemented, and will always evaulate to ''
- connection[connid].redirect[0].si: This is not fully implemented, and will always evaulate to ''
|
originator | false | The value of this method indicates the originator of the connection: For inbound calls, the value is set to "remote", and for an outbound call, this is set to "local". |
input (not currently supported) | true | Contains the identifier, (connectiondid/conferenceid/dialogid) of the single media endpoint (connection, dialog or conference) providing the input stream, if any. If there is no input stream, then the value will be set to "undefined". This property MUST be updated each time a media operation changes the media source to an endpoint, (such as a <join>, or <unjoin> operation).
|
outputs (not currently supported) | true | An array containing the identifiers of all media endpoints to which the output stream of a media endpoint is sent. If the media endpoint does not have any media destinations the length of the array will be set to "0". |
|
| dialog property | required? | summary |
dialogid | true | Contains the identifier of any dialogs that are active in the current session. |
connectionid | false | Contains the identifier of the connection that is driving a media stram to the dialog, (if any are active). |
conferenceid | false | Contains the identifier of the conference that is driving a media stram to the dialog, (if any are active). |
type | true | Contains an ECMAScript string value that defines the MIME type of the document that loaded the dialog. |
src | true | Contains an ECMAScript string that denotes the inittial URL of the dialog. |
input | true | Contains the identifier, (connectiondid/conferenceid/dialogid) of the single media endpoint (connection, dialog or conference) providing the input stream, if any. If there is no input stream, then the value will be set to "undefined". This property MUST be updated each time a media operation changes the media source to an endpoint, (such as a <join>, or <unjoin> operation).
|
outputs | true | An array containing the identifiers of all media endpoints to which the output stream of a media endpoint is sent. If the media endpoint does not have any media destinations the length of the array will be set to "0". |