External_hangup hangs up incoming call

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

External_hangup hangs up incoming call

Postby greg.gum@gmail.com » Thu Jan 05, 2023 7:13 pm

I am having an issue with terminating an existing call for an agent, so that the agent can pick up an incoming call which is in a queue.

Here is the setup:

The agent is on an outbound call. He then sees a call come into a queue in VICI and wants to take the call. But he has to get off the current call before he can take the new call.

So he clicks a button in our CRM, which sends an "external_hangup" API call to the VICI server. This works to hang up the call as expected.

The agent then pick up the incoming call fractions of a second later from the queue. The call is then connected, but fractions of a second later, the call is hung up.

I think what is happening is that there is a delay in processing the external_hangup function. So the agent has already picked up the new call, and then both calls get terminated at the same time.

What can be done to resolve this?
greg.gum@gmail.com
 
Posts: 1
Joined: Thu Jan 05, 2023 4:32 pm

Re: External_hangup hangs up incoming call

Postby mflorell » Thu Jan 05, 2023 8:07 pm

You have to add a delay after agent API commands before allowing other subsequent commands. All the API does is send a command from the webserver to the agent screen, the agent screen can take up to a second to execute the command, you have to allow at least 1 second for that command to be executed before you let anything else happen.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 108 guests