Genesys Engage on-premises

 View Only

Discussion Thread View
  • 1.  How to logout an agent from all channels using PSDK?

    Posted 09-24-2019 02:45
    Need details to logout an agent from digital channels. I'm able to logout from voice channel.

    Tried below code to logout from chat channel, it wasnt successful.

    InteractionServerProtocol ixnServer = new InteractionServerProtocol(intxnServerEndpoint);
    ixnServer.setClientName("EntityListener");
    ixnServer.setClientType(InteractionClient.AgentApplication);    
    ixnServer.setMediaType("MediaChat");
    ixnServer.open();

    RequestAgentLogin requestAgentLogin = RequestAgentLogin.create(101, place_id, null);
    RequestRemoveMedia requestRemoveMedia = RequestRemoveMedia.create(ixnServer.getProxyId(), extensions, "MediaChat", null);

    Message msgAgentLogin = ixnServer.request(requestAgentLogin);
    Message msgRemoveMedia = ixnServer.request(requestRemoveMedia );


    Result:
    'EventError' (126) attributes:
    attr_error_desc [str] = "Place is already occupied"
    attr_ref_id [int] = 2
    attr_error_code [int] = 12
    #DigitalChannels
    #Omni-ChannelDesktop/UserInterface
    #Unsure/Other

    ------------------------------
    Nataraj A

    ------------------------------


  • 2.  RE: How to logout an agent from all channels using PSDK?

    Posted 10-02-2019 04:04
    Hello Nataraj,

    The error returned refering to AgentLogin request
    IXN reports that you are already connected to IXN using the place specified in "place_id"
    If you are using proxy (ixnServer.getProxyId()), ensure that you have activated the multilogin right on IXN
    (settings/allow-multiple-agent-connections=true)

    Besides, If you are only using Chat media on IXN, just logout the agent from the server instead of removing the media

    ------------------------------
    Charles-Henri Vannimenus
    CERITEK
    ------------------------------



  • 3.  RE: How to logout an agent from all channels using PSDK?

    Posted 10-04-2019 02:45
    Hello Charles,
    Thank you for the response. We have activated the multilogin on IXN (settings/allow-multiple-agent-connections=true).
    Since RequestAgentLogin is unsuccessful we are not able to use RequestRemoveMedia or RequestAgentLogout to logout the agent.


    Thanks,
    Nataraj


    ------------------------------
    Nataraj Andhanappa
    Anthem, Inc.
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources