...
X-Access-Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6ImNmMTQ3ZTFiLTk1ZGYtNDI1OC05ZT
M2LWQ4NWZkZDZlZDUzZiIsImV4cCI6MTQ5NzkwNjAwMDAwMCwiZCI6InNpdGUiLCJ0IjoiZG9tYWluIiwidiI6Mn0.o
-bcG_U3oJMN4r3YaBfSg9CcrZPANZulcapR4E6TSdg
Call Result Management
If the function to manage the result of a call from an external application, waitingForResultStatus, has been activated, at the end of each successful call, the dialer will wait for a REST request with the status - consider this attempt successful or not. Also, it is possible to transfer a new phone, exclude the current one or set a new dial-up time. Request example:
...
Variable | Type | Description |
---|---|---|
success | boolean |
|
reset_retries | boolean | true - Completely clear all attempts by all means of communication of the subscriber and start from the beginning. |
next_after_sec | number | If indicated, the time in seconds after how much to make the next attempt to dial the subscriber. If time is not specified, the value from the settings of the dealer is taken into account. |
next_communication | string | To which number to make the next attempt. If no number is specified, the number will be selected in priority order. If a new number is specified, it will be added with a higher priority. |
stop_communications | array | An array with numbers that you can’t dial into anymore. Or, you can specify all (as a string), then dialing to all numbers except for the one specified in the next_communication field will be stopped "stop_communications": "all" |
description | string | Random comment on action. |
Cancel call member
To cancel (without deleting) a call member, you can send a terminate PUT request:
...