Vidhi Shah wrote:Hi Guys,
We also have this type of issue, where an agent gets connected to two calls at same time but one is inbound and other is outbound in most of the cases.
I am not sure if this is due to overload, How can I check? (Sorry have no idea how to work with asterisk).
Thanks in advance.
Check the average server load on the servers (via uptime or htop). Particularly the DB server. DURING the event (not 10 minutes later, lol).
Also check to see if there are slow queries bogging down mysql and the mysql variables that track failures. See if those are incrementing higher during these events. You may be hitting an artificial mysql or OS configuration barrier/limit.
Ensure your Database server and other Vicidial servers are sharing a Gigabit local network that's clean and unobstructed (no dropped or delayed packets, preferably no firewall).
Log the events to begin a pattern recognition possibility. Number of Live agents (and on each server), live calls, ringing calls, inbound calls in queue, etc. Eventually you may find that it happens when specific conditions are met and then you may get an idea of where to search.
Alternately, if you can identify which call was routed incorrectly, you can follow the logs for that specific call to find where the logic failed and the call was sent to the wrong place. Every time we've chased this down, it's been due to an overloaded database server not able to respond quickly to a request and resulting in bad information being returned.