Created
July 20, 2016 20:27
-
-
Save fagnersilva/f637e1b2ebeac4d225556b3f9ed55960 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://opensips.com.br/wiki/index.php?title=OpenSIPs_e_Asterisk | |
| https://www.powerpbx.org/content/kamailio-supernode-siremis-gui-install-guide-v1 | |
| https://www.sipwise.com/products/sipwise-c5/ | |
| https://www.voztovoice.org/?q=node/582 | |
| http://www.asipto.com/pub/kamailio-devel-guide/ | |
| https://dopensource.com/2016/05/10/kamailio-quick-install-guide/ | |
| https://www.kamailio.org/wiki/cookbooks/4.4.x/core | |
| ============================================================ | |
| fifo | |
| http://nil.uniza.sk/sip/kamailio/kamctl-moni-fifo-error-problem | |
| loadmodule "mi_fifo.so" | |
| #!ifdef WITH_HOMER_GEO | |
| modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo") | |
| #!endif | |
| ============ | |
| Warning: Using a password on the command line interface can be insecure. | |
| mysql_config_editor set --login-path=kamailio --host=localhost --user=kamailio --Cinf@1008 | |
| mysql_config_editor set --login-path=kamailioro --host=localhost --user=kamailioro --Cinf@1008 | |
| ============ | |
| ### Instalando o Kamailio 4.4.x no CentOS 6.7 | |
| 0 - Destive o firewall e SELinux | |
| $ sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config | |
| $ echo "iptables -F" >> /etc/rc.local | |
| 1 - Instalando as dependencias. | |
| $ yum -y install wget vim epel-release git && yum -y groupinstall core && yum -y groupinstall base && yum -y groupinstall "Development Tools" && yum -y update | |
| $ yum -y install httpd mysql-server php php-mysql php-gd php-curl rtpproxy | |
| $ root | |
| $ yum install bash-completion | |
| 2 - Vamos baixar o arquivo repo yum para nossa versão Cent OS. | |
| $ cd /etc/yum.repos.d/ | |
| $ wget http://download.opensuse.org/repositories/home:/kamailio:/v4.4.x-rpms/CentOS_6/home:kamailio:v4.4.x-rpms.repo | |
| $ yum search kam | |
| ### Instalando Banco de Dados, Kamailio e os módulos requerido | |
| 0 - cd /usr/src | |
| 1 - wget http://dev.mysql.com/get/mysql57-community-release-el6-8.noarch.rpm | |
| 2 - yum -y localinstall mysql57-community-release-el6-8.noarch.rpm | |
| 3 - yum install mysql-community-server.x86_64 | |
| 4 - service mysqld start | |
| 5 - chkconfig mysqld on | |
| 6 - echo "bind-address=0.0.0.0" >> /etc/my.cnf | |
| 7 - grep 'temporary password' /var/log/mysqld.log | |
| 8 - /usr/bin/mysql_secure_installation | |
| GRANT ALL PRIVILEGES ON siremis.* TO siremis@localhost IDENTIFIED BY 'siremisrw'; | |
| mysql> grant all on *.* to root identified by 'Cinf@1007'; | |
| service mysqld restart | |
| mysql> flush privileges; | |
| mysql> quit | |
| service mysqld restart | |
| 9 - yum install -y kamailio kamailio-mysql kamailio-debuginfo kamailio-unixodbc kamailio-utils kamailio-presence kamailio-tls | |
| 10 - chkconfig kamailio on | |
| 11 - chown kamailio:kamailio /etc/default/kamailio | |
| 12 - chown -R kamailio:kamailio /etc/kamailio/ | |
| chkconfig mysqld on | |
| chkconfig httpd on | |
| chkconfig rtpproxy on | |
| ### Criando duas Extensions no Kamailio | |
| kamctl add [email protected] 123456 | |
| kamctl add [email protected] 123456 | |
| ====== | |
| Instalalndo o HOMER 5 | |
| 0 - Destive o firewall e SELinux | |
| $ sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config | |
| $ echo "iptables -F" >> /etc/rc.local | |
| 1 - Instalando as dependencias. | |
| $ yum install wget vim epel-release git bash-completion | |
| $ yum groupinstall "Development Tools" | |
| $ yum update | |
| 2 - Instalando RVM Ruby | |
| $ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
| $ \curl -sSL https://get.rvm.io | bash -s stable --ruby | |
| 2 - Instalando fpm | |
| $ gem install fpm | |
| 3 - | |
| $ cd /usr/src | |
| $ git clone https://github.com/sipcapture/homer-installer | |
| $ cd homer-installer | |
| $ ./generate_rpm.sh | |
| $ yum install homer-installer-5.0.5-1.x86_64.rpm | |
| * Verify configuration for HOMER-API: | |
| '/var/www/html//api/configuration.php' | |
| '/var/www/html//api/preferences.php' | |
| * Verify capture settings for Homer/Kamailio: | |
| '/etc/kamailio/kamailio.cfg' | |
| * Start/stop Homer SIP Capture: | |
| '/sbin/kamctl start|stop' | |
| * Access HOMER UI: | |
| http://192.168.24.82 or http://192.168.24.82 | |
| [default: admin/test123 or test1234] | |
| * Send HEP/EEP Encapsulated Packets: | |
| hep://192.168.24.82:9060 | |
| ==================================================== | |
| https://github.com/sipcapture/homer/wiki/Examples%3A-Kamailio | |
| https://github.com/sipcapture/homer/wiki/Quick-Install | |
| https://github.com/sipcapture/homer-installer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment