Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: srctideveloper on January 04, 2019, 07:50:04 PM

Title: Listen to interaction events in WDE custom module
Post by: srctideveloper on January 04, 2019, 07:50:04 PM
I am trying to get the Interaction Events into my WDE (especially Event Ringing) custom module.  Here is what I am doing:

In my WDE custom module registering for view events:

[b]this.viewEventManager.Subscribe(WDEEventHandler);[/b]


and then on the Login event, registering for interaction event.

[b]interactionManager.InteractionEvent += new EventHandler<EventArgs<IInteraction>>(InteractionEventHandler);[/b]


I get the events as expected for one or more calls and then it stops.  I searched through WDE logs and TServer logs and couldn't find any trace to this issue.

Any idea what could be going wrong.  Appreciate any help.
Title: Re: Listen to interaction events in WDE custom module
Post by: PeteHoyle on January 07, 2019, 11:17:52 AM
The most likely cause is that an exception is being thrown in the event handler, maybe if you add a try/catch block around your event handler code to see what is happening.