Hello Eric,
You can create an action similar to this that will loop the same script until the Interaction State is connected, and then open the URL.
I generally use {{Scripter.Raw Interaction State}}, since if you have agents using different languages on their UI {{Scripter.Interaction State}} will be translated to the agents UI language. If I remember correctly it gives the state in small letters, but you can test it by having it show in the script.
------------------------------
Jan Heinonen
Contact Center Specialist
GlobalConnect AB
------------------------------
Original Message:
Sent: 05-01-2024 09:21
From: Eric Berkshire
Subject: Determine call connect event on a script.
Thanks, Muhammad. I'll give that a shot.
------------------------------
Eric Berkshire
New American Funding, LLC
Original Message:
Sent: 04-30-2024 17:49
From: Muhammad Zubair Awan
Subject: Determine call connect event on a script.
Hi Eric
Why don't you use built in script variable {{Scripter.Interaction State}}
to determine the call state?
------------------------------
Cheers
Zubair
Original Message:
Sent: 04-24-2024 13:12
From: Eric Berkshire
Subject: Determine call connect event on a script.
Hi all,
I'm currently trying to pop our crm when a call gets connected from a script. We have an internal group who receives calls from people in both outbound and inbound queues. They are not set to auto answer. I'm wanting to pop the page with the customer information, but only after the agents have clicked answer.
My current approach is to have a custom action with a delay that calls itself if the call's state isn't connect until the alerting timeout value. Each pass it checks calls a data action for GET /api/v2/conversations/calls/{conversationId} that gets the last participant in the translation map. While this is working in testing, I'm worried there are scenarios where the above approach may fail since I'm not actually checking for the specific participant but assuming it's the last one.
Does anyone have a better approach for this use case?
Thanks,
Eric
#Integrations
#Unsure/Other
------------------------------
Eric Berkshire
New American Funding, LLC
------------------------------