MediaOptionsHelper

Class finesse.restservices.MediaOptionsHelper

Synchronizes media login options after recovering from a connection or system failure. This class ensures that when the Cisco Finesse server application fails over, it has the same maxDialogLimit, interruptAction, and dialogLogoutAction as the previous Cisco Finesse server.

Example

Code Snippet
Copy_optionsHelper = new MediaOptionsHelper(_media, _mediaOptions); 

Method

init(media, mediaOptions)

Initializes a helper class that is used to recover media objects following a connectivity failure or component failure. These failures may be related to either Cisco Finesse or Cisco Unified CCE services or both. Initializes the failover helper to manage the recovery of the given media object.

Parameters

Name

Type

Description

Required

media

Object

The media object to recover.

Yes

mediaOptions

Object

The options for the media object.

Yes

-->maxDialogLimit

String

The maximum number of dialogs that are allowed in the media.

For more information, see #reference_92F798C923D49AD508E7158E85E80AD5__d15e137.

Yes

-->interruptAction

String

The action that is taken when the media is interrupted. The actions are:

  • ACCEPT

  • IGNORE

For more information, see #reference_92F798C923D49AD508E7158E85E80AD5__d15e89.

Yes

-->dialogLogoutAction

String

The action taken with the dialogs that are associated with the media when the agent logs out. The actions are:

  • CLOSE

  • TRANSFER

For more information, see #reference_92F798C923D49AD508E7158E85E80AD5__d15e43.

Yes