Skip to main content

Posts

Showing posts from June, 2022

e-mail alert on root logins

    Script to send email for every root logins in linux   1.cd /root 2 nano .bashrc 3. Scroll to the end of the file then add the following: echo 'ALERT - Root Shell Access (YourserverName) on:' `date` `who` | mail -s "Alert: Root Access from `who | cut -d"(" -f2 | cut -d")" -f1`"yourname@gmail.com Replace gmail with the handle for your actual server Replace you@yourdomain.com with your actual email address 4. CTRL+x Y now log in as root u should get the email to check the status of mail in the linux type mailq tail -n 50 /var/log/maillog  

How to repair crashed mysql table in vicidial

  Overview: Vicidial mysql repair command In this blog post i have give the commands to repair the corrupted database in vicidial based servers like vicibox goautodial scratch vicidial installation VICIdial is an enterprise class, open source, contact center suite in use by many large call centers around the world. VICIdial has a full featured predictive dialer. It is capable of inbound, outbound, and blended phone call handling. Vicidial software uses below software's for its operation.   mysql/mariadb - database Apache - webserver Asterisk - Telephony   Root cause for Vicidial Database Corrupt Often Vicidial Database will be crashed due to many reasons which i have listed below. 1. Server Over Load 2. Server Improper Shutdown 3. Server Low Disk Space Impact of Database corrupt in vicidial   Impact in Vicidial while db/mysql corrupted 1. your session has been disabled 2. Autodial calls not landing to Agents. 3. realtime r

Vicidial scratch installation in Centos7 Asterisk-13

  Vicidial scratch installation in Centos7 Asterisk-13 Table of content Step by Step guide for vicidial scratch installation in Centos 7 Topic: Vicidail scratch installation in centos 7 Asterisk-13 vicidial scratch install centos 7   Artcile Overview: vicidial scratch installation Step by step guide for vicidial scratch installation in centos 7 , Centos 7 OS installation is not part of this article, you may install minimal or server mode centos 7 installation. Vicidial is the most popular Open-Source Contact Center Solution in the world, that incorporates a predictive dialer to enable the blended handling of inbound / outbound calls alongside inbound emails and customer website chat.   Major Components of Vicidial 1. Asterisk - Telephony server 2.Mariadb - Database 3.Apache - Webserver   Pre-Requisites Before proceeding with installation steps , we must have below pre-requisites ready Centos 7 installed either full DVD or minimal OS installa

Vicidial Centos 7 Installation Script

  ViciDial CentOS 7 Installation Script   yum check-update yum update -y yum install epel-release -y yum update -y yum groupinstall 'Development Tools' -y yum install git -y yum install kernel* -y #Disable SELINUX sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config reboot _______________________________________________________________________  Download installation script   https://github.com/manish23k/vicidial_centos_scripts/blob/main/vici_install.sh OR  Make insallation.sh file copy below script into sh file. ===================================================================== #! /bin/sh echo " Vicidial installation Centos7 with WebPhone(WebRTC/SIP.js) " export LC_ALL=C yum install make patch gcc perl-Term-ReadLine-Gnu gcc-c++ subversion php php-devel php-gd gd-devel php-mbstring php-mcrypt