asterisk-dialer
api
-
GET: /api/v1/dialer/start
- start dialer -
GET: /api/v1/dialer/stop
- stop dialer -
GET: /api/v1/dialer/status
- get status for dialer (is it started or stopped) -
GET: /api/v1/dialer/registeredUsers
- get registered users, which could accept a call -
GET: /api/v1/dialer/msisdn/all
- get all msisdns -
GET: /api/v1/dialer/msisdn/inProgress?limit=1&page=1&sortBy=priority&sortOrder=desc
- get msisdns which are int progress(limit, page, sortBy, sortOrder{desc | asc}
are optionals) -
PUT: /api/v1/dialer/msisdn/inProgress/{id}
- update msisdn priority (by default priority is10
for all of the records)Body example:
{"priority": 1}
-
DELETE: /api/v1/dialer/msisdn/inProgress/{id}
- delete msisdn record -
POST: /api/v1/dialer/upload-msisdn
- api for list uploadingExample for uploading:
0631234567; 0931234567;
-
GET: /api/v1/ready
- app check
MSISDNs older then 7 days will be removed