Just think on how routing works Gef, URS select a target from a group of agents based on some metrics, like most available time for example, right?
Then selects target (ID) and instructs Tserver to route to that ID, TServer then receives this ID and says... Ohh this guy is a local ID, because could be external too, right? When says it is local, it sends the command to the PBX, and the PBX handles this, could be digital, analog or IP device.
In case of SIP Server, own sip server handles this and then yes, you have an IP which is then just known by that layer.
So propagating this information to up URS level is impossible.
What about the scenario route command fails? Network issues for example? What then?
That is why all CRM integrations are usually done at agent endpoint. EventRinging and you trigger the integration.
What I have done in the past is for example to send the information of which agent was targeted after Target object, to fill a DB with this information. Then "something" is reading this DB every 5 seconds to see new interactions and agents, this app knows the agent vs IP address and sends the command to the IP address for a pop-up. But again, here the problems began with network issues. So if you network is good, it works. If not... Prepare for issues.
Enviado de meu SM-S918B usando o Tapatalk