Agent events - Send event info to external apps
Posted: Tue Jul 30, 2013 2:02 am
Hello,
I've been going through the Manager manual and the forums but I can't find any information about this topic so I got to ask:
Is it possible to integrate the Agent Interface with an external application which receives the agent events by using AJAX requests?
Example:
- Agent logs in so it sends a GET request to http://xxx.xxx.xxx.xxx/agenttracker.php ... vent=login
- Since Agent starts in "PAUSED" mode, when he clicks on resume he sends another event like http://xxx.xxx.xxx.xxx/agenttracker.php ... ent=resume
- When receiving a call, he sends http://xxx.xxx.xxx.xxx/agenttracker.php ... llreceived
and so on...
My idea is to have all kinds of software which track each agent event by its own, so that I can fire custom processes according to the agent's action. One which comes to my mind is firing up a web request to start a video recorder whenever the agent receives a call AND also stop the video recording when the agent clicks on hangup.
Since everything would be AJAX there should not be any kind of extra stress into the Apache server, since these applications could be running even inside the agents PC.
Is this something which already exists and I haven't found it yet?
Is it feasible?
Does anyone else find this feature interesting?
If it doesn't exist I could start coding it, but I want to be sure before reinventing the wheel.
Regards,
I've been going through the Manager manual and the forums but I can't find any information about this topic so I got to ask:
Is it possible to integrate the Agent Interface with an external application which receives the agent events by using AJAX requests?
Example:
- Agent logs in so it sends a GET request to http://xxx.xxx.xxx.xxx/agenttracker.php ... vent=login
- Since Agent starts in "PAUSED" mode, when he clicks on resume he sends another event like http://xxx.xxx.xxx.xxx/agenttracker.php ... ent=resume
- When receiving a call, he sends http://xxx.xxx.xxx.xxx/agenttracker.php ... llreceived
and so on...
My idea is to have all kinds of software which track each agent event by its own, so that I can fire custom processes according to the agent's action. One which comes to my mind is firing up a web request to start a video recorder whenever the agent receives a call AND also stop the video recording when the agent clicks on hangup.
Since everything would be AJAX there should not be any kind of extra stress into the Apache server, since these applications could be running even inside the agents PC.
Is this something which already exists and I haven't found it yet?
Is it feasible?
Does anyone else find this feature interesting?
If it doesn't exist I could start coding it, but I want to be sure before reinventing the wheel.
Regards,