Asterisk's Agent Session API
Asterisk’s Agent Sessions API
Endpoints to control the Asterisk’s Agent Session to be used by the WebPhone.
Asterisk agent session login
Sets the session state of the Agent (Users) in Asterisk as started. The credentials must belong to the Agent, and there is no need to send any extra parameters.
URL: POST https://<omnileads_addr>/api/v1/asterisk_login/
Asterisk agent session logout
Sets the session status of the Agent (Users) in Asterisk as terminated. The credentials must belong to the Agent, and there is no need to send any extra parameters.
URL: POST https://<omnileads_addr>/api/v1/asterisk_logout/
Agent Pause start
Sets the session state of the Agent (Users) in Asterisk as Pause (Pauses). The credentials must belong to the Agent.
URL: POST https://<omnileads_addr>/api/v1/asterisk_pause/
field name | type | description |
---|---|---|
pause_id | string | ID of the pause the agent starts. |
Agent Pause End
Sets the session status of the Agent (Users) in Asterisk as "Available" and indicates the end of a Pause (Pauses). The 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 ends. |
Última actualización