Introduction
ViciDial, the industry-leading open-source call center solution, is renowned for its flexibility in managing complex telephony workflows. One question that frequently arises among system administrators and call center managers is: Can you log in to 2 campaigns on ViciDial? The answer is a resounding yes—ViciDial's robust architecture supports ViciDial multi-campaign login, allowing agents to handle both inbound and outbound calls across multiple campaigns simultaneously. This capability, known as blended campaign management, is a game-changer for call centers aiming to maximize agent productivity while streamlining diverse customer interactions, such as sales outreach and support inquiries.
Enabling agents to log into two campaigns requires careful configuration of campaigns, in-groups, and Direct Inward Dialing (DID) numbers, all powered by ViciDial's integration with the Asterisk telephony engine. Whether you're running a small call center or a high-volume operation, this functionality enhances ViciDial agent productivity by allowing seamless switching between campaign types without logging out. However, achieving a stable and efficient setup demands a deep understanding of ViciDial's components, from Asterisk dial plans to database optimization.
In this guide, crafted with over a decade of expertise in call center technology, I'll walk you through the step-by-step process to configure ViciDial on CentOS 7 for multi-campaign logins. You'll learn how to set up two different DID inbound number configurations, manage campaign setup, optimize system performance, and troubleshoot common issues.
Understanding ViciDial Multi-Campaign Functionality
What Are Blended Campaigns?
Blended campaigns in ViciDial refer to the ability to combine inbound and outbound call handling within a single agent session. This is achieved through campaign management and in-group configuration, which allow agents to process calls from multiple sources—such as an outbound sales campaign and an inbound support line—without needing to switch sessions. Unlike traditional call center platforms that silo inbound and outbound operations, ViciDial's blended campaign management integrates these workflows, routing calls based on predefined rules and priorities.
Benefits of Logging into Multiple Campaigns
- Enhanced Agent Productivity: Agents can handle both inbound and outbound calls within a single interface.
- Streamlined Operations: Eliminates the need for separate agent pools for inbound and outbound tasks.
- Improved Customer Experience: Calls are routed to agents based on campaign-specific rules.
- Flexibility and Scalability: Supports dynamic call center needs.
Prerequisites for Multi-Campaign Setup
A robust ViciDial installation guide begins with meeting the minimum hardware and software requirements. Run the following commands to update CentOS 7 and install dependencies:
sudo yum update -y
sudo yum groupinstall "Development Tools" -y
sudo yum install wget vim net-tools epel-release -y
sudo yum install gcc-c++ gcc make perl perl-devel perl-CPAN mariadb mariadb-server mariadb-devel httpd php php-mysql php-mbstring php-pear php-devel php-process php-gd php-xml php-mcrypt php-soap php-cli -y
Enable and start services:
sudo systemctl enable mariadb httpd
sudo systemctl start mariadb httpd
Configure firewall:
sudo firewall-cmd --permanent --add-port=80/tcp --add-port=443/tcp --add-port=5060-5061/udp --add-port=10000-20000/udp --add-service=mysql
sudo firewall-cmd --reload
Step-by-Step Configuration for Two Campaigns
Creating Outbound and Inbound Campaigns
Log in to the ViciDial admin portal (http://your-server-ip/vicidial/admin.php). Navigate to Telephony → Campaigns and create an outbound campaign (e.g., OUTBOUND1) and an inbound campaign (e.g., INBOUND1).

Assigning DIDs to Campaigns
Create in-groups and assign DIDs in Telephony → Inbound → In-Groups and Telephony → Inbound → DIDs. Update Asterisk dial plan in /etc/asterisk/extensions.conf:
[trunkinbound]
exten => _1XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1XXXXXXXXXX,n,Dial(SIP/${EXTEN}@your-carrier)
exten => _1YYYYYYYYYY,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1YYYYYYYYYY,n,Dial(SIP/${EXTEN}@your-carrier)

Agent Login Configuration
Create or modify agent accounts in Telephony → Users. Assign both campaigns (OUTBOUND1, INBOUND1) and in-groups. Agents log in at http://your-server-ip/vicidial/agent.php and select both campaigns.
Optimizing Performance for Multi-Campaign Environments
For high-volume call centers, tune Asterisk and MariaDB. Increase file descriptors in /etc/security/limits.conf and adjust /etc/asterisk/asterisk.conf with maxcalls=500. Optimize MariaDB innodb_buffer_pool_size=4G in /etc/my.cnf. Enable slow query logging and schedule weekly table optimizations.
Integrating ViciDial with CRM for Multi-Campaign Workflows
Set up WebHooks in your CRM to push leads using ViciDial's non-agent API. Configure screen pops in Telephony → Campaigns → Web Form. Map call dispositions to CRM workflows for automated logging.
Troubleshooting Multi-Campaign Login Issues
- Calls not routing: Check in-group settings and DID mappings.
- Extension not found: Verify DID format and SIP trunk configuration.
- Agent login failures: Confirm user permissions and database connectivity.
- Performance bottlenecks: Monitor system resources and optimize database queries.
Security Best Practices
- Enable HTTPS with Let's Encrypt:
sudo certbot --apache -d your-domain.com - Install Fail2Ban to block brute-force attacks.
- Restrict database access to localhost.
- Encrypt database backups with GPG.
- Use unique SIP credentials per campaign.
FAQs: Managing Multiple Campaigns in ViciDial
1. Can you log in to 2 campaigns on ViciDial simultaneously?
Yes. ViciDial fully supports multi-campaign login, allowing agents to handle both inbound and outbound calls within a single session.
2. How do I set up multiple DIDs for ViciDial campaigns?
Navigate to Telephony → Inbound → DIDs and add each DID. Assign them to respective in-groups and update the Asterisk dial plan.
3. What are the system requirements for running multiple campaigns?
CentOS 7 with quad-core CPU, 8 GB RAM (16 GB+ recommended), 160 GB SSD, Asterisk 16, MariaDB, Apache, and PHP.
4. How can I troubleshoot ViciDial multi-campaign login issues?
Check agent selections, user permissions, DID routing, and Asterisk logs (tail -f /var/log/asterisk/full).
5. How do I integrate ViciDial with a CRM for multi-campaign workflows?
Configure WebHooks in your CRM using ViciDial's non-agent API. Set up screen pops and map dispositions to CRM workflows.
6. How do I optimize performance for a multi-campaign ViciDial setup?
Increase file descriptors, set maxcalls=500 in Asterisk, and optimize MariaDB with innodb_buffer_pool_size=4G.
7. What security measures should I implement?
Enable HTTPS, install Fail2Ban, restrict database access, encrypt backups, and use strong passwords.
8. How can I monitor agent performance across multiple campaigns?
Use ViciDial's Reports → Real-Time Main Report and integrate monitoring tools like Zabbix.
Conclusion
Enabling ViciDial multi-campaign login is not only feasible but also a transformative feature for call centers aiming to maximize efficiency through blended campaign management. By allowing agents to handle multiple campaigns within a single session, ViciDial empowers ViciDial agent productivity while streamlining operations. This comprehensive guide has walked you through the critical steps to achieve a robust campaign setup on CentOS 7. From configuring two different DID inbound number setups and in-group configuration to optimizing Asterisk and MariaDB, integrating with CRMs, troubleshooting issues, and securing your system, you now have a complete roadmap to success.
DialerGiants