Установка kamailio на CentOS 7
Поделиться ссылкой:
Для установка kamailio на сервер нам необходимо подключить официальный репозиторий kamailio. Для этого выполняем.
cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/home:/kamailio:/v5.1.x-rpms/CentOS_7/home:kamailio:v5.1.x-rpms.repo
На этом этапе подключится репозиторий. Дальше делаем обновление базы пакетов YUM
yum update
После чего можно посмотреть какой набор модулей идет с kamailio и доступен для установки.
yum search kamailio
В выводе увидим
kamailio.x86_64 : Kamailio (former OpenSER) - the Open Source SIP Server
kamailio-bdb.x86_64 : Berkeley database connectivity for Kamailio
kamailio-carrierroute.x86_64 : The carrierroute module for Kamailio
kamailio-cpl.x86_64 : CPL (Call Processing Language) interpreter for Kamailio
kamailio-crypto.x86_64 : Module to support cryptographic extensions for use in the Kamailio configuration
kamailio-debuginfo.x86_64 : Debug information for package kamailio
kamailio-dialplan.x86_64 : String translations based on rules for Kamailio
kamailio-geoip.x86_64 : MaxMind GeoIP support for Kamailio
kamailio-gzcompress.x86_64 : Compressed body (SIP and HTTP) handling for kamailio
kamailio-http_async_client.x86_64 : Async HTTP client module for Kamailio
kamailio-http_client.x86_64 : HTTP client module for Kamailio
kamailio-ims.x86_64 : IMS modules and extensions module for Kamailio
kamailio-jansson.x86_64 : JSON string handling and RPC modules for Kamailio using JANSSON library
kamailio-json.x86_64 : JSON string handling and RPC modules for Kamailio
kamailio-kazoo.x86_64 : Kazoo middle layer connector support for Kamailio
kamailio-lcr.x86_64 : Least cost routing for Kamailio
kamailio-ldap.x86_64 : LDAP search interface for Kamailio
kamailio-lua.x86_64 : Lua extensions for Kamailio
kamailio-memcached.x86_64 : Memcached configuration file support for Kamailio
kamailio-mysql.x86_64 : MySQL database connectivity for Kamailio
kamailio-outbound.x86_64 : Outbound (RFC 5626) support for Kamailio
kamailio-perl.x86_64 : Perl extensions and database driver for Kamailio
kamailio-postgresql.x86_64 : PostgreSQL database connectivity for Kamailio
kamailio-presence.x86_64 : SIP Presence (and RLS, XCAP, etc) support for Kamailio
kamailio-python.x86_64 : Python extensions for Kamailio
kamailio-radius.x86_64 : RADIUS modules for Kamailio
kamailio-redis.x86_64 : Redis configuration file support for Kamailio
kamailio-regex.x86_64 : PCRE mtaching operations for Kamailio
kamailio-sctp.x86_64 : SCTP transport for Kamailio
kamailio-snmpstats.x86_64 : SNMP management interface (scalar statistics) for Kamailio
kamailio-sqlang.x86_64 : Squirrel Language (SQLang) for Kamailio
kamailio-sqlite.x86_64 : SQLite database connectivity for Kamailio
kamailio-tls.x86_64 : TLS transport for Kamailio
kamailio-unixodbc.x86_64 : UnixODBC database connectivity for Kamailio
kamailio-utils.x86_64 : Non-SIP utitility functions for Kamailio
kamailio-uuid.x86_64 : UUID generator for Kamailio
kamailio-websocket.x86_64 : WebSocket transport for Kamailio
kamailio-xhttp-pi.x86_64 : Web-provisioning interface for Kamailio
kamailio-xmlops.x86_64 : XML operation functions for Kamailio
kamailio-xmlrpc.x86_64 : XMLRPC transport and encoding for Kamailio RPCs and MI commands
kamailio-xmpp.x86_64 : SIP/XMPP IM gateway for Kamailio
kamailio-auth-ephemeral.x86_64 : Functions for authentication using ephemeral credentials
kamailio-auth-xkeys.x86_64 : Functions for authentication using shared keys
kamailio-cnxcc.x86_64 : Module provides a mechanism to limit call duration
kamailio-dmq_userloc.x86_64 : User location records replication between multiple servers
kamailio-rtjson.x86_64 : SIP routing based on JSON specifications
kamailio-sipcapture-daemon-config.x86_64 : reference config for sipcapture daemon
kamailio-sipdump.x86_64 : This module writes SIP traffic and some associated details into local files
kamailio-statsd.x86_64 : Send commands to statsd server
kamailio-tcpops.x86_64 : On demand and per socket control to the TCP options
Можно приступить к установке.
yum install -y kamailio
Аналогичным образом устанавливаются дополнения для kamailio. И включаем в автозагрузку.
chkconfig kamailio on