Hi! I’m new with e-services. I faced the following communication problem. When I use 1 connection (1 client) for sending requests and receiving events (to and from E-mail server or UCS server), I receive them. But when I use one connection to send requests and another connection (to the same server and port) to receive events, I don’t receive events.
Please advise.
I guess, that the events are mostly answers to requests, so you can only get events to same client which did send a request. If you make 2 clients, the second client cannot get events to requests that first client sent.
By the way, how would a client know which event is meant for it if it would get all events from all requests sent from all clients.
I think there might be some way to hijack this connection if you can solve how to listen the same socket on client 2 that you is used on client 1. But this would require that the both clients are on the same server/desktop..
Hi imaki, thank you for your answer. My goal is to implement service that listens for e-mail related events received from all agents logged in to E-mail server. My service goal is to parse those events, fetch e-mail data (subject, sender address, recipient addresses, etc) and forward it to another application for further analysis. My service have to be like monitoring tool that monitors all e-mail events received from Genesys e-mail server. I suppose that the reason of the problem lies or in Genesys e-services configuration or in my service configuration. From my side, I tried a lot of things, for example I tried to play with ClientApplicationType to MonitoringServer, ReportingServer and other… but no events received. Please advise …
Actually I have not made anything like that, but if you use Platform SDK, I would first check if the RequestStartPlaceAgentStateReporting[All] could return enough information..
(namespace: Genesyslab.Platform.OpenMedia.Protocols.InteractionServer.Requests.AgentManagement)
Hi imaki!
Thank you very much for your help! I started to receive events when I set my client type to ReportingEngine and sent request to receive all events.
If you need such events in some DB you can turn on Interaction Server event logging capability and it will record events into your DB.