Author Topic: CompleteTransferCommand  (Read 2957 times)

Offline jaf

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
CompleteTransferCommand
« 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 ?


Offline PeteHoyle

  • Full Member
  • ***
  • Posts: 126
  • Karma: 13
Re: CompleteTransferCommand
« Reply #1 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?

Offline jaf

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: CompleteTransferCommand
« Reply #2 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.

Offline PeteHoyle

  • Full Member
  • ***
  • Posts: 126
  • Karma: 13
Re: CompleteTransferCommand
« Reply #3 on: October 13, 2016, 05:40:15 PM »
Agent A would get an EventReleased when completing the transfer.

Offline jaf

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: CompleteTransferCommand
« Reply #4 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.

Offline PeteHoyle

  • Full Member
  • ***
  • Posts: 126
  • Karma: 13
Re: CompleteTransferCommand
« Reply #5 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.