Hi Muhammed,
I've never implemented something like that myself. Out of the box there is no way to do this, you would need some serious development work to get that working.
My idea that could potentially work is that you have a script with two pages. This will pop up to the agents regardless of whether they are answering it or not (the behaviour you are trying to avoid). On the first page, there is a single button. This button will map to a data action that you have created, that maps to the
post /api/v2/conversations/calls/{conversationId}/participants/{participantId}/replace API. The idea of this button is that the agent will answer the Interaction with this button.
Then, on your Script, you have a Boolean variable set to False by default. You then have an action set up to set this to true when the button is answered. You then have another action on your script that looks for your True/False boolean variable to be set to true, and if it is, then change page to the Script page with the customer details etc.
Once the button is clicked, the Interaction is answered, then your boolean is set to true, and this true triggers a page change to open your customer details.
Best of luck with this build, it's a really interesting one to develop.
------------------------------
Martin Boyle
x
------------------------------