Agent Session API in Asterisk
Última actualización
Última actualización
Endpoints to control the agent session in Asterisk for the use of Webphone
Sets the Agent (Users) session status in Asterisk to logged in. The credentials must belong to the Agent, and no extra parameters need to be sent.
URL: POST https://<omnileads_addr>/api/v1/asterisk_login/
Sets the Agent (Users) session status in Asterisk to finished. The credentials must belong to the Agent, and no extra parameters need to be sent.
URL: POST https://<omnileads_addr>/api/v1/asterisk_logout/
Sets the Agent (Users) session state in Asterisk to Paused (Pauses). Credentials must belong to the Agent.
URL: POST https://<omnileads_addr>/api/v1/asterisk_pause/
field name | type | description |
---|---|---|
Sets the Agent (Users) session status in Asterisk to "Available" and indicates the end of a Pause (Pauses). Credentials must belong to the Agent.
URL: POST https://<omnileads_addr>/api/v1/asterisk_unpause/
field name | type | description |
---|---|---|
pause_id
string
ID of the pause the Agent enters.
pause_id
string
ID of the pause the Agent exits.