v/1.12.0

Upgrade to 1.12 - only from version 1.11.9 and later: first update the system to 1.11.9.

Version 1.12 changes the types of date-time fields in ClickHouse tables, masks psk in local.cfg.json and encrypts some of the settings secrets.

Versions before 1.11.9 do not read this data, 1.11.9 reads it - the rollback to it is saved.

Requires attention when updating (BREAKING CHANGE)

  • The administrator bot replaces the Telegram monitoring bot. For its operation, microservices im (on the central site) and dms are needed. The system_telegram_bot and telegram_bot_token parameters have been replaced with admin_imi_options; The bot and connected administrators are transferred automatically.

  • Processing of codec lists has been reworked: the order of the offer is set by the configuration, codecs can be excluded from the added base ones and from the incoming offer, G729 is not offered by default, the provider’s codec list is valid only on its shoulder.

  • Secrets in domain settings and s3 storage keys are stored encrypted and are not returned in clear text; scripts receive them via domain.settings encrypted.

  • Checks in scripts have been tightened: invalid date in date functions, eval nesting, script copying.

  • Aggregating function join: separator is the first argument.

  • The name of the new dynamic data model class must contain a section (section/name).

  • IAM rules with authenticated mode require a session.

  • Implicit conference-to-conference calls are blocked.

  • Receiving mail via IMAP takes into account the ssl parameter.

New

  • Administrator bot in Telegram, MAX and VK: connect chat with a one-time code, each administrator has his own language and set of notification sections, customizable daily report time. Settings — master domain parameter admin_imi_options.

  • Speech synthesis and recognition Yandex Cloud SpeechKit has been transferred to API v3: streaming recognition, synthesis without waiting for completion, new voices. Service addresses are specified by the grpc_tts, grpc_stt fields of the yandex_cloud settings; the uri_tts and uri_asr_short fields are no longer used.

  • SIP over WebSocket and mobile devices: the server (SG) checks connections using ping requests (ws_ping_interval) and removes the missing device in 50-75 seconds; backup call and wake-up by push notification - after 2 seconds; reconnecting the device does not lose registration and incoming calls.

  • The call diagram and trn logs are available even after clearing the connection cache.

  • Subscription of the master domain to telephony events of all domains.

  • Aggregating function count_distinct.

  • Static files of the web server support HTTP Range: audio and video rewinding works.

  • SG, ESG, redirect and WS begin to accept requests on the addresses that appeared on the server after startup, without restarting the node.

  • Log of transitions of clients of external web server hosts (ws/ArchiveReferers).

  • Messenger channels (uc/imchannels) are available in the master domain.

  • Options for sending instant messenger messages are taken into account in Telegram.

  • Operations info and message of the SIP user device.

  • Service tasks: dtstart and dtstop fields are optional.

  • Optimized and accelerated comparison of platform files on servers in system state.

Fixes and improvements

  • Fixed a number of issues with processing SIP calls and presence subscriptions (BLF).

  • Fixed a number of bugs in the coordination of codecs and media.

  • Media Gateway: improved switching of sending to another socket when the incoming stream changes.

  • Fixed substitution of the address book contact name in the SIP user display name modifier ({A}).

  • Increased resilience to node and network failures.

  • The DMS microservice prepares notifications about data changes faster, uses less CPU and holds fewer processes: subscriptions with the “property equals value” filter are selected by index, class processes are created as needed (role parameter class_workers_lazy).

  • Reducing the license for domains does not unload all domains: those that do not fit into the license are displayed as blocked, the administrator chooses which ones to enable; when the license is increased, they are launched automatically.

  • Fixed a number of shortcomings in REST, websocket and webhooks: responses and errors, filtering and subscription timing, event format.

  • Fixed a number of shortcomings in the collections of the dynamic data model; In ClickHouse, datetime is stored in UTC with milliseconds.

  • A number of shortcomings in script components and functions have been corrected, and their resistance to incorrect values has been increased.

  • Fixed file API and script editor vulnerabilities; proxy of external hosts does not transmit cookies and platform session token (for proxying the platform itself, use the pass_session route parameter).

  • Fixed vulnerabilities in the web phone API (bypassing authorization) and downloading a file via a link (writing outside the section); an unknown token on REST API routes with a session is counted as a failed login attempt.

  • File operation errors are no longer reported as success.

  • Fixed installation of a platform with several database connection strings and preparation of an update if the update file name contains special characters.

  • Fixed a number of shortcomings in service mechanisms: voicemail, conversation log SORM3, Kafka, backup mode, product installation, data synchronization (ETL).

  • Node processes in the list of processes are located by name: the node line begins with e!<node> (central - E!<node>), its run_erl - with r!<node> (R!<node>); there are two processes per node, including a service one, instead of three. Cookies are not passed on the command line of node processes, including service ones, and are not written to the log when they are launched. The local.cfg.json file is available only to the platform user; psk is stored in it in a masked form (at the first start after the update, the open value is replaced).

  • Fixed: a container running as non-root did not set the limit of open files at startup.