PureEngage On-Premises

 View Only

Sign Up

  • 1.  open media

    Posted 07-11-2014 19:07
    How to login Agent  into OpenMedia  from GIS (Genesys Integration Server)?


  • 2.  RE: open media

    Posted 07-18-2014 17:08

    Hi,

    You need to form the login request providing the MediaForm with the specified media type(s).  The login is performed on the media that are defined in the place and specified in the types of the MediaForm.

    Example:

    //create agent service
    IAgentService myAgentService =
    myServiceFactory.createService(typeof(IAgentService), null) as
    IAgentService;

    // Creating an instance of MediaForm
    MediaForm myMediaForm = new MediaForm();
    // Defining the types of concerned media
    myMediaForm.mediaTypes = new string[]{ "email", "chat" };

    // perform login with the defined login properties
    MediaInfoError[] errors = myAgentService.login( "agent0",
    "placeForAgent0", myLoginVoiceForm, myMediaForm);

    For more info consider "Agent Login" chapter in a Agent Interaction SDK Services Developer Guide.  Note list of available mediaTypes: MediaType

      UNKNOWN
      CHAT
      EMAIL
      OPEN (Open media type)
      COBROWSE
      VOICE

    Roman Tereschenko