Solving Call Drop Issue in Elastix / Asterisk

If you change your Network and you find that the working Elastix / Asterisk box is now dropping calls every 15 to 25 secs.  One of the most probable reason is “NAT” .

The solution which worked for me is changing the sip_custom.conf found in /etc/asterisk/ directory.

Open it with your favorite editor such as vim or nano and add the following lines.

externip=1.1.1.1/255.0.0.0  < Your External Ip with Subnet Here >
localnet=192.168.1.0/255.255.255.0 < Your Internal Ip with Subnet Here >
canreinvite=no
NAT=Yes
Qualify=yes
promiscredir=yes

Hope this will help someone.

Thanks,
Salman

Have a Question ? Need Consultancy ? Contact US

Hi Guys , you know that you can ask for free or get free consultancy form us. So, if you want to consult with us regarding Network Setups, Linux , Security and Web Development projects Feel free to ASK !.

Here is how you can Ask !

YouTube: www.youtube.com/linuxking
Facebook Page: www.facebook.com/linuxking77
Facebook Group: www.facebook.com/groups/LZHProject/
Website: www.itpings.com

Thanks,
Sal

Bash script: Search for text in a web app

I started taking small steps into bash scripting with this little tool that help me find a lot of useful stuff in Vtiger, but it can be applyed to anything else with some little mods. This script finds files in Vtiger installation that contain the text requested. It is reporting on the file name and path and also highligsts the line than contains the text. So here is the script. Breakdown is below Continue reading

Missing panel in Ubuntu Mate?

So something went wrong and your panel does no longer appear even after the restart. Here is what you can do after you pulled all the hair.

  • Open your terminal window by clicking the desktop and choosing Open in Terminal
  • Type
    mate-panel --reset

    and press Enter

That should do it, But what if it doesn’t?

  • Open terminal again and type
    mate-control-center

    and press Enter

  • Go to Look And Feel tab on the left and chose Tweak on the right
  • Find where panel settings reside and chose any look of panel that you like and tweak some settings

It has not solved too much for me because the bottom panels were not showing no matter what, but at least I could work and search for the further fixes.

Word Press Plugin Install Error

Hey Guys , so i installed WordPress on Centos 7 and it was successful, but then i faced an Error while installing the plugins. The Error was “Unable to locate WordPress Content directory (wp-content”

It asked to connect with FTP , but kept on failing.

Solution:

Just Give apache permission to www directory and the content beneath it.

[root@itpings]# chown -R apache.apache -R www/ <--- Now Restart httpd [root@itpings opt]# systemctl restat httpd.service <-- Now Try to download the plugin and should work. Thanks, Salman Francis.