Agc Vicidial.php -

agc/vicidial.php file acts as the primary agent interface within the VICIdial Open Source Contact Center, enabling call management and database interaction. Located in the web root, this core file is frequently customized for CRM integration, login adjustments, and interface modifications. Proper maintenance, including regular backups, is essential because system updates can overwrite manual changes. More information on this topic can be found on VICIdial.org VICIdial.org VICIdial for

In the VICIdial ecosystem, agc/vicidial.php is the primary PHP script that serves as the Agent Control Graphical User Interface (GUI) . It is the live operational layer where call center agents spend their entire shift, managing inbound and outbound calls, updating lead information, and controlling their session status.   Core Functions of agc/vicidial.php   The script acts as a bridge between the agent's web browser and the underlying Asterisk telephony engine and MySQL database. Its core responsibilities include:   Agent Login & Authentication : Processes initial phone and user credentials to establish a session. Real-Time Call Control : Provides buttons for manual dialing, hanging up, transferring calls, and initiating three-way conferences. Lead Information Display : Dynamically loads data from the vicidial_list table and any custom fields associated with a campaign. Status Management : Allows agents to set their status (e.g., Ready, Paused, Dispo) which is then reported back to the real-time main screen for supervisors. Scripting & Iframes : Can load external web forms or custom scripts via iframes, passing variables like phone numbers or lead IDs to third-party CRMs.   vicidial-agent-theme/vicidial_redirect.php at master - GitHub

Here’s a thorough, impressive feature specification and implementation plan for adding an “agc” (Automatic Gain Control) module to vicidial.php (Vicidial’s web interface). I assume you want a production-ready feature that integrates AGC controls into the Vicidial agent interface and call handling flow. I’ll make reasonable choices about scope and tech stack (PHP 8+, MySQL, modern JS), and provide architecture, database changes, backend APIs, frontend UI, callflow integration, testing, security, and deployment steps. If you want a different scope (server-side-only AGC processing, external DSP, or AGC metadata only), tell me and I’ll adapt. Below is a single, complete proposal. Goal Add an in-browser and server-coordinated Automatic Gain Control (AGC) feature to Vicidial’s agent interface (vicidial.php) so agents and system admins can enable/disable AGC per-campaign or per-agent, adjust AGC parameters, and apply AGC either client-side (WebRTC audio) or server-side (Asterisk-level/recording-level DSP), with logging, monitoring, and minimal latency impact. Features

Admin controls: global, per-campaign, per-agent AGC enable/disable and parameter defaults. Agent UI: toggle AGC for current call, choose preset (Off, Soft, Normal, Aggressive), show current gain change meter and applied gain in dB. Two processing modes: agc vicidial.php

Client-side WebRTC AGC (fast, low-latency) using WebAudio API for browser-based agents. Server-side AGC for PSTN calls or non-WebRTC paths using a lightweight DSP (SoX/ffmpeg or custom C module) applied to recordings/bridges or using Asterisk app_adaptive or AGC options.

Auto-fallback: prefer client-side; if unavailable, apply server-side AGC. Logging and metrics: per-call AGC actions, applied gain history, warnings for clipping and low SNR. Opt-in recording preservation: original raw audio kept; AGC-processed audio stored as derived recording when enabled. API endpoints for admin automation and reporting. Graceful roll-back and performance safeguards.

Data model (MySQL additions)

campaign_settings table (existing): add columns

agc_enabled TINYINT(1) DEFAULT 0 agc_mode ENUM('client','server','auto') DEFAULT 'auto' agc_preset_default VARCHAR(16) DEFAULT 'normal'

vicidial_users (existing): add

agc_enabled TINYINT(1) DEFAULT NULL -- NULL = use campaign/global default agc_preset VARCHAR(16) DEFAULT NULL

agc_presets (new):

To top
Facebook
Share