Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name of the section
systemctl service

Parameters

Description

Kamailio Intranet

 

service needs to be restarted after changes:

systemctl restart kamailio_intranet

syslog_facility = LOG_LOCAL0

responsible for kamailio logging

user_agent_header = Ringme SoftSwitch

visible in sip messages

server_header = Ringme SoftSwitch

visible in sip messages

sql_db = ringme

mysql database

sql_user = kamailio

username of db

sql_pass = ${MYSQL_kamailio_PASS}

password of db

main_internal_addr = 127.0.0.1:5060

internal address for sip messages

ws_addr = 127.0.0.1:81

internal address kamailio websocket

sbc_addr = 127.0.0.1:5055

internal address kamailio sbc (internal_addr of Kamailio Sbc section)

sbc_default_external_addr = ${EXT_IP}:5060

default external ip of kamailio sbc

geo_ip_file = /usr/local/ringme-kamailio/etc/GeoLite2-Country.mmdb

optional - geoip database

debug_level = 2

debug logging level

if_logall = 1

mark for logging

listen_list = 127.0.0.1:5060

kamailio intranet listen list

api_base_addr = https://${HTTP_APIDOMAIN}/api/ver1.0

optional - domain address of api. for SMS send usage

rtpengine

 

service needs to be restarted after changes:

systemctl restart rtpengine

table = 1

table number, by this number rtpengine picks up tagged by iptables packets

interface = int/127.0.0.1;${EXT_IP}/${EXT_IP}

rtpengine interfaces (proxying from interface to interface)

when changing interfaces, it is necessary to make same changes in /etc/rtpengine/rtpengine_loop.conf and then restart systemctl restart rtpengine_loop, and these interfaces must strictly correspond to the listen_list in kamailio_sbc, with the exception of the int interface

listen-cli = 127.0.0.1:9900

address of rtpengine-cli utility

silent-timeout = 3600

the call of rtpengine will end when 3600 sec reached

port-min = 8000

The minimum port that rtpnegine will specify in sdp of the sip messages

up to 8000 ports are used in other services

port-max = 65500

The maximum port that rtpnegine will specify in sdp of the sip messages

Kamailio Sbc

service needs to be restarted after changes:

systemctl restart kamailio_sbc

 

syslog_facility = LOG_LOCAL4

responsible for kamailio logging

user_agent_header = Ringme Sbc

visible in sip messages

server_header = Ringme Sbc

visible in sip messages

main_kamailio_addr = 127.0.0.1:5060

kamailio intranet listen_list parameter

debug_level = 2

debug logging level

if_logall = 1

mark for logging

listen_list = ${EXT_IP}:5060 udp:${EXT_IP}:5068

kamailio sbc listen list,

when changing interfaces, it is necessary to make same changes in /etc/rtpengine/rtpengine_loop.conf and then restart systemctl restart rtpengine_loop, also these interfaces must strictly match the interfaces in the rtpengine section, excluding the “int” interface

internal_addr = udp:127.0.0.1:5055

internal address kamailio sbc

Kamailio Web Socket

service needs to be restarted after changes:

systemctl restart kamailio_ws

syslog_facility = LOG_LOCAL3

responsible for kamailio logging

user_agent_header = Ringme SoftSwitch

visible in sip messages

server_header = Ringme SoftSwitch

visible in sip messages

main_kamailio_addr = udp:${EXT_IP}:5060

kamailio intranet listen_list parameter

listen_list = 127.0.0.1:81

kamailio ws listen list

jsonrpc_addr = http://127.0.0.1:5060/jsonrpc/

kamailio intranet main_internal_addr

sql_user = kamailio

username of db

sql_pass = ${MYSQL_kamailio_PASS}

password of db

sql_db = ringme

база данных mysql

sql_host = 127.0.0.1

mysql database ip addr

rest-api

 

service needs to be restarted after changes:

systemctl restart rest-api3

sql_host = 127.0.0.1

mysql database ip addr

sql_user = restapi

username of db

sql_password = ${MYSQL_restapi_PASS}

password of db

sql_db = ringme

main db of mysql

sql_log_db = ringme_log

mysql db

sql_journal_db = teleoffice_stat

mysql db where store temporary tables for journal of the client_interface

sql_select_host = 127.0.0.1

hosts for SELECT queries, only useful for more than 1 mysql instance, if 1 host is not available another one will be used. When all mysql hosts are available, clients will be balanced between hosts for cdr requests

#ampq_notify_del_rec_disable = True

If uncommented - conversation recording files will be deleted only in the database, they will not actually be deleted

couchbase_host = 127.0.0.1

ip address of the couhbase (nosql)

couchbase_port = 8091

port of the couhbase (nosql)

couchbase_rest_api_cache_bucket = rest_api

bucket for cahce

couchbase_rest_api_bucket = rest_api

bucket for rest-api data

couchbase_rest_api_password =${CB_rest_api_PASS}

bucket password

couchbase_rest_api_user = rest_api

bucket user

log3_file = /var/log/rest-api3/restapi3.log

rest-api log-file

cdr_log_file = /var/log/cdr_api/cdr_api.log

log-file of cdr part of the rest-api

couchbase_db_host = 127.0.0.1

ip address of the couhbase (nosql)

couchbase_db_port = 8091

port of the couhbase (nosql)

couchbase_db_bucket = event_socket_conf

bucket for phone data

couchbase_db_password = ${CB_event_socket_conf_PASS}

bucket phone data password

kamailio_internal_host = 127.0.0.1

kamailio intranet address listen_list parameter, where goes requests for registration, etc.

kamailio_internal_port = 5060

port kamailio intranet listen_list

amqp_host = 127.0.0.1

ip address of the message-broker “rabbitmq”

sound_upload_folder = /var/lib/freeswitch/sounds

folder for upload, contains sounds, that can be use in calls

fax_upload_folder = /var/lib/freeswitch/fax/send

куда загружаются факсы через апи, которые нужно отправить и переотправить при необходимостиwhere faxes are loaded via api, which need to be sent and resent if necessary

fs_rpc_user = freeswitch-rpcпользователь rpc медиа-

сервераmedia server rpc user

fs_rpc_password = ${FS_XML_RPC_PASS}

пароль rpc медиа-сервераmedia server rpc user’s password

fs_esl_password = ClueCon

пароль к password to the media server’s event-soket library медиа-сервера

pkey = ${RESTAPI_PKEY}

неизменямеый параметрimmutable parameter

secret_key = ${RESTAPI_SECRETKEY}

неизменямеый параметрimmutable parameter

request_log_file = /var/log/rest-api/restapi_request.logлог-файл

file for logging

swagger_ui = true

если установлен- то по адресу домена апи + if set - swagger shows at the api domain address like: api.domain/api/ver1.0/ будет отображатся swagger

swagger_ui_oauth_client_id = ${RESTAPI_SWAGGER_OAUTH_ID}

апи приложение для сваггераapi app for swagger

swagger_cdr_url = https://${HTTP_APIDOMAIN}/api/ver1.0/client_api_cdr.json

cdr-часть сваггераpart of the swagger

logo_path = /static/img/logo.png

путь к логотипуlogo path

language = enязык страниц апи

language of some api pages

timezone = UTC

таймзона по умолчаниюdefault timezone

record_archive_dir = /var/lib/record_archive

директория, куда складываются архивы записей разговоров (соотв. ресурса архивирования записейdirectory for records archives (rest-api resource)

storage_host =параметр, при наличии которого будет использовано внешнее хранилище

if set - storage will be used in rest-api

storage_key =необходим для расшифорвания ссылки в ресурсе storage

key for encrypt and decrypt storage link (to access record file via storage)

add_module_path3=кастомные модули, которые могут быть добавлены в разные инстансы апи

custom modules that can be added to different api instances

trusted_apps = ${RESTAPI_TRUSTED_APPS}

доверенные приложенияtrusted apps

max_call_rows = 500000максимальное количество строк, доступное для запроса статистики в одном запросе

the maximum number of rows available for querying statistics in a single query

max_record_archive_size = 5242880000

максимальный размер архива записейmaximum archive size

read_only = false

параметр, если надо на время (до следующего перезапуска и изменения параметра) запретить изменения в апиif necessary for a while to disable changes to the api (until the next restart and parameter change)

admin_email = $ADMIN_EMAIL,$SUPPORT_EMAILпочта админа, поддержки, куда будут уходить письма по истечению

лицензииadmin and support mail, where letters will go after the license expires

message_send_url =

url , куда отправляются исходящие for outgoing sms

trusted_noauth_ip = 127.0.0.1

ip , с которого не надо авторизоваться в апиfor disabled auth

trusted_noauth_endpoints = api.messageoutресурсы

, на которые не нужно авторизоваться с endpoints where can be disabled auth (for trusted_noauth_ip)

ringme-admin

service needs to be restarted after changes:

systemctl restart ringme-admin

api_host = https://${HTTP_APIDOMAIN}

app_key = ${RINGME_ADMIN_KEY}

app_secret = ${RINGME_ADMIN_SECRET}

log_file = /var/log/ringme-admin/ringmeadmin.log

secret_key = ${RINGME_ADMIN_SECRET_KEY}

client_info_keys = interface

client_interface_url = https://${HTTP_CLIENTDOMAIN}

eso_conf

service needs to be restarted after changes:

systemctl restart eso_conf

couchbase_host = 127.0.0.1

couchbase_port = 8091

couchbase_bucket = event_socket_conf

couchbase_bucket_username = event_socket_conf

couchbase_bucket_password = ${CB_event_socket_conf_PASS}

kamailio_host = 127.0.0.1

default_language = ru

log_file = /var/log/eso_conf/eso_conf.log

INTERNAL_CODEC_STRING=PCMU,PCMA,OPUS,G722

EXTERNAL_CODEC_STRING=PCMU,PCMA

stt_record_dir=/ssd/stt_eso

event_processor

service needs to be restarted after changes:

systemctl restart event_processor

 

amqp_host = 127.0.0.1

sql_host = 127.0.0.1

sql_user = fs_service

sql_password = ${MYSQL_fs_service_PASS}

sql_log_db = ringme_log

fs_rpc_host = 127.0.0.1

fs_rpc_user = freeswitch-rpc

fs_rpc_password = ${FS_XML_RPC_PASS}

fs_esl_host = 127.0.0.1

fs_esl_port = 8021

fs_esl_password = ClueCon

couchbase_host = 127.0.0.1

couchbase_bucket = event_socket_conf

couchbase_bucket_password = ${CB_event_socket_conf_PASS}

log_file = /var/log/event_processor/event_processor.log

storage_hostname = storage.ringme.ru

record_move_disk = ringme01

record_move_path = True

record_move_http_url1= x.x.x.x:8888/upload.pm

email_to_fax

service needs to be restarted after changes:

systemctl restart email_to_fax


pop3_host = ${EMAIL_TO_FAX_POP3_HOST}

pop3_user = ${EMAIL_TO_FAX_POP3_USER}

pop3_password = ${EMAIL_TO_FAX_POP3_PASS}

pop3_ssl = true

fax_upload_folder = /var/lib/freeswitch/fax/send

sql_host = 127.0.0.1

sql_user = restapi

sql_password = ${MYSQL_restapi_PASS}

sql_db = ringme

sql_log_db = ringme_log

rest_api_host = https://${HTTP_APIDOMAIN}

log_file = /var/log/email_to_fax/email_to_fax.log

couchbase_host = 127.0.0.1

couchbase_port = 8091

couchbase_freeswitch_bucket = event_socket_conf

couchbase_freeswitch_bucket_password = ${CB_event_socket_conf_PASS}

queue_sync

service needs to be restarted after changes:

systemctl restart queue_sync

amqp_host = 127.0.0.1

fs_rpc_host = 127.0.0.1

fs_rpc_user = freeswitch-rpc

fs_rpc_password = ${FS_XML_RPC_PASS}

log_file = /var/log/queue_sync/queue_sync.log

fax_send

service needs to be restarted after changes:

systemctl restart fax_send

amqp_host = 127.0.0.1

conf_host = 127.0.0.1

fs_rpc_host = 127.0.0.1

fs_rpc_user = freeswitch-rpc

fs_rpc_password = ${FS_XML_RPC_PASS}

log_file = /var/log/fax_send/fax_send.log

sql_host = 127.0.0.1

sql_user = fs_service

sql_password = ${MYSQL_fs_service_PASS}

sql_log_db = ringme_log

file_sync

service needs to be restarted after changes:

systemctl restart file_sync

amqp_host = 127.0.0.1

conf_host = 127.0.0.1

log_file = /var/log/file_sync/file_sync.log

Init Call Center

will be rereaded after media-server restart

sqlite_path = /dev/shm/callcenter.db

cb_host = 127.0.0.1

cb_pass = ${CB_event_socket_conf_PASS}

cb_bucket = event_socket_conf

log_file = /var/log/freeswitch/init-callcenter.log

record_archiver

service needs to be restarted after changes:

systemctl restart file_sync

amqp_host = 127.0.0.1

archive_dir = /var/lib/record_archive

log_file = /var/log/record_archiver/record_archiver.log

eso_queue

service needs to be restarted after changes:

systemctl restart eso_queue

FS_ESL_PASSWORD = ClueCon

kamailio_host = localhost

kamailio_port = 5060

FS_RPC_USER = freeswitch-rpc

FS_RPC_PASS = ${FS_XML_RPC_PASS}

xml_conf

service needs to be restarted after changes:

systemctl restart xml_conf

 

couchbase_host = 127.0.0.1

couchbase_port = 8091

couchbase_bucket = event_socket_conf

couchbase_bucket_password = ${CB_event_socket_conf_PASS}

log_file = /var/log/xml_conf/xml_conf.log

instant_event_processor

service needs to be restarted after changes:

systemctl restart instant_event_processor

 

amqp_host = 127.0.0.1

couchbase_host = 127.0.0.1

couchbase_bucket = event_socket_conf

couchbase_bucket_password = ${CB_event_socket_conf_PASS}

sql_host = 127.0.0.1

sql_user = fs_service

sql_password = ${MYSQL_fs_service_PASS}

sql_log_db = ringme_log

fs_esl_host = 127.0.0.1

fs_esl_port = 8021

fs_esl_password = ClueCon

log_file = /var/log/instant_event_processor/instant_event_processor.log

Cdr

service needs to be restarted after changes:

systemctl restart cdr

 

sql_user = cdr

sql_pass = ${MYSQL_cdr_PASS}

sql_host = 127.0.0.1

rmq_host = 127.0.0.1

Cdr Event Collector

service needs to be restarted after changes:

systemctl restart cdr_event_collector

 

esl_host = 127.0.0.1

esl_port = 8021

esl_pass = ClueCon

rmq_queue_hooks_name = eslq_hooks

Event Generator


service needs to be restarted after changes:

systemctl restart event_generator

log_level = INFO

request_tout = 4

max_concurrent_threads = 500

esl_host = 127.0.0.1

esl_port = 8021

cb_bucket = event_socket_conf

cb_pass = ${CB_event_socket_conf_PASS}

esl_pass = ClueCon