PureEngage On-Premises

 View Only

Sign Up

  • 1.  Identify call type in WDE

    Posted 05-24-2016 06:21
    Hi,

    What is the function or method to identify whether the call is an inbound or outbound call in WDE?

    Thanks. 


  • 2.  RE: Identify call type in WDE

    Posted 05-24-2016 11:46
    For example:
     
    Model.Case.MainInteraction.GetIWCallType();

    HTH!


  • 3.  RE: Identify call type in WDE

    Posted 05-26-2016 04:14
    Hi Jakub,

    Thanks for your reply. However, it returns null. If I use Model.Case.MainInteraction.Type, it returns 'InteractionVoice'. May I know what is the value that I will get if GetIWCallType() is used?


  • 4.  RE: Identify call type in WDE

    Posted 05-26-2016 09:50
    Try something like this:
    IInteraction _currentInteraction = interactionManager.GetInteractionById(Model.Case.MainInteraction.InteractionId.ToString());
    string callType = _currentInteraction.Type;

     


  • 5.  RE: Identify call type in WDE

    Posted 05-30-2016 09:24
    Hi Jakub,

    Just ask for your opinion, is it ok if I use the combination of the two methods below to identify inbound and outbound call?

    Media = theCase.MainInteraction.Media.Name; //return 'voice', 'chat', 'email'...
    InteractionDirection = theCase.MainInteraction.EntrepriseInteractionCurrent.IdType.Direction.ToString(); //return 'In' or 'Out'