Genesys CTI User Forum > Genesys-related Development

Not Getting Custom Command in WDE

<< < (2/3) > >>

Kubig:
And on what command are you executing that?

Niranjan:
MediaVoiceMakeCall Command

Kubig:
Try to execute that on Dialing event (do not know the exactly name of the command)

PeteHoyle:
What are you trying to do once you have the IInteractionVoice? It might help if we can understand what you are trying to achieve.

On the MediaVoiceMakeCall  the 'CommandParameter' is the IMediaVoice rather than the IInteractionVoice.

Pete.

daniel_san:
[quote author=Niranjan link=topic=9250.msg41699#msg41699 date=1449559545]
Hi Guys,

in Extension sample modules in initialize method I gave a command called
commandManager.InsertCommandToChainOfCommandBefore("InteractionVoiceAnswerCall", "AnswerCall", new List<CommandActivator>() { new CommandActivator() { CommandType = typeof(OnAnswerCallCommand), Name = "AnswerCall" } });

but my custom command class is not executing when I answered a call from IWS,

Same problem is happening to ShowInteractionWindow Command Also, and I cant able to get the IInteractionVoice object in WDE.

commandManager.InsertCommandToChainOfCommandAfter("ShowInteractionsWindow", "ShowInteractionsWindow", new List<CommandActivator>() { new CommandActivator() { CommandType = typeof(OnNewShowIntrWindow), Name = "ShowInteractionsWindow" } });

So please help me to resolve this issue

Thanks and Regards
Niranjan M
[/quote]

How yo answered the call? I f you are doing with desktop button it must work.

I was trying to work with the chain of command Release Call, and it never worked for me, because release chain is only executing when you press the button release call, not when you release call with hardphone or the client release...

I can see the InteractionVoiceReleaseCall on the documentation but not the ShowInteractionsWindow...

https://docs.genesys.com/Documentation/IW/8.5.1/Developer/Voice

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version