Author Topic: Agent-Login(Logout) Event for IWS  (Read 2436 times)

Offline ahmetsys

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Agent-Login(Logout) Event for IWS
« on: October 14, 2019, 12:46:10 PM »
Hi,

Can we get Agent-Login(Logout) Event by InteractionManager.InteractionEvent ?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Agent-Login(Logout) Event for IWS
« Reply #1 on: October 14, 2019, 01:19:43 PM »
No because as name mentions, is related to interactions.


Enviado de meu SM-G9650 usando o Tapatalk


Offline ahmetsys

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Agent-Login(Logout) Event for IWS
« Reply #2 on: October 16, 2019, 12:33:59 PM »
Thanks For Answer.

how to take event? what can I do? which way to get agent login event?

Offline PeteHoyle

  • Full Member
  • ***
  • Posts: 126
  • Karma: 13
Re: Agent-Login(Logout) Event for IWS
« Reply #3 on: October 16, 2019, 03:06:24 PM »
Can you explain more, what is the customisation for?

When you say login/logout event, do you mean to login to WDE and exit WDE or do you mean login/logout to a particular media such as voice or email etc..

Offline ahmetsys

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Agent-Login(Logout) Event for IWS
« Reply #4 on: October 22, 2019, 01:59:20 PM »
Actually, I found the answer. But I have different problem about Agent Event's.

How to get AgentReady or AgentNotReady Event?(For now voice)?

I am created interactionManager.InteractionEvent(IInteractionManager). then I did this :

                IInteractionVoice interaction = (IInteractionVoice)e.Value;
                LogWriter.WriteLog(LibraryName, methodName,"Event Name: " + interaction.EntrepriseLastInteractionEvent.Name, LogType.Info.ToString(), true,Trace);

                switch (interaction.EntrepriseLastInteractionEvent.Id)
                {
                    case EventEstablished.MessageId:
                        MessageBox.Show("establish");
                        break;
                    case EventAgentReady.MessageId:
                        MessageBox.Show("EventAgentReady");
                        break;
                    case EventAgentNotReady.MessageId:
                        MessageBox.Show("EventAgentNotReady");
                      break;
                }

in this code I can get EventEstablished case but I cant get EventAgentNotReady or EventAgentReady cases.  What can I do to get event agent status? and How?
If you have any different solutions please share with me.