Section II – Functional Modules > Dialog (Treatment) Interface > Relationship with the Media Resource Bottom of Page
| Genesys 8.0 SCXML Technical Reference
Phased Support >

## Relationship with the Media Resource

In addition to the dialog functional module interface that is used by the orchestration application to control the dialog application, there is the associated external protocol or interface which the resource running the dialog application must implement in order to properly communicate the coordination actions between the orchestration application and the dialog application. The documentation on this interface is in the Dialog Interface section.

#### Media Resource Addressing

The media resource addresses that are used in in the dialog interface actions must be known to the dialog functional module. In the case of the Genesys dialog functional module, they must be configured in the Genesys configuration layer. These addresses vary based on the type of media by means of which they communicate with the dialog application. For example, a voice platform has a directory or phone number, an agent desktop has an agent or client identifier, and a web platform has an IP address or host name. In an orchestration application, these resource addresses will be represented in the following formats:

- String or resource object — Voice-related media dialog application
- String or resource object — Agent desktop–related dialog application and web-related dialog application

#### Dialog Application Processing

Once the dialog application is started, there are two possible ways that the resource and the orchestration application can coordinate the running of the dialog application. The following diagrams will depict those possible ways.

##### Basic Processing

The basic processing sequence is where the application is started and then runs to completion.

###### Orchestration application initiated

###### Resource initiated

##### Termination Processing

Besides the basic termination processing (that is, the dialog application runs to completion), there is a sequence where the orchestration application can terminate the application prematurely. This can be used with dialog applications that have been started by the orchestration application or by the resource itself.

Section II – Functional Modules > Dialog (Treatment) Interface > Relationship with the Media Resource Top of Page
| Genesys 8.0 SCXML Technical Reference
Phased Support >