Dropped Calls
Posted: Thu Mar 28, 2013 4:58 pm
I installed using ViciBox_Redux.x86_64-3.1.14 ISO
VERSION: 2.4-351a
BUILD: 111223-0043
Asterisk version 1.4.21.2
Dell R410s (quad core Xeon) with 8 GB RAM and USB Sangoma Voicetime Wanpipes
I have a cluster of one database server (HA/Failover), 3 Dialer servers, and 4 Webserver VMs (LB)
The database server is Ubuntu with MySQL 5.1.41-3ubuntu12.6-log (Dell R410 Perc5i Raid 1 SATA 7200RPM (yeah I know...working on this), all others are ViciBox
I also use Sangoma CPA software
Hello All,
I was wondering if there is a way to see why a called was dropped or what happened with a dropped call.
Situation:
A few days ago it was brought to my attention that our dialing team was having an issue keeping dropped calls under control. As I watched the dashboard, every so often I would see 10-15 calls queue up and wait, and then all of them would get dropped. I was also told that the agents were getting messages on their screen saying "Your session has been paused". This led me to the database where, as it turns out, there was major locking on the vicidial_list table (according to mtop) correlating to when the calls would get queued up and dropped. I eventually tracked it down to one of our database guys who was inserting fresh leads every 15 minutes in a very non-indexish sort of way so he revised his query and everything seemed smooth for the rest of the day.
The next day, everything seemed to be going fine at first, and when I looked back at the dropped calls around noon, it was already at about 50 which seemed higher than usual. I checked the slow query log, and didn't find any extraneous locking. There's no extra database jobs running in the morning specifically. Yesterday I noticed the same exact thing, near the same exact time, with nothing out of the ordinary in slow query log etc. It only seems to occur in the morning, and then the rest of the day seems okay (some dropped calls here and there but not in excess). There are no cron jobs that run at that time (vicidial or otherwise), back-ups are long done by this point, there aren't any more agents on at that time than any other (about 15-20).
I'm sort of at a loss for why this is occurring, which is why I was wondering if there's a way of seeing why a call gets dropped. I'm also seeing some calls getting dropped with agents available, which concerns me.
Some more info:
Usually about 15-20 agents @ around 2:1
vicidial_list has about 5.5 million records
I did set up the cron script to archive the prescribed tables now (keeping 6 months worth)
Moved most ViciDial built-in reporting to the slave DB
Using an AS5400 series router as a gateway tied to a TW Telecom DS3, with Velocity true VoIP as backup
They stay under the Federal mandatory 3% drop percentage, but it means cutting the dial ratio back and agents waiting for long periods of time. We seem to have, on average, about 100 dropped calls per day, IDK if this is high or not. Here are some stats from Outbound Calling Report for today:
---------- CALL HANGUP REASON STATS
+----------------------+------------+
| HANGUP REASON | CALLS |
+----------------------+------------+
| CUSTOMER | 7746 |
| AGENT | 7974 |
| QUEUETIMEOUT | 76 |
| ABANDON | 2 |
| NO ANSWER | 3593 |
+----------------------+------------+
| TOTAL: | 19391 |
+----------------------+------------+
I assume the 76 QUEUETIMEOUTS + 2 ABANDONS make up my 78 dropped calls for the day. Is this telling me that 76 people were actually dropped because they waited the 2 seconds before being dropped? That would seem high, especially because like I said, I keep seeing the dropped calls count increasing when agents are in ready.
Any help would be greatly appreciated. Thanks!
VERSION: 2.4-351a
BUILD: 111223-0043
Asterisk version 1.4.21.2
Dell R410s (quad core Xeon) with 8 GB RAM and USB Sangoma Voicetime Wanpipes
I have a cluster of one database server (HA/Failover), 3 Dialer servers, and 4 Webserver VMs (LB)
The database server is Ubuntu with MySQL 5.1.41-3ubuntu12.6-log (Dell R410 Perc5i Raid 1 SATA 7200RPM (yeah I know...working on this), all others are ViciBox
I also use Sangoma CPA software
Hello All,
I was wondering if there is a way to see why a called was dropped or what happened with a dropped call.
Situation:
A few days ago it was brought to my attention that our dialing team was having an issue keeping dropped calls under control. As I watched the dashboard, every so often I would see 10-15 calls queue up and wait, and then all of them would get dropped. I was also told that the agents were getting messages on their screen saying "Your session has been paused". This led me to the database where, as it turns out, there was major locking on the vicidial_list table (according to mtop) correlating to when the calls would get queued up and dropped. I eventually tracked it down to one of our database guys who was inserting fresh leads every 15 minutes in a very non-indexish sort of way so he revised his query and everything seemed smooth for the rest of the day.
The next day, everything seemed to be going fine at first, and when I looked back at the dropped calls around noon, it was already at about 50 which seemed higher than usual. I checked the slow query log, and didn't find any extraneous locking. There's no extra database jobs running in the morning specifically. Yesterday I noticed the same exact thing, near the same exact time, with nothing out of the ordinary in slow query log etc. It only seems to occur in the morning, and then the rest of the day seems okay (some dropped calls here and there but not in excess). There are no cron jobs that run at that time (vicidial or otherwise), back-ups are long done by this point, there aren't any more agents on at that time than any other (about 15-20).
I'm sort of at a loss for why this is occurring, which is why I was wondering if there's a way of seeing why a call gets dropped. I'm also seeing some calls getting dropped with agents available, which concerns me.
Some more info:
Usually about 15-20 agents @ around 2:1
vicidial_list has about 5.5 million records
I did set up the cron script to archive the prescribed tables now (keeping 6 months worth)
Moved most ViciDial built-in reporting to the slave DB
Using an AS5400 series router as a gateway tied to a TW Telecom DS3, with Velocity true VoIP as backup
They stay under the Federal mandatory 3% drop percentage, but it means cutting the dial ratio back and agents waiting for long periods of time. We seem to have, on average, about 100 dropped calls per day, IDK if this is high or not. Here are some stats from Outbound Calling Report for today:
---------- CALL HANGUP REASON STATS
+----------------------+------------+
| HANGUP REASON | CALLS |
+----------------------+------------+
| CUSTOMER | 7746 |
| AGENT | 7974 |
| QUEUETIMEOUT | 76 |
| ABANDON | 2 |
| NO ANSWER | 3593 |
+----------------------+------------+
| TOTAL: | 19391 |
+----------------------+------------+
I assume the 76 QUEUETIMEOUTS + 2 ABANDONS make up my 78 dropped calls for the day. Is this telling me that 76 people were actually dropped because they waited the 2 seconds before being dropped? That would seem high, especially because like I said, I keep seeing the dropped calls count increasing when agents are in ready.
Any help would be greatly appreciated. Thanks!