/mcpRequired Description Type Name Yes The script selector or dialed number to which the dialog is being transferred. Pass the target as null if the task is not related to transfer. String target transfer(target, handlers) Transfers a media dialog to the specified target. Required Description Type Name Yes The script selector or dialed number to which the dialog is being transferred. String target Yes An object containing the handlers for the request. For more information on handlers, see Request Handlers, on page 447. Object handlers MediaDialog.States Class finesse.restservices.MediaDialog.States Contains the various states in a non-voice media dialog. This can be used to compare the state of the non-voice media dialog, got from the method finesse.restservices.MediaDialog.getState. Field Details Description Field The user accepted the offered dialog. ACCEPTED The dialog has at least one active participant and the user has started working on the accepted dialog. ACTIVE The dialog is ended. CLOSED The dialog is interrupted by a dialog from another MRD. INTERRUPTED The dialog is offered to a user. OFFERED The user has paused an active dialog. PAUSED The Cisco Finesse server or PG has recovered a dialog after a failure. It does not have enough information to build a complete set of actions for the task; so it only allows the user to end the task. UNKNOWN The user is wrapping up for a dialog. WRAPPING_UP Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 502 Cisco Finesse JavaScript APIs MediaDialog.States