Versions Compared

Key

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

Webitel Phone  доступен для 3-х платформis available for 3 platforms: Windows, Linux и and MacOS. Формат файла конфигурации The format of the user_config.json общий для всех платформ и будет рассмотрен ниже.Рассмотрим приоритет подключения файла конфигурации приложением, в зависимости от его размещенияconfiguration file is common to all platforms and will be discussed below.

Table of Contents

Приоритет размещения

Приоритет поиска файла конфигурации приложения:

  1. Запуск приложения с помощью ключа -c или --config.
  2. В профиле пользователя.
  3. В директории приложения.

Order priority

The priority of the search for the application configuration file:

  1. Run the application with the -c or --config switch.
  2. In the user profile directory
  3. In the application directory.

Run-time key

You can specify the path to the configuration file using the key

Ключ запуска

Вы можете указать путь к файлу конфигурации с помощью ключа:

Code Block
webitel-phone -c tmp/user_config.json

либоor

Code Block
webitel-phone --config=tmp/user_config.json


User profile directory

The location depends on the operatiщт system

Профиль пользователя

Нахождение зависит от операционной системы.

macOS

В Finder нажать меню Go и зажать option - открыть Library/Библиотека.

At the Finder, click the Go menu and hold the option - open Library.

Full patchПолный путь: ~/Library/Application Support/webitel-phone/user_config.json

Multimedia
namemcosx_conf.mp4

Linux

Полный путьFull patch: : ~/.config/webitel-phone/user_config.json

Windows

Multimedia
namewin_appdata.mp4

Полный путьFull patch: : %appdata%\webitel-phone\user_config.json

Конфигурационный файл

Configuration file

Code Block
languagejs
titleuser_config.json
linenumberstrue
{
	"server": "https://cloud-ua1.webitel.com/engine/",
	"theme": "dark",
	"useWebPhone": true,
	"ringInboundCall": true,
	"notifyNewCall": true,
	"notifyMissedCall": true,
	"usePostProcess": true,
	"alwaysOnTop": true,
	"useDomainAuth": false,
	"domainOAuthServer": "https://adfs.webitel.ua/adfs/oauth2/authorize",
	"domainOAuthResource": "webitel.adfs.identifier",
	"domainOAuthClientId": "webitel.adfs.client_id",
	"domainOAuthDomainName": "tel.bpmonline.com",
	"useHotdesk": false,
	"hotLinks": [
    {
      "name": "kibana dashboard",
      "src": "https://cloud-ua1.webitel.com/kibana/goto/20afb128036d9b8c57d4a447add55bb4?x_key=${KEY}&access_token=${TOKEN}"
    },
    {
      "name": "Наша CRM",
      "src": "https://webitel.bpmonline.com/"
    }
  ]
}


Массив с ссылками, что будет отображаться в приложение Webitel Phone
keyТипОписание
server
строкаstringСтрока подключения к серверу Webitel Engine app server access address
theme
строкаstringТема webitelWebitel-phone theme
useWebPhone
логическоеbooleanВключить поддержку протокола WebRTCincludes WebRTC protocol support. If this feature is disabled, a hardware IP phone must be configured
ringInboundCall
логическоеboolean
a sound file is playing for an incoming call  Включить звуковую сигнализацию о входящем звонке
notifyNewCall
логическоеboolean
Включить уведомление о входящем звонкеadditional information is displayed with the ability to manage the incoming call 
notifyMissedCall
логическоеboolean
displays information about missed calls in a separate pop-up window on a screen Включить уведомление о пропущенном звонке
usePostProcess
логическоеboolean
Включить окно постобработки звонка из дайлераdisplays the post-processing window for outgoing calls 
alwaysOnTop
логическоеboolean
Вверху всех окон
useDomainAuth
логическоеboolean
Включить доменную авторизациюwill turn on the domain authorization
domainOAuthServer
строкаstringАдрес ADFS сервера для доменной авторизацииADFS server access address for domain authorization
domainOAuthResource
строкаstringResource name for domain authorizationНазвание ресурса для доменной авторизации
domainOAuthClientId
строкаstringApplication name for domain authorizationНазвание приложения для доменной авторизации
domainOAuthDomainName
строкаstringWebitel domain name for domain authorizationНазвание домена webitel для доменной авторизации
useHotdesk
логическоеboolean
will turn on HotDesk functionalityВключить поддержку ыункционала HotDesk
hotLinks
массивmultiple dataArray with a links for external resources, which will be displayed at Webitel Phone

More information about domain authorization: Login window