Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: jaf on October 11, 2016, 02:46:59 PM

Title: CompleteTransferCommand
Post by: jaf on October 11, 2016, 02:46:59 PM
Hello,

Is it possible to catch an event when  CompleteTransferCommand  occurs ?

i catch all event i want in

IInteractionManager _interactionManager.InteractionEvent += InteractionManager_InteractionEvent;

but i don't know when a CompleteTransferCommand  occurs.
could you help me ?

Title: Re: CompleteTransferCommand
Post by: PeteHoyle on October 12, 2016, 06:30:28 AM
Do you mean for the person who is transferring the call or the person who is receiving the transfer?

So if Agent A is transferring the call to Agent B which Agent is it you want to get the event at?
Title: Re: CompleteTransferCommand
Post by: jaf on October 13, 2016, 12:32:50 PM
hello
Thanks for you reply.

Agent A receive a call
Agent A  initiate transfert to Agent B  for transfering this call.
Agen B reply and then the Agent A confirm the transfert.
So I want to catch  this event in agent A .

f.
Title: Re: CompleteTransferCommand
Post by: PeteHoyle on October 13, 2016, 05:40:15 PM
Agent A would get an EventReleased when completing the transfer.
Title: Re: CompleteTransferCommand
Post by: jaf on October 13, 2016, 07:41:44 PM
Yes you are right but how i know the difference between eventrelease from transfert and hangup ?
f.
Title: Re: CompleteTransferCommand
Post by: PeteHoyle on October 14, 2016, 10:46:14 AM
Try this as a starting point:

if (interaction.EntrepriseInteractionCurrent.Profile == Enterprise.Model.Interaction.ProfileType.Transfered)

Then you can build from there.