Friday 27 April 2018

HOW TO fix ERROR No Live Calls Waiting Vicidial and Goautodial Servers


No Live Calls Waiting Vicidial and Go autodial Servers

Step 1: Hopper Issue

- Check the Leads in Hopper under the respective Campaign
- Set the Hopper Level minimum to 500.

Step 2: Improper Dial Status

- Check the dial statuses added in your Campaign settings
- By default Dial Status NEW must be added so that New uploaded leads will be added to your campaign dial hopper.
- If you are resetting/recycle the lists of leads, then make sure you ADD respective dial statuses (BUSY,No Answer,Answering Machine) are add to be dialed again.
- To reset/recycle leads Set to Y ("Reset Lead-Called-Status for this list:") on your list settings

Setp 3: Call Time issue,

- Check the Local Call Time set in the Campaign.
- If you dont know the time of your server you can set it to default Local Call Time to 24hrs.

Step 4: Hard Disk issue

- Check if Hard Disk is full
- type df -h in linux shell to check the freespace in the system harddisk

Check the link below to delete Recordings:
How to delete recordings

Once finish getting enough Hardisk space, Then repair the database check the link below:
Repair database


Step 5: Server Crash due to Power Outage / Power interruption

Because of improper shutdown or due to power outage / interruption the MySQL Database might get Crashed / Damaged
Repair database


Step 6: NULL status junk in Mysql (Not all the time having this issue but this is just to double check isolation)

- Delete NULL status in the mysql vicidial_auto_calls tables

#mysql -u root -p
password: (by default goautodial = vicidialnow and vicibox = vicidial)

mysql> use asterisk
mysql> DELETE FROM vicidial_auto_calls where channel IS NULL;
mysql> exit

#reboot (restart your server)


-- The End --

How to Hide Last Seen on WhatsApp


There are a lot of things to love about WhatsApp, but it has its downsides too. Downsides like the barrage of messages from people you're never going to respond to, and the dreaded giveaway that leaves nothing secret - "Last Seen" notification, so everyone knows exactly when you were online, and when their messages reached you. There are some workarounds to preserve your privacy on WhatsApp though, and we can tell you how.
So what exactly is hide Last Seen in WhatsApp?
The timestamp in WhatsApp which tells whether the user is Online or was Last Seen at a particular date and time can now be hidden from all users or from all unknown users. This option to hide the last seen time by the instant messaging service provider has been categorized in three types so you can show information to:
Everyone
When the information will be visible to all WhatsApp users.
My contacts
When the information will only be visible to users added in your WhatsApp contact list.
Nobody
When the information cannot be seen by any WhatsApp user and neither can you see their Last Seen information. Unfortunately when you are Online then the information will be visible to all.
First decide what you want to set the option to, then use the following steps to change the setting, depending upon your platform.
WhatsApp for Android
  1. First launch Whatsapp and then click on Menu in it. Commonly it's a 3-dots symbol on the top right-corner and for those who have a menu button in the three capacitive button at the bottom can access it from there (usually bottom left-most or right-most touch capacitive button).
  2. Under the Menu user will find Settings.
  3. Tap on Settings and find Privacy option and select.
  4. Under the Privacy, users can see the Last Seen option under Who Can See My Personal Info. Just tap on it and select whom do you want to show the information - Everyone (info will be visible to all), My contacts (Will not be visible to people other than WhatsApp contacts) and Nobody (No one can see the info and neither can you see their Last Seen info).
WhatsApp for iPhone
  1. First launch Whatsapp and then tap on Settings in it, located at the bottom right corner.
  2. Now in Settings find an option says Account.
  3. Tap on Account and then tap on Privacy in it.
  4. Now finally tap on Last seen to change it from Everyone (info will be visible to all) to My contacts (Will not be visible to people other than WhatsApp contacts) or Nobody (No one can see the info and neither can you see their Last Seen info).
WhatsApp for BlackBerry 7 OS
  1. Launch Whatsapp and go to Settings, shown with a gear wheel symbol in top band second before New Chat (shown as a pencil symbol).
  2. Now in Settings find Privacy Settings below System Profiles.
  3. First option in Privacy Settings will be Last Seen under Visibility.
  4. Now with drop-down in Last Seen can be changed from Everyone (info will be visible to all) to My contacts (Will not be visible to people other than WhatsApp contacts) or Nobody (No one can see the info and neither can you see their Last Seen info).
WhatsApp for BlackBerry 10

  1. First launch Whatsapp and then slide down from the top of the glass to reveal a gear wheel shaped Settings button.
  2. Tap on Settings and find Privacy Settings option.
  3. Tap on the Privacy Settings, and you can see the Last Seen option. Just tap on it and select whom do you want to show the information - Everyone (info will be visible to all), My contacts (Will not be visible to people other than WhatsApp contacts) and Nobody (No one can see the info and neither can you see their Last Seen info) .
At present, it's not possible to change the last seen setting on Windows Phone devices and Nokia Asha devices, though it is possible that this feature will be added to those platforms in future software updates.

Thursday 19 April 2018

How to Configure DHCP Server on CentOS/RHEL 7/6/5


Written by Gaurav | April 17, 2018
DHCP (Dynamic Host Configuration Protocol) is a network protocol used for assigning IP address to network clients dynamically from predefined IP pool. It is useful for LAN network, but not generally used for production servers. This article will help you for Configuring DHCP Server on CentOS, Red Hat System. 
Install DHCP Package
First install dhcp packages using yum package manager on CentOS, Red hat systems. DHCP rpms are available under base repositories, so we don’t need to add extra repository.
# yum install dhcp
Update /etc/sysconfig/dhcpd File
Firstly we need to set ethernet interface name as DHCPDARGS in /etc/sysconfig/dhcpdfile. Edit this configuration file and update the ethernet name.
 DHCPDARGS=eth1
Configure DHCP Server
DHCP creates an empty configuration file /etc/dhcp/dhcpd.conf. Also it provides a sample configuration file at /usr/share/doc/dhcp*/dhcpd.conf.sample, which is very useful for configuring the DHCP server.
So as a first part, copy content of sample configuration file to main configuration file. Sample configuration file may be changed as per version you have installed on your system.
# cp /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample /etc/dhcp/dhcpd.conf
3.1 – Parameter Configuration
First configure the basic options which is common to all supported networks.
  option domain-name "infosolution.net";
  option domain-name-servers ns1.infosolution.net, ns2.infosolution.net;
  default-lease-time 600;
  max-lease-time 7200;
  authoritative;
  log-facility local7;
3.2 – IP Subnet Declaration
First edit dhcp configuration file and update subnet details as per your network. For this example we are configuring DHCP for 192.168.1.0/24 LAN network.
subnet 192.168.1.0 netmask 255.255.255.0 {
        option routers                  192.168.1.254;
        option subnet-mask              255.255.255.0;
        option domain-search            "infosolution.net";
        option domain-name-servers      192.168.1.1;
        option time-offset              -18000;     # Eastern Standard Time
       range   192.168.1.10   192.168.1.100;
}
3.3 -Assign Static IP Address to Host
In some cases we need to assign a fixed ip to an interface each time it requested from dhcp. We can also assign a fixed ip on basis of MAC address (hardware ethernet) of that interface. Setup host-name is optional to set up.
host station1 {
   option host-name "station1.example.com";
   hardware ethernet 00:11:1A:B2:C1:BA;
   fixed-address 192.168.1.100;
}
Start DHCP Service
After making all above changes, let’s start dhcp service using following commands as per your operating system version.
For CentOS/RHEL 7
# systemctl start dhcp

For CentOS/RHEL 6/5
# service dhcp start
Similarly to stop and restart dhcp service use following commands.
For CentOS/RHEL 7
# systemctl stop dhcp
# systemctl restart dhcp


For CentOS/RHEL 6/5
# service dhcp stop
# service dhcp restart
Step 5: Setup Client System
At this stage we have a running dhcp server which is ready for accepting requests and assign them a proper ip. but to verify I have another CentOS machine running on same LAN. Now login to that client machine and edit Ethernet configuration file.
# vim /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=dhcp
TYPE=Ethernet
ONBOOT=yes
Make sure BOOTPROTO is set to dhcp.
Let’s restart network services on client system. You will get that dhcp server assigned an ip address from defined subnet. If you have connected to client pc from remote login, Your session can be disconnect.
For CentOS/RHEL 7
# systemctl restart network

For CentOS/RHEL 6/5
# service network restart