PureEngage On-Premises

 View Only

Sign Up

  • 1.  How to logout from chat channel using Java SDK?

    Posted 06-30-2016 04:58
    Hello,
    Could someone please share info on how to logout an agent from chat channel (any specific channel) using Java SDK?
    And, how to get the AgentStatus for a specific channel using Java SDK?

    Thanks in advance!


  • 2.  RE: How to logout from chat channel using Java SDK?

    Posted 06-30-2016 06:47
    Hello,

    use standard openmedia requests:
    • RequestRemoveMedia
    • RequestAgentLogout

    from available PSDK version.

    About the agent status, you have to connect to the specific StatServer, where you can use standard statistic "CurrentStatus" based on agents or agent groups and using the filter based on MediaType. I think, you can find several examples on site with documentation for PSDK.

    HTH!

    Regards,
    --Jakub--



  • 3.  RE: How to logout from chat channel using Java SDK?

    Posted 07-05-2016 21:00
    Thank you very much for the details Jakub. May I know if there is a code snippet available for logging out agent from chat channel? I tried many values but couldnt find valid values to pass thru the arguments of these two classes.

    RequestAgentLogout requestAgentLogout = RequestAgentLogout.create(proxyClientId, extension, reason);
    RequestRemoveMedia requestRemoveMedia = RequestRemoveMedia.create(proxyClientId, extension, mediaTypeName, reason);

    Any help is much appreciated!
    Thanks in Advance.