Hello everyone,
This is my first post here and also my first interaction with WDE development. So far, what I discovered is great but right now I'm having quite of an issue and I have no idea where to look for some answers and maybe there is someone over here who can help me a bit.
I developed a module which intercepts 2 events through InsertCommandToChain - AnswerCall and MakeCall.
The commands are inserted like this:
[code]
commandManager.InsertCommandToChainOfCommandBefore("InteractionVoiceAnswerCall", "AnswerCall", new List<CommandActivator>()
{
new CommandActivator() { CommandType = typeof(AnswerCallCommand) }
});
commandManager.InsertCommandToChainOfCommandBefore("MediaVoiceMakeCall", "MakeCall", new List<CommandActivator>()
{
new CommandActivator() { CommandType = typeof(MakeCallCommand) }
});
[/code]
If I make a call from WDE or if I answer the call from the WDE interface, both my commands are being executed which is great and it means that I did what I was supposed to do but if I make a call from the softphone which is connected to WDE (for dev purposes) or if I answer a call from the same softphone, none of the events are being triggered. But, what is strange is that if I answer from the softphone or make a call from the softphone, the WDE interface takes over so this means (from my point of view) that the integration works.
Looking through the log files I've seen that in case of the WDE usage for the calling interaction I get something like this:
INFO utingBasedMediaVoice - Request:'MakeCall' Location:'' CallNumber:'XXXX' Target:'XXXX' Target Type:'TypeDestination'
and after that I see
17-10-09 16:48:35.969 [ 42] INFO e.InteractionManager - [InteractionEvent] received InteractionId:Id000(new) Id:007702A4D06094E6 ContextState:Created Profile:Primary State:PresentedOut(EventDialing ReferenceId:6) RelatedId:? MediaType:voice Direction:Out ThisDN:1030 OtherDN:XXXXXX CorrelatorData:
But if I make the calling from the softphone, I see only the second entry in the log.
Can someone please tell me what am I missing?
Thank you.