Module auto dialer

Auto Dialer Module

This module provides a REST API for creating campaigns to automatically dial external numbers:

  • When an employee is available, the module dials a phone number from the campaign pool.

  • When the client answers, the call is connected to the internal queue or the employee’s extension.

  • If the internal number is busy, the call is automatically terminated.

REST API Authentication

For all requests, except local ones, authentication is required.

By default, you can use the web interface's administrative password for authentication.

To restrict access to specific PBX settings, the "System Access Management" module can be used.

Example request:

curl 'http://172.16.156.223/admin-cabinet/session/start' \
-X 'POST' --cookie-jar auth-cookies.txt \
-H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \
-H 'X-Requested-With: XMLHttpRequest' \
--data 'login=admin&password=adminpassword'

Where:

  • login – admin, the web interface username.

  • password – adminpassword, the web interface password.

  • 172.16.156.223 – the MikoPBX server address.

Response example:

Example of executing requests:

Polls

Allows you to organize automatic client surveys. Using the API, you can define a set of questions, their connections, and answer options.

It is possible to use text-to-speech generation or pre-recorded mp3/wav files.

Adding a Poll

Example cURL request:

Fetching Poll List

Response example:

Creating a Task

Response example:

Media Files

Uploading Media Files

Response example:

Last updated

Was this helpful?