Page 1 of 1

external_hangup returning SUCCESS but doesnt actually hangup

PostPosted: Thu May 04, 2017 4:56 pm
by ccabrera
Hello,

One of my clients is using Vicibox 7.0.3 with current Vicidial trunk code. He mostly uses the API to trigger events from his CRM (custom made), so when his CRM sends the external_hangup function, he receives a SUCCESS (which I can confirm through the vicidial_api_log table), but the call never hangs up.

This happens from time to time. I would say about 3% of the calls.

The last time this occurred, I search the vicidial_live_agents table and noticed that even though I see a SUCCESS in the api_log, the external_hangup field was at 0. As soon as I changed it to 1, the call did hangup.

So long story short: looks like the api_log returns a SUCCESS message but is not actually updating the correct table.

Load is low. Only 15 agents online. His hardware meets the requirements for an install of this size. But still, this problem happens.

Any ideas on where to look for answers?

Re: external_hangup returning SUCCESS but doesnt actually ha

PostPosted: Thu May 04, 2017 5:04 pm
by mflorell
vicidial.php version and build?

Turn on Agent Screen Debug Logging if you want to debug this, there is a viewer for it in the Admin Utilities section.

As for the SUCCESS message, that really just means that it was successfully received and that the agent screen should be able to execute it if it is operating properly.

Re: external_hangup returning SUCCESS but doesnt actually ha

PostPosted: Thu May 04, 2017 5:35 pm
by ccabrera
VERSION: 2.14-614a
BUILD: 170430-1001

I´ve turned the logging on. Maybe tomorrow I´ll have an incident to look at.