Genesys CTI User Forum
		Genesys CTI User Forum => Genesys-related Development => Topic started 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 ?
 
 
- 
				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?
- 
				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.
 
- 
				Agent A would get an EventReleased when completing the transfer.
			
- 
				Yes you are right but how i know the difference between eventrelease from transfert and hangup ?
 f.
- 
				Try this as a starting point:
 
 if (interaction.EntrepriseInteractionCurrent.Profile == Enterprise.Model.Interaction.ProfileType.Transfered)
 
 Then you can build from there.