Author Topic: Listen to interaction events in WDE custom module  (Read 111 times)

Offline srctideveloper

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Listen to interaction events in WDE custom module
« on: January 05, 2019, 04:50:04 AM »
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:

this.viewEventManager.Subscribe(WDEEventHandler);


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

interactionManager.InteractionEvent += new EventHandler<EventArgs<IInteraction>>(InteractionEventHandler);


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.

Offline PeteHoyle

  • Full Member
  • ***
  • Posts: 106
  • Karma: 8
Re: Listen to interaction events in WDE custom module
« Reply #1 on: January 07, 2019, 08:17:52 PM »
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.