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

Offline srctideveloper

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Listen to interaction events in WDE custom module
« 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.

Offline PeteHoyle

  • Full Member
  • ***
  • Posts: 126
  • Karma: 13
Re: Listen to interaction events in WDE custom module
« Reply #1 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.