Page 1 of 1

Dial next number dials the same number

PostPosted: Wed Mar 13, 2013 2:22 pm
by lyxn2011
Hello,

I have multiple campaigns running on my vicidial server, the campaigns are using INBOUND_MANUAL dial method. Sometimes when the agent clicks on Dial next number the same number is repeated over and over again. The agent then has to do preview lead and then skip the lead to dial the next number.

I have checked the lists and made sure that the phone numbers are not repeated in the list. Also, when this happened I checked the leads in the hopper and it did not show any repeated numbers. This happens randomly with some of my campaigns and I am unable to recreate this issue. The load, cpu and memory usage of the server is not very high when this happens.

Can someone please help me debug this.

Thanks

Scratch install
Operating sys: Slackware 13.37
mysql: 5.1.56
Asterisk: 1.4.26.2
VicidialVERSION: 2.4-364a BUILD: 120409-1136
No Digium/Sangoma Hardware | No Extra Software After Installation

Re: Dial next number dials the same number

PostPosted: Wed Mar 13, 2013 2:38 pm
by williamconley
You'll need to catch one in progress. For that, you should create a log NOW of when it happens and all available data. Eventually you should find a pattern and be able to re-create it. Then you'll be able to see why this lead is "stuck". As soon as the agent dispos the lead, verify that it has the dispo and that the list shows the lead as "dialed since last reset" which should disable it from being dialed again.

You could also run a query for all leads present in agent screens and compare that to "dialed since last" entries and the hopper to see if any are "out of whack" during operations. Essentially a fishing expedition. In my early days of Vicidial the "fishing expeditions" were fairly common to find an unruly problem for bug squishing. LOL

And you should post your link to your installation instructions. and seriously consider switching to Vicibox. Or just upgrading to a later Vicidial (may solve your problem!)

also: is this system fresh or "upgraded from earlier"?

Re: Dial next number dials the same number

PostPosted: Fri Mar 15, 2013 8:43 am
by lyxn2011
This was an upgraded system. The earlier version was a 2.4 svn trunk. I have upgraded to the latest Vicidial 2.4 RC2, but the problem is still there.

I checked the vicidial_list table for the lead. The 'called_since_last_reset' field of the leads has values like 'Y<some digit>'. What does this mean?

Re: Dial next number dials the same number

PostPosted: Fri Mar 15, 2013 9:28 am
by williamconley
sounds like it might be an irregularity during upgrade or an odd interaction with your underlying OS. if i were you I would consider a fresh install and reloading your data from an export into it. may save yourself a lot of troubleshooting. otherwise, of course, you'll need to find out if the Y# instead of Y is a "common theme" for those that fail ... or find some other commonality in the occurrence so you can squish the bug.

better yet: Vicibox .iso! :)

Re: Dial next number dials the same number

PostPosted: Fri Mar 15, 2013 10:04 am
by lyxn2011
I had upgraded by doing a fresh install and then loading the exported data.

Re: Dial next number dials the same number

PostPosted: Fri Mar 15, 2013 10:47 am
by williamconley
define "loading the exported". if you loaded the DB at one shot, that's not what I'm talking about. if your DB upgrade failed for some reason ... that DB structure has not been fixed when you exported it ... so when you re-imported the DB with structure it is still broken. Export the leads, get a clean DB (with perfect structure), manually add your campaigns/lists/users, etc and import the leads with the lead importer (cli version will allow you to maintain the Status of the leads!). Then you'll have a clean version of your old data. :)