Skip to main content

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    






reboot

Step 2 – Run the Script


cd /usr/src/

git clone https://github.com/manish23k/vicidial-install-scripts

cd 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 required for CI 4.3

yum install php-intl


cd /usr/src/Voicelogger-App-With-Ast-1.8

unzip Voicelogger_NEW.zip

cd Voicelogger_NEW


mysql

create database voicecatch;
use voicecatch;
source voicecatch_14-08-2024.sql;


ADD CRON ACCESS TO VOICECATCH

mysql

GRANT SELECT,CREATE,ALTER,INSERT,UPDATE,DELETE,LOCK TABLES on voicecatch.* TO cron@'%' IDENTIFIED BY '1234'; 


GRANT SELECT,CREATE,ALTER,INSERT,UPDATE,DELETE,LOCK TABLES on voicecatch.* TO cron@localhost IDENTIFIED BY '1234'; 


GRANT RELOAD ON . TO cron@'%'; GRANT RELOAD ON . TO cron@localhost; 

flush privileges;

SET GLOBAL connect_timeout=60;

exit;


#Copy Voicelogger App to html

cd /usr/src/Voicelogger-App-With-Ast-1.8


mv Voicelogger_NEW voicelogger

mv voicelogger /var/www/html


#Copy test.php to /var/www/html


Add below line into cron if not there


#Process miss and NA calls

* * * * * /usr/bin/curl -k https://127.0.0.1/test.php


Step 4 – Install Phpsysinfo from Below link

Install Phpsysinfo


Step 5 – Copy config files

cd /usr/src/Voicelogger-App-With-Ast-1.8

Copy all AGI php to /var/lib/asterisk/agi-bin/ directory

cp -r AGIcalldetail.php AGIhangup.php AGIlanding.php AGInorecord.php logging.php /var/lib/asterisk/agi-bin/

chmod -R 755 *.php /var/lib/asterisk/agi-bin/


Copy extensions-arrow.conf to /etc/asterisk/

cp -r extensions-arrow.conf to /etc/asterisk/

open extensions.conf and add below line

#include extensions-arrow.conf to extensions.conf


##http redirect to https

nano /etc/httpd/conf.d/demo.example.conf


<VirtualHost *:80>

    ServerAdmin admin@demo.example.com

    DocumentRoot "/var/www/html"

    DirectoryIndex index.html

    ServerName demo.example.com

    ErrorLog "/var/log/httpd/demo.example.com.error_log"

    CustomLog "/var/log/httpd/demo.example.com.access_log" common


    # Redirect all HTTP requests to HTTPS

    RewriteEngine On

    RewriteCond %{HTTPS} off

    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

</VirtualHost>

save and exit

Comments

Popular posts from this blog

voice broadcast in vicidial Step by Step Guide

 Follow all below mention steps:- 1.  Open https://ttsmp3.com/   2.  Select Voice Indian English 3.  Type whatever you want to convert into voice.   4.  Read and confirm and then download as a MP3.   5.  Open downloaded file with wavepad and convert into 16bit Mono 8k PCM WAV. or you can use online audio converter from below mention link. site support .wav file only so you need to convert MP3 file to wav using below mention site. https://g711.org/   6.  Upload file to vicidial audio store.   7.  Manual copy file into /var/lib/asterisk/sound/ folder using winscp software. https://winscp.net/download/WinSCP-5.21.6-Portable.zip   8.  Copy campaign from existing Broadcast camp.   9.  Click on created camp and select details view then click on survey     select Survey First Audio File:- as audio file which we created in step 1 and submit.   10. Create list and select campaign as Newly created campaign broadcast, and change routing extensions.   11. Create user with same name of remote agent

Debian 11 Vicidial scratch install dynamic portal

  Step by step guide to scratch install the vidial dynamic portal in Debian 11 or ubuntu based vicidial scratch installations. If you have installed vicidial using scratch installation instead of using the default vicibox iso then you need to manually install and configure the dynamic portal , follow this blog tutorial to scratch install the vicidial dynamic portal . Here's the steps to install and configure the vicidial dynamic portal in scratch installations. Steps to install vicidial dynamic portal cd /usr/src git clone https://github.com/manish23k/vicidial-dynamicportal.git cd vicidial-dynamicportal chmod +x vici_dynportal.sh ./vici_dynportal.sh or you can install manually. Follow the below steps to install and configure the vicidial dynamic portal in your scratch installations, Step 1: Install the firewalld and ipset apt install firewalld apt  install ipset Step 2: Download the Dynamic portal files from my Github cd /usr/src/ mkdir dynamicportal cd dynamicportal wget ht

Vicidial Scratch installation Debian 11 with Asterisk 16, WebRTC and Dynamic Portal

  Vicidial Scratch installation Debian 11  Asterisk 16, WebRTC and Dynamic Portal apt update apt upgrade apt-get install git nano wget cd /usr/src/ git clone https://github.com/manish23k/Vici_Install_Scripts_Deb_11.git cd Vici_Install_Scripts_Deb_11/ chmod +x *.sh Run ./vici_install_deb_ast16.sh Install WebRTC ./vicidial-install-webrtc.sh Once Done with Configuration Secure Server with Vici Dynamic Portal Run ./vici_dynportal.sh