Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: Gitanjali on May 30, 2008, 07:27:48 AM

Title: E-mail -Media Type in genesys
Post by: Gitanjali on May 30, 2008, 07:27:48 AM
Hi all,

we are trying to develop an email client in Genesys Demosrv. first we are establishing connection with Ixn Server(Interaction server) .when we add the media type email as a key value collection -for second parameter it is expecting an object in the following statement  "medialist.addObject("email",0)"  can u plz suggest and provide a solution for adding the media type.

code snippet

public boolean requestLogin(String strAgentId, String strPlaceid,
IxnSrvConnect ixnSrvConnect){
try{
KeyValueCollection medialist = new KeyValueCollection();
  [color=red] medialist.addObject("email",0);[/color]    
    InteractionServerProtocol inxProtocol = ixnSrvConnect.getinxProtocol();
RequestAgentLogin requestLogin =
            RequestAgentLogin.create(101, strPlaceid, ReasonInfo.create());
requestLogin.setAgentId(strAgentId);
    requestLogin.setMediaList(medialist);
Message message = inxProtocol.request(requestLogin);

if(message.messageId()== EventError.ID)
return false;

}catch(Exception e){
e.printStackTrace();
}


Thanks in advance

Title: Re: E-mail -Media Type in genesys
Post by: mhsrinivasan on April 17, 2009, 10:59:54 AM
Probably, you need to check the Configuration Server

+ Resources
  + Business Attributes
      + Media Type
        + Attribute Values

Check whether email is there?
You can add the media list from there.
Title: Re: E-mail -Media Type in genesys
Post by: YevgeniyP on April 19, 2009, 07:10:29 AM
see code sample from DevZone