Agent Session API in Asterisk

Agent Session API in Asterisk

Endpoints to control the agent session in Asterisk for the use of Webphone

Asterisk Agent Login

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/

Agent Logout in Asterisk

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/

Agent pause entry

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 nametypedescription

pause_id

string

ID of the pause the Agent enters.

Agent pause exit

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 nametypedescription

pause_id

string

ID of the pause the Agent exits.

Última actualización