How leads are being dialed by asterisk?

All installation and configuration problems and questions

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

How leads are being dialed by asterisk?

Postby jessiekidfernando » Fri Aug 16, 2019 12:40 pm

Hello Everyone,

I would like to know how calls are being invoked on asterisk from the DB's data? What specific config file or script that allows the asterisk to dial a specific lead automatically from the database or leads hopper?

Is this related and being executed by AST_VDauto_dial.pl?

Assuming I am using dial method adapt or ratio.

Thanks in advance.

Regards,

Jessie
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm

Re: How leads are being dialed by asterisk?

Postby williamconley » Tue Aug 20, 2019 5:06 pm

Your target should be the hopper script. that makes the decision to load. after that they are dialed in order from the hopper.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: How leads are being dialed by asterisk?

Postby jessiekidfernando » Fri Aug 23, 2019 1:29 pm

Okay got it. But what specific script or is there any specific application that commands the asterisk to dial the leads in the hopper?
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm

Re: How leads are being dialed by asterisk?

Postby ambiorixg12 » Fri Aug 23, 2019 3:03 pm

Take a look to at AST_VDauto_dial.pl
#
# DESCRIPTION:
# Places auto_dial calls on the VICIDIAL dialer system

Also you can view the list of scripts related to dialing here https://github.com/inktel/Vicidial/tree/master/bin
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: How leads are being dialed by asterisk?

Postby mflorell » Sat Aug 24, 2019 7:57 pm

That github project goes to 8-year-old code from an abandoned fork of VICIdial managed by someone else.

For the current svn/trunk VICIdial codebase, go here:
http://wiki.vicidial.org/doku.php?id=svn
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: How leads are being dialed by asterisk?

Postby williamconley » Mon Sep 09, 2019 10:28 pm

jessiekidfernando wrote:Okay got it. But what specific script or is there any specific application that commands the asterisk to dial the leads in the hopper?


a basic description is ...

a perl script runs to determine that there is a need to dial a number. that script grabs the lead from the hopper.

the script then writes the lead into the vicidial_manager table with the necessary commands for the asterisk API to understand, in the proper syntax and order.

There is then another perl script that constantly watch the asterisk_manager table, grabs any calls that should be made, and issue those commands to asterisk. It becomes the "bottleneck" on EACH DIALER that issues and gets responses to commands, this way there is no other script interacting with asterisk that could "accidentally" get a cross-threaded response from asterisk's API. It also (obviously) continuously updates the vicidial_manager table. Thus this one vicidial manager perl script is really what makes the calls and manages the table where they "need" for calls is stored.

There are many peripheral concerns, such as the auto-calls table. The best way to get all references and access points and initiators is to search the code for the auto calls table name and the vicidial manager table name. Writing to either of these two tables is an indication that autodialing controls are in play. If you search in the svn trunk folder (assuming an svn trunk folder is available), your recursive search for those table names will get all instances of access of those tables whether they are in the perl folder or the asterisk agi-bin folder or anywhere else.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: How leads are being dialed by asterisk?

Postby jessiekidfernando » Mon Sep 23, 2019 9:53 am

Hello Everyone,

Thank you so much for your inputs. Appreciate all of it. Will review those inputs.
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 96 guests