Skip to main content

Posts

Vicidial/VC Scratch installation Alma -9

Step 1 – Download the dependencies   hostnamectl set-hostname xxxxxx.xxxxx.xxx ### Use YOUR SubDomain vi /etc/hosts ##Change domain name for actual server ip (xxx.xxx.xxx.xxx   complete domain name    subdomain only) timedatectl set-timezone Asia/Kolkata yum check-update yum update -y yum -y install epel-release yum update -y yum install git -y yum install -y kernel* #Disable SELINUX sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config     cd /usr/src/ git clone https://github.com/manish23k/vicidial-install-scripts cd /usr/src/ https://github.com/manish23k/Voicelogger-App-With-Ast-1.8-.git reboot Step 2 – Run the Script cd /usr/src/ git clone https://github.com/manish23k/vicidial-install-scripts chmod +x alma-rocky9-ast16.sh ./alma-rocky9-ast16.sh Or the Asterisk 18 version: chmod +x alma-rocky9-ast18.sh ./alma-rocky9-ast18.sh Step 3 – Below steps if VC installation cd /usr/src/ https://github.com/manish23k/Voicelogger-App-With-Ast-1.8-.git #install php-intl requ
Recent posts

Vicidial Access forbidden! on recording links

 nano  /etc/apache2/confid/vicirecord.conf Alias /RECORDINGS/ "/var/spool/asterisk/monitorDONE/" <Directory "/var/spool/asterisk/monitorDONE">     Options Indexes MultiViews     AllowOverride None     Order allow,deny     Allow from all         <files *.mp3>                 Forcetype application/forcedownload         </files> </Directory> chmod 755 /var/spool/asterisk systemctl restart apache2 Check its working or not. http://SERVERIP/RECORDINGS

MariaDB 10 configuration for ViciBox /etc/my.cnf

Here is my.cnf config example. # MariaDB 10 configuration for ViciBox # HW Spec: 8-Core 2+Ghz, 24-GB RAM, RAID-1 SSD under /srv/mysql/data #Here data mounted on seprate SSD drive which have Higher IO # The following options will be passed to all MariaDB clients [client] # password = your_password # port = 3306 # socket = /var/run/mysql/mysql.sock [mysqld] log_bin=/var/lib/mysql/mysql-bin relay_log=/var/lib/mysql/mysql-relay-bin binlog_format=mixed binlog_direct_non_transactional_updates=1 datadir = /srv/mysql/data server-id = 1 slave-skip-errors = 1032,1690,1062 slave_parallel_threads=20 slave-parallel-mode=optimistic slave_parallel_max_queued=5242880 port = 3306 socket = /var/run/mysql/mysql.sock sql_mode=NO_ENGINE_SUBSTITUTION skip-external-locking skip-name-resolve #no-auto-rehash connect_timeout=60 long_query_time=3 slow-query-log=1 slow-query-log-file=/var/lib/mysql/mysqld-slow.log log-slow-verbosity=query_plan,explain max_connections=2000 key_buffer_size = 8G max_all

How to configure Airtel SIP trunk

register => +917949031XXX@gj.ims.airtel.in:XXXXXne#1:+917949031XXX@gj.ims.airtel.in@10.5.110.101/+917949031XXX [AirtelSIP] disallow=all allow=all type=friend dtmfmode=rfc2833 qualify=yes nat=force_rport,comedia insecure=invite,port host=gj.ims.airtel.in username=+917949031XXX@gj.ims.airtel.in secret=XXXXX#1 fromdomain=gj.ims.airtel.in defaultexpirey=120 canreinvite=no context=trunkinbound maxexpiry=600 progressinband=yes exten => _65X.,1,AGI(agi://127.0.0.1:4577/call_log) exten => _65X.,n,SipAddHeader(P-Preferred-Identity: <sip:+917949031XXX@gj.ims.airtel.in>) exten => _65X.,n,Progress() exten => _65X.,n,Dial(SIP/${EXTEN:2}@AirtelSIP,,tTo) exten => _65X.,n,Hangup() for custom callerid  ;;;;USE CALLER IN HEADER as AIRTEL REQUIRED CID IN HEADER exten => _67X.,1,AGI(agi://127.0.0.1:4577/call_log) exten => _67X.,n,Set(CALLERID(num)=+${CALLERID(num)}) exten => _67X.,n,SipAddHeader(P-Preferred-Identity:<sip:+${CALLERID(num)}@mu.ims.airtel.in>) exten =&g

How to install HAProxy Load Balancer

https://www.linkedin.com/pulse/how-setup-high-availability-load-balancer-haproxy-web-ali-bin-akhtar https://docs.rockylinux.org/guides/proxies/haproxy_apache_lxd/ https://www.redswitches.com/blog/haproxy-configuration/  https://www.digitalocean.com/community/tutorials/how-to-use-haproxy-to-set-up-http-load-balancing-on-an-ubuntu-vps https://docs.severalnines.com/docs/clustercontrol/user-guide-gui/ ################################################################### Only Haproxy install no need apache and other services. apt update -y apt upgrade -t apt upgrade -y hostnamectl hostnamectl set-hostname loadbalancer.server.com hostnamectl apt show haproxy apt install software-properties-common add-apt-repository ppa:vbernat/haproxy-2.8 apt install gnupg gnupg-agent -y add-apt-repository ppa:vbernat/haproxy-2.8 apt update -y apt install haproxy haproxy -v cp -a /etc/haproxy/haproxy.cfg{,.orig} nano /etc/haproxy/haproxy.cfg #######START###### global log /dev/log local0 log /dev/log lo

Vicidial Webform as iframe

  vicidial webform as iframe 1) Modify Campaign (Detail view). Put  https://example.com/erp/newsale  in "Web Form" or 2) Modify Campaign (Detail view). Put  https://example.com/erp/newsale  in "Web Form Two" (be sure to activate web form two's button on the agent screen, read the manual) or 3) Create a Script and put <iframe src="https://example.com/erp/newsale" style="background-color:transparent;" scrolling="auto" frameborder="0" allowtransparency="true" id="popupFrame" name="popupFrame" width="--A--script_width--B--" height="--A--script_height--B--" STYLE="z-index:17"></iframe> Then you can decide if you want to open this automatically at the start of a call (using the campaign "get call launch" setting) or allow the agent to click on Web Form or the Script Tab at the opportune moment. http://www.eflo.net/VICIDIALforum/viewtopic.php?f=4&am

Vicidial showing UID as CID - Loopback Dialplan to remove UID

  Vicidial showing UID as CID - Loopback Dialplan to remove UID Topic: Vicidial showing UID instead of CID and Loopback Dialplan      In  vicidial  while dialing out you may notice the  UID as Caller ID  or  Caller Name , both in manual dial as well auto dial. Too remove this UID you have to use  vicidial loopback Dialplan  or your trunk provider should trim the UID from the SIP header.      By default  vicidial  sets the campaign caller ID as Caller ID and UID as the Caller ID name, if your voip trunk provider not trimming the callerid name sent from vicidial, the customers will see the UID as the caller ID. How to remove vicidial UID - CID?       In Vicidial the UID which is showing caller ID can be removed by three ways , particularly for CANDADA dialing you have to remove the UID in From SIP Header. Vicidial Loopback Dialplan Another Asterisk server as Trunk or SBC Trunk provider to Trim discard UID Vicidial Loopback Dialplan     Vicidial by default have the option called   loopbac

ViciDIal: Add External Phone entry for your mobile phone For live monitor using the Real-time Report

  Add External Phone entry of your mobile phone for live monitor using the Real-time Report In this tutorial we will create a Phones entry for your cellphone(mobile phone) and log into the RealTime Report to live monitor agents through the cellphone. 1. Go to the ViciDial administration page, go to the Admin → PHONES section and click on the ADD A NEW PHONE link 2. For this tutorial we will use the following values for the fields on the ADD A NEW PHONE form : phone extension: monitor_cell dialplan number: 911234567890 (this is where you put your cellphone number as you would dial it from a phone on your phone system 9 + 1 + areacode + number as per your dialplan) voicemail box: 0 outbound callerid:  1234567890 (we will leave phone and computer IP address fields blank) server ip: 10.10.10.15 (set this to your server ip) login: monitor_cell password: test status: ACTIVE active account: Y phone type: external full name: manager cell (we will leave company and picture fields blank) client

Vicidial SVN Upgrade to Latest Version

  OPTIONAL STEPS(But highly recommended) - Backup existing system: 1. Backup existing system: 1.1 Run this for a 1-server system or server with database on it: (this may take hours on large system) /usr/share/astguiclient/ADMIN_backup.pl --debugX 1.2 Run this on dialer/Asterisk-only servers: (do not run this if you only have one server): /usr/share/astguiclient/ADMIN_backup.pl --debugX --without-db --without-web 2. Test backup: Create a new (any name) database on any mysql server, apply the backup data to it, and verify a new lead from TODAY is actually in there. 3. On ALL servers: (Database, web, telephony) cd /usr/src/astguiclient Download Vicidial trunk on ALL servers svn checkout svn://svn.eflo.net:3690/agc_2-X/trunk 4. On ONLY database server: Going into mysql and executing the upgrade sql file: mysql (alternatively use mysql -u root -p) use asterisk \. /usr/src/astguiclient/trunk/extras/upgrade_2.14.sql quit 5. On ALL servers: (Database, web, telephony) cd /usr/src/astguiclient