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 /<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 /<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 /<omnileads_addr>/api/v1/asterisk_pause/
pause_id
string
ID of the pause the Agent enters.
Sets the Agent (Users) session status in Asterisk to "Available" and indicates the end of a Pause (Pauses). Credentials must belong to the Agent.
pause_id
string
ID of the pause the Agent exits.
URL: POST /<omnileads_addr>/api/v1/asterisk_unpause/