Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

When installing the ecss-postgres-bdr-ssw package, the following questions will be asked:

Questions ecss-postgres-bdr-sswReplies for ecss1Пример
Current IP address of the network interface. Select an IP address from the list to use with Postgres

Image Modified

Installing in a cluster?No (needs to be selected)

Image Modified


Без форматирования
titleРезультат:
=======================================================
=======================================================
 ecss-postgres-bdr-ssw successfully installed/updated! 
=======================================================
=======================================================


┏┓┏┓┏┓┏┳┓┏┓┳┓┏┓┏┓  ┳┓┳┓┳┓  ┏┓┏┓┓ ┏
┃┃┃┃┗┓ ┃ ┃┓┣┫┣ ┗┓  ┣┫┃┃┣┫  ┗┓┗┓┃┃┃
┣┛┗┛┗┛ ┻ ┗┛┛┗┗┛┗┛  ┻┛┻┛┛┗  ┗┛┗┛┗┻┛

...

During installation, it will be prompted to configure the parameters necessary for generating configuration files. Examples of replies are below.

ecss-user questionsReplies for ecss1Example
Do you want to use the default settings?Yes (default)

Image Modified

  
ecss-node questionsReplies for ecss1Example

Якорь
Идентификатор ECSS-узла
Идентификатор ECSS-узла
ECSS Node ID in DNS format (cluster name configuring): (any unique name, in example abf.test)

abf.test (needs to be entered)

Подсказка

ECSS_ID format
It must begin and end with a Latin letter or number, while dots and dashes may be used in the body.

Без форматирования
[A-Za-z0-9][A-Za-z0-9.-][A-Za-z0-9]

Image Modified

Do you want to use the standard settings? 

No (needs to be entered)

Image Modified

Select the items you want to configure: 


ntp + cookie  (needs to be entered)

Image Modified

Enter external NTP servers separated by a space: 

ntp.ubuntu.com (default)

Image Modified

NTP: Do you want to use the settings for the cluster? 

No (needs to be entered)

Image Modified

NTP: Do you want to manually define the networks that should have access to NTP? 

Yes (default)

Image Modified

NTP: Enter networks that should have access to NTP separated by a space: (in the example: 10.0.10.0|255.255.255.0 10.0.20.0|255.255.255.0)

10.0.10.0|255.255.255.0 10.0.20.0|255.255.255.0 (needs to be entered)

Image Modified

Cookie for the core node: (specify a unique cookie for the core, in the example: ecss-core-example) 

ecss-core-example (needs to be entered)

Image Modified

Cookie for ds node: (specify a unique cookie for the ds, in the example: ecss-ds-example)

ecss-ds-example (needs to be entered)

Image Modified

Cookie for mediator node: (specify a unique cookie for the mediator, in the example: ecss-mediator-example)

ecss-mediator-example (needs to be entered)

Image Modified

Cookie for mediator pa-sip: (specify a unique cookie for the pa-sip, in the example: ecss-pa-sip-example)

ecss-pa-sip-example (needs to be entered)

Image Modified

Cookie for mycelium: (specify a unique cookie for the mycelium, in the example: ecss-mycelium-example)

ecss-mycelium-example (needs to be entered)

Image Modified

Cookie for sorm: (specify a unique cookie for the sorm, in the example: ecss-sorm-example)

ecss-sorm-example (needs to be entered)

Image Modified

  
ecss-user questionsReplies for ecss1Example

Maximum size of uncompressed dump in bytes.


8G (default)

Image Modified

Maximum size of compressed dump in bytes.2G (default)

Image Modified

The maximum size that the /var/lib/systemd/coredump directory can occupy is:

default (default)

Image Modified

Minimum amount of free disk space in bytes.

30G (default)

Image Modified

Save to a safe place and delete the file /etc/ecss/ssl/ecss10root.key!

Ok (default)

Image Modified

Check the status of services with the following command:

...

Installing ecss-restfs. During installation, you'll be asked a series of questions to create the necessary configuration files. The installer will also prompt you to install and configure the Text2speech package from Yandex.

ecss-restfs questionsRepliesExample
Do you want to use Text To Speeh (TTS service)?No (default)

Image Modified

Do you want to configure phone book?Yes (needs to be selected)

Image Modified

Do you want to configure carddav server?No (default)

Image Modified

Do you want to configure phone book (LDAP)?


No (default)

Image Modified

Do you want to configure phone book (SSW)?No (default)

Image Modified

Do you want to configure speech recognition service?No (default)

Image Modified

Do you want to configure phone book (POSTGRES)?Yes (default)

Image Modified

POSTGRES: postgres service:localhost (default)

Image Modified

POSTGRES: Connection port:5439 (default)

Image Modified

POSTGRES: Login:postgres (default)

Image Modified

POSTGRES: Password:postgres1 (default)

Image Modified

POSTGRES: database:ecss_storekeeper_db (default)

Image Modified

Enter a domain to search:test.domain (default)

Image Modified

POSTGRES: Number of contacts requested:10000 (default)

Image Modified

Do you want to enable transliteration for your phone book (LDAP)?No (default)

Image Modified

Select the items you want to customize:proxy-filter (needs to be selected)

Image Modified

Enable whitelist for api/proxy?

 

Image Modified

Подсказка
titlewhitelist addresses to a file /etc/ecss/ecss-restfs/api-proxy.conf

# -------------------------------------------------------------------
# API Filter File Format (api/proxy):
#   - IP: 192.168.0.1
#   - Domain: example.com
#   - Wildcard: *.wildcard.com
#   - Comments: lines starting with #
# Example:
#   192.168.0.1
#   example.com
#   # comment
#   *.wildcard.com
# -------------------------------------------------------------------

...

For the media server (ecss-media-server/MSR), initial configuration is possible by writing parameters to a configuration file. To do this, configure transport bind-addr,mcc bind-addres:

ecss-media-server questionsReplies for ecss1
[ MSR SIP ] Enter bind-ip address10.0.20.41 (needs to be entered)
[MSR Control-Channel] Enter bind-ip address10.0.20.41 (needs to be entered)

After creating the default configurations, perform a check: 

...

Installing the ecss-web-conf package also automatically installs the ecss-subscriber-portal-ui package. The ECSS-10 Subscriber Portal application allows subscribers to independently manage services, view information on completed calls and active conferences, and configure their own IVR scripts for incoming calls.

ecss-web-conf questionsReplies for both hostsExample
Do you want to use the default settings?Yes (default)

Image Modified

Check the connectivity of the web interface http://10.0.20.41,user/password: admin/password. Not all functions are available at the moment, but the web interface should be working and the login successful.

...

Specify the port and address to which the server can be accessed in the configuration file:

Configuring ssh for ecss1 (/etc/ssh/sshd_config)

# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options override the
# default value.

Port 2000
#AddressFamily any
ListenAddress 10.0.10.10 
#ListenAddress ::

<...>

Restart ssh:

Блок кода
languagebash
titleon both hosts
sudo systemctl restart ssh.service

...