Основной принцип интеграции описан нижеThe main principle of the integration is described below:
Gliffy Diagram | ||||
---|---|---|---|---|
|
- 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.
- Сервис 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.
- Download and unpach archiveСкачать и распаковать архив: sql4dialer.goweb.winamd64.zip
- Откройте файл Open conf/app.conf и измените значение file and change the value of the http.addr на свой IP-адрес to your IP address (your_ip_address)
- Сохранить файл
- Save the file
Open CMD or PowerShell inside application folder and run: Откройте CMD или PowerShell в папке с приложением и запустите:
Code Block .\sql4dialer.goweb> sql4dialer.exe -install
Это установит приложение в качестве Сервиса Windows
Перезагрузите компьютер
This will install application as a Windows Service
- Reboot the PC
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:
Нажмите кнопку плюс (+) и выберите роль и дату, пока этот токен будет действителен:
Загрузите ваш файл с ключом или скопируйте его. Если вы не загрузите файл сразу, вы больше не сможете получить свой токен. Чтобы защитить вашу безопасность, надежно храните токен и не передавайте его:
...
For import/export actions, we must have a valid domain token. Go to the Domains menu and open your domain on the tokens tab:
Press plus (+) button and choose role and date until that this token will be valid:
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:
Integrations
Children Display | ||||
---|---|---|---|---|
|