Versions Compared

Key

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

Основной принцип интеграции описан нижеThe main principle of the integration is described below:

Gliffy Diagram
nameMSSQL
pagePin1

  1. Webitel Server отправляет файл конфигурации через HTTP в службу SQL4Dialer. Сервис применяет файл конфигурации и в соответствии с файлом получает данные из sends configuration file via HTTP to the SQL4Dialer Service. The Service applies configuration file and according to the file get data from the MS SQL.
  2. Сервис SQL4Dialer создает новых участников в  Webitel dialer через стандартный The SQL4Dialer Service create new members in the Webitel dialer via standard HTTP REST API , используя domain using the domain token.

Установка

Вам понадобиться ПК с Windows, который имеет доступ к MS SQL и доступен с сервера Webitel.

Installation

You will need a Windows PC that has access to the MS SQL and is reached from the Webitel Server.

  1. Download and unpach archiveСкачать и распаковать архивsql4dialer.goweb.winamd64.zip
  2. Откройте файл Open conf/app.conf и измените значение file and change the value of the http.addr на свой IP-адрес to your IP address (your_ip_address)
  3. Сохранить файл
  4. Save the file
  5. Open CMD or PowerShell inside application folder and run: Откройте CMD или PowerShell в папке с приложением и запустите:

    Code Block
    .\sql4dialer.goweb> sql4dialer.exe -install

    Это установит приложение в качестве Сервиса Windows

  6. Перезагрузите компьютер

  7. This will install application as a Windows Service

  8. Reboot the PC
  9. After reboot, please, try to open the addressПосле перезагрузки, пожалуйста, попробуйте открыть адрес: http://your_ip_address:9000/sql4dialer . Вы увидите такой ответ:You will see such response: 

    Code Block
    { "result": [] }


Domain token

Для действий импорта / экспорта у Вас должен быть действительный domain token. Перейдите в меню Domains и откройте свой домен на вкладке tokens:

Image Removed

Нажмите кнопку плюс (+) и выберите роль и дату, пока этот токен будет действителен:

Image Removed

Загрузите ваш файл с ключом или скопируйте его. Если вы не загрузите файл сразу, вы больше не сможете получить свой токен. Чтобы защитить вашу безопасность, надежно храните токен и не передавайте его:

Image Removed

...

For import/export actions, we must have a valid domain token. Go to the Domains menu and open your domain on the tokens tab:

Image Added

Press plus (+) button and choose role and date until that this token will be valid:

Image Added

Download your key file now or copy it. If you do not download the key file now, you will not be able to retrieve your token key again. To help protect your security, store your token key securely and do not share it:

Image Added

Integrations

Children Display
styleh3
sortcreation