How to create scripts in Vicidial for Inbound or OutBound Campaign

How to create scripts in Vicidial for Inbound or Outbound Campaign

Script  will show the content which we will configure in the script screen on agent screen . when calling to  outbound campaign number or call is coming to inbound campaign .

for example I have created a script for outbound campaign to just just the agent name who is calling and to whom he is calling. its depends upon how much data you have related to the you are calling or receiving call.

Your script will show under script tab   as in below image .

Continue reading How to create scripts in Vicidial for Inbound or OutBound Campaign

How to change default Vicidial login 6666 to admin other name

How to change default Vicidial login 6666 to admin other name

After fresh setup of vicidial  its gives you default login and password as 6666 and 1234 .

you can change default login 6666 to admin or as you want .

1- Login to your server

2- login to mysql

3-

mysql -u root -ppassw0rd
use asterisk;
update vicidial_users set user='admin' where user='6666';

It will change all records  related to this user .

its is good to change due to security  issue.

How to configure firewall IPTABLES on Vicidial on cloud

How to configure firewall IPTABLES on Vicidial on cloud .

If you are hosting your Vicidial on the cloud then there are big issue with illegal’s SIP registration attacks and illegal’s calls issue.

So its better to block every thing  allow your IPs and RTP packets . this need to be done very carefully otherwise you will lock your self.

Here I am giving an example step by step . and I hope someone can come up some good addition to secure more .

Access your server by ssh

iptables -F
iptables -N SIP
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -s X.X.X.X -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -s 8.8.8.8/32 -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j SIP
iptables -A INPUT -p udp --dport 5060 -j DROP
iptables -A INPUT -p udp --dport 5061 -j SIP
iptables -A INPUT -p udp --dport 5061 -j DROP
iptables -A INPUT -p udp --dport 10000:20000 -j ACCEPT
iptables -I INPUT 1 -i ens192 -p tcp --dport 80 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -I INPUT 2 -i ens192 -p tcp --dport 443 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A SIP -s X.X.X.X/32 -j ACCEPT
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT
/sbin/service iptables save


Continue reading How to configure firewall IPTABLES on Vicidial on cloud

How to public any service without public ip using OPENVPN.

How to public any service without public ip using OPENVPN.

Some time we want to publish our website or any service from our desktop to internet . Then we require public IP to publish our services on the internet.

So resolve this issue we can user third party services like PORTMAP.IO  this gives you ability to publish your services over the internet using OPEN VPN Client.

For more information visit there website https://portmap.io/

How to configure SSL VPN on OPENVPN

How to configure SSL VPN on OPENVPN

If you want to configure openvpn on SSL port below are the example for server and client side.

Server side configuration

local 192.168.1.250
port 443
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-crypt tc.key
topology subnet
server 10.8.0.0 255.255.255.0
#server-ipv6 fddd:1194:1194:1194::/64
#push "redirect-gateway def1 ipv6 bypass-dhcp"  ## To avoid all internet traffic except VPN## 
push "route 192.168.29.0 255.255.255.0"         ## To advertise Network ##
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 192.168.29.254"
#push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
cipher AES-256-CBC
user nobody
duplicate-cn                                    ##To use single certificate for multiple user#
group nobody
persist-key
persist-tun
verb 3
crl-verify crl.pem

Continue reading How to configure SSL VPN on OPENVPN