Changing server IP: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
(Created page with "If you like to change the server IP, you need to perform additional activities to ensure all continue to work. * Change the server IP in /etc/sysconfig/network-scripts/ifcfg-...")
(No difference)

Revision as of 07:52, 23 October 2016

If you like to change the server IP, you need to perform additional activities to ensure all continue to work.

  • Change the server IP in /etc/sysconfig/network-scripts/ifcfg-* (assuming you are running CentOS)
  • Change the direct IP resolving in /etc/hosts
  • Change the peer IP in /etc/asterisk/sip.conf
  • Change the allowed IP in /etc/asterisk/manager.conf
  • Change the IP in /var/lib/asteirsk/agi-bin/devstate.conf.php
  • Change the IP in Admin/PBX Nodes
  • Restart the server