Section II – Functional Modules > Voice Interaction Interface > Object Model Bottom of Page
| Genesys 8.0 SCXML Technical Reference
Functions >

## Object Model

#### _genesys.FMname Object

There are no properties at this time.

#### voice Object

The following is the ECMAScript object which contains the interaction extensions for voice-related interactions. This object is accessible through the _genesys.FMname.interactions[].voice property. These properties can be dynamically accessed using the following format: _genesys.FMname.interactions[x].[_genesys.FMname.interactions[x].category].xxx. They are also accessible via actions or events.

The following are the voice extension properties of the interaction object.

Name | Access | Type | Default Value | Valid Values | Description
--- | --- | --- | --- | --- | ---
type | read only | string | none | unknown, internal, inbound, outbound, consult, callback | This is the origin type of the interaction.
media | read only | string | none | The following properties from _genesys.ixn.mediaType object: TMediaAny, TMediaCallback, TMediaOutboundPreview, TMediaVideo, TMediaVMail, TMediaVoice, TMediaVoIP | This is the originating media type of the interaction.
ani | read only | string | none |  | This is the ANI associated with the calling party.
dnis | read only | string | none |  | This is the DNIS associated with phone number that the customer called.
ced | read only | string | none |  | This is the last set of digits collected from the caller.
acdq | read only | string | none |  | This is the ACD queue that this interaction is or was queued in.
callid | read only | string | none |  | This is the callid created by the switch.
connid | read only | string | none |  | This is the connection ID generated for this interaction by the underlying media system (that is, T-Server).

#### voicep Object

The following are the voice-specific values for the party object.

Name | Access | Type | Default Value | Valid Values | Description
--- | --- | --- | --- | --- | ---
state | read only | string | none | null initiated alerting connected hold queued fail | This is the state of the party in relationship to the interaction.

#### _genesys.voice.overwriteType ENUM Object

This represents the DNIS overwrite type enumeration. This enumeration is maintained by the orchestration platform.

This is the set of properties for the object:

Name | Access | Type | Default Value | Valid Values | Description
--- | --- | --- | --- | --- | ---
UseNone | read only | integer | none | 0 | Use nothing to overwrite the DNIS.
UseANI | read only | integer | none | 1 | Use the ANI value to overwrite the DNIS.
UseDNIS | read only | integer | none | 2 | Use the DNIS value to overwrite the DNIS.
UseConfig | read only | integer | none | 3 | Use a configuration value to overwrite the DNIS.
UseValue | read only | integer | none | 4 | Use the supplied value to overwrite the DNIS.

#### Object Ownership

The ownership policies are the same as for the Interaction interface. For details, see the Object Ownership section for the Interaction interface.

Section II – Functional Modules > Voice Interaction Interface > Object Model Top of Page
| Genesys 8.0 SCXML Technical Reference
Functions >