We are developing a custom phone bar that uses the Genesys Cloud Embedded Framework integration for private use. We are following the documentation provided to carry out the developments.
We now have an issue with the consult transfer. We have used the consultTransfer action to start the consultative call and the concludeTransfer action to end the consultative call with the transfer. (https://developer.genesys.cloud/platform/embeddable-framework/actions/Interaction/Interaction.updateState#participantcontext_object)
However, we also need to know how to close only the consultative call in order to return to the original customer call.
Which action should be used in updateState? How can we perform this step?
window.PureCloud.Interaction.updateState ({
action: "",
id: "",
participantContext: {
transferTarget: "",
transferTargetType: ""
}
});
Of course we are talking about the instructions via javascript code.