step by step instlation - PhantomVl/sccp_manager GitHub Wiki

Step by step instlation.

1. First, I hope that you have already performed the installation of Freepbx ? But for those who forget something:

 * [The most simple installation](https://www.freepbx.org/downloads/freepbx-distro/)
 * [Form source](https://wiki.freepbx.org/pages/viewpage.action?pageId=1048598)

2. You'll need installed, and slightly preconfigured driver chain_sccp.

 * [Page project of chain_sccp](https://github.com/chan-sccp/chan-sccp)
cd /usr/src/

git clone https://github.com/chan-sccp/chan-sccp.git chan-sccp
cd chan-sccp
./configure --enable-conference --enable-advanced-functions --enable-distributed-devicestate
make
make install
mysql -p asterisk < conf/mysql-v5_enum.sql

3. To make sure that the chan_sccp.so module can be loaded you have to make sure that chan_skinny.so does not get loaded, because the use the same port to listen on. You can do so by editing /etc/asterisk/modules.conf and inserting:

noload => chan_skinny.so

Without this entry both modules will get loaded and you will receive an error message in the message log, stating that chan_sccp.so has failed to load.

4. Restart Asterisk.

It must be done now to problems with installation of basic functions does not prevent the configuration of the system. Do this in any of the following ways:

  • reboot machine.
  • *CLI> core restart now
  1. Now it is time to configure tftpd and dhcpd services.

6. Firewall

Turn off Firewall or ...

Centos 7
firewall-cmd --zone=public --add-port=2000/tcp --permanent
firewall-cmd --zone=public --add-service=tftp --permanent
firewall-cmd --zone=public --add-port=6970/tcp --permanent
firewall-cmd --zone=public --add-port=5060/udp --permanent
firewall-cmd --zone=public --add-port=5061/udp --permanent
firewall-cmd --zone=public --add-port=4569/udp --permanent
firewall-cmd --zone=public --add-port=5060/tcp --permanent
firewall-cmd --zone=public --add-port=5061/tcp --permanent
firewall-cmd --zone=public --add-port=5038/tcp --permanent
firewall-cmd --zone=public --add-port=10000-20000/udp --permanent
firewall-cmd --reload

7. Now you download the Scpp Manager !

cd /var/www/html/admin/modules/
git clone https://github.com/PhantomVl/sccp_manager.git
amportal chown
  or 
fwconsole chown

8. Install the Scpp Manager.

  • Use GUI: Open "Admin" -> "Module Admin". Fiend the module and follow the procedure of installation. If everything was done correctly - the Manager will be successfully installed.
  • Use cli:
amportal a ma install sccp_manager

9. Press button "Apply Config" in top-right corner.

10. Now You Can begin start configuring your phone station:

  • open page "SCCP Connectivity" -> "Server Config". Change the settings according to your system. Save them.
  • open page "SCCP Connectivity" -> "System Parameters". Make sure that the model of your phone displayed in the device list, and they are not marked in red.
  • The next step will be the creation of telephone numbers fore SCCP. open page "SCCP Connectivity" -> "Phones Manager"