Author Topic: E-mail and UCS events are not received (SDK 8.1)  (Read 3750 times)

Offline Michaelk

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
E-mail and UCS events are not received (SDK 8.1)
« on: November 21, 2012, 01:23:22 PM »
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.
« Last Edit: November 21, 2012, 01:38:53 PM by Michaelk »

Offline imaki

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 0
Re: E-mail and UCS events are not received (SDK 8.1)
« Reply #1 on: November 22, 2012, 08:01:18 AM »
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..

Offline Michaelk

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: E-mail and UCS events are not received (SDK 8.1)
« Reply #2 on: November 22, 2012, 11:57:22 AM »
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 ...

Offline imaki

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 0
Re: E-mail and UCS events are not received (SDK 8.1)
« Reply #3 on: November 23, 2012, 07:10:50 AM »
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)

Offline Michaelk

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: E-mail and UCS events are not received (SDK 8.1)
« Reply #4 on: November 27, 2012, 07:23:27 AM »
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.

Offline YevgeniyP

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 0
Re: E-mail and UCS events are not received (SDK 8.1)
« Reply #5 on: January 10, 2013, 10:49:08 PM »
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.