vicidial_list status is NEW but called_since_last_reset is Y

Any and all non-support discussions

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

vicidial_list status is NEW but called_since_last_reset is Y

Postby Louknows » Mon May 24, 2021 4:58 pm

Hi,

I'm new to vicidial, and I was tasked to check on why there are numbers under CALLED in New status. See screenshot on this link:
https://ibb.co/1bXLRF1

As per checking on the database, these numbers are from:
vicidial_list table where called_since_last_reset = 'Y' and status = 'NEW'


My question is, what process in vicidial system that updates this column called_since_last_reset to Y keeping the status = NEW? If you can provide the page that do this or the PHP script being run, then that would be helpful. Any explanation to englighten the process would be helpful.

The reason I was tasked to check on this is because we have a lots of leads that are being thrown on that area (status NEW which is under CALLED - refer on the specified link above).
Louknows
 
Posts: 6
Joined: Fri Aug 28, 2020 10:18 am

Re: vicidial_list status is NEW but called_since_last_reset

Postby carpenox » Mon May 24, 2021 11:08 pm

perhaps they are duplicate records that have been called before, just under another list? that would be my best guess anyways.
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2420
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: vicidial_list status is NEW but called_since_last_reset

Postby Louknows » Tue May 25, 2021 5:03 am

We have a job that change the list_id of 10k leads which status is NEW to another list_id by batch.. And another job that will change back the list_id to their original list_id when their status changed to something else like 'AA', 'NA', etc. Can it be the reason?
Louknows
 
Posts: 6
Joined: Fri Aug 28, 2020 10:18 am

Re: vicidial_list status is NEW but called_since_last_reset

Postby mflorell » Tue May 25, 2021 7:46 am

The short explanation:

These are caused by Asterisk being overloaded for a short period of time.


The long explanation:

For leads that are called_since_last_reset=Y and status=NEW, sometimes when the load is high on an Asterisk server, it just won't run the dialplan entry of a phone call that is launched through the Manager, so the call is never actually dialed. This is very hard to track, but while I was working on Call Quota Lead Ranking two years ago I spent some time figuring out why it happens and how to mitigate it automatically. These no-dial calls happen in groups while the load is high on the Asterisk server, and Asterisk will show the Manager Originate command is accepted but it won't process it through the dialplan at all. As for mitigation, it is a rather DB-intensive set of queries that have to be run for each affected lead, so I only added this function as a part of the Call Quote Lead Ranking processes since it might add to the load issues on a heavy-dialing standard outbound auto-dial campaign.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: vicidial_list status is NEW but called_since_last_reset

Postby Louknows » Tue May 25, 2021 10:49 am

Thanks you for the explanation mflorell.

Since we want those leads to be dialable. Is it safe if we update the ff. columns in vicidial_list to:

Columns
user = null
called_since_last_reset = 'N'
last_local_call_time = null

Condition
where status = 'NEW' and called_since_last_reset = 'Y'
Louknows
 
Posts: 6
Joined: Fri Aug 28, 2020 10:18 am

Re: vicidial_list status is NEW but called_since_last_reset

Postby mflorell » Tue May 25, 2021 2:18 pm

You might want to check the called_count field as well.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: vicidial_list status is NEW but called_since_last_reset

Postby Louknows » Tue May 25, 2021 2:24 pm

Should I update it also to zero?
Louknows
 
Posts: 6
Joined: Fri Aug 28, 2020 10:18 am

Re: vicidial_list status is NEW but called_since_last_reset

Postby mflorell » Tue May 25, 2021 2:26 pm

Sure. I would do a test on a single list first to confirm it does exactly what you want it to, and you shouldn't run it while you are actively dialing or it WILL cause issues.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 67 guests