Hello,
I am encountering a problem with some logs in the interaction payload. I am doing a private Genesys Cloud integration and i'm trying to make a consult this way:
const payload = {
action: "consultTransfer",
id: localStorage.getItem("firstCallId"),
participantContext: {
transferTarget: phone,
transferTargetType: "address"
}
};
document.getElementById("softphone").contentWindow.postMessage(
JSON.stringify({
type: 'updateInteractionState',
data: payload
}),
"*"
);
And this works, the problem stands when trying to see the logs of the consult, it only shows me the first caller and not the second caller(the consulter). i use this to check every single interaction log: document.getElementById("interactionSubscriptionPayload").value.
But for some reason when entering a consult it doesn't change like it usually does. Is the "consultTransfer" not considered an interaction? if so, how can i get the logs for the "consultTransfer"?
Another problem of mine is i put in the action "concludeTransfer" it works, completely fine, so i disconnect from both the calls and they will still be in a call togheter. the problem is when trying to return to the first caller and disconnect from the second caller(the consulter). The only option i have seen to cancel the consult, is by manually clicking the agent and then disconnect. the problem is that i'm trying to make an application with just buttons and spans, without the agent seeing this:
If anyone has any solution is appriciated!!
Thank you in advance!