In a VICIDIAL installation, the web root directory (often found at /var/www/html/ ) contains an essential folder simply named . This name stands for the original project name, the Asterisk GUI Client (astGUIclient), which is the direct predecessor and core framework of VICIDIAL. This directory is the home of the Agent Interface , the portal through which every agent logs in to handle calls.
Local Wi-Fi dropouts causing the browser to lose contact with the web server.
Displays the layout for custom fields created for specific vertical markets. The Disposition Screen
Once the page loads, vicidial.php does not constantly reload the whole page to get new data. Instead, it uses a persistent JavaScript execution loop (often running every 1,000 milliseconds). agc vicidialphp work
The diagram above illustrates the data flow: the agent's browser requests the vicidial.php page; the web server executes the PHP code; the PHP scripts interact with the database for lead and campaign data; and the Perl backend daemons, via the Asterisk Manager Interface, issue the actual dialing commands. Calls are bridged between the agent's phone and the customer via the Asterisk PBX.
The AGC ( vicidial.php ) is written in PHP and operates over HTTPS. It acts as the command-and-control panel, allowing agents to log in, place calls, take notes, transfer, hang up, and change statuses. Unlike proprietary systems, VICIdial’s AGC relies on AJAX polling and database-driven state flags to synchronize with the telephony layer (Asterisk).
The integration of AGC in VicidialPHP offers numerous benefits for call centers, including: In a VICIDIAL installation, the web root directory
The official guidance from the VICIdial project is that the agc web directory should reside on the , not on every Asterisk server in the cluster. All agents should point to a single, dedicated web server (or a cluster of web servers with a reverse proxy) to access the /agc/vicidial.php login page.
$dbhost = 'your_database_host'; $dbuser = 'your_database_user'; $dbpass = 'your_database_password'; $dbname = 'your_database_name';
When an outbound call is answered by a customer, or an inbound call enters the queue, ViciDial's backend redirects that customer's audio channel into the same conference room where the agent is waiting. Local Wi-Fi dropouts causing the browser to lose
$conn = mysqli_connect($dbhost, $dbuser, $dbpass, $dbname);
"agc" stands for Asterisk Gateway interface Counter / Agent Screen Code. It is the web directory housing the files that agents interact with.
Because hundreds of agents may run vicidial.php simultaneously, it can easily bottleneck your application server if it is not optimized correctly.
Agent enters http://your-server/vicidial.php . After authentication, AGC loads the agent’s default campaign and checks for any paused lists or closed times.
The VICIdial community continues to modernize the vicidial.php codebase. Recent innovations include: