Genesys CTI User Forum
		Genesys CTI User Forum => Genesys-related Development => Topic started by: rajkishor09 on April 15, 2015, 10:17:51 AM
		
			
			- 
				I am able to open connection to interaction server but when I send RequestAgentLogin message I am getting "Unsupported protocol element" error. Any idea?
 
 Error which I got
 [code]
 'EventError' ('126')
 message attributes:
 attr_ref_id [int] = 2
 attr_error_code [int] = 4
 attr_error_desc [str] = "Unsupported protocol element"
 [/code]
 
 Request sent to Interaction Server
 [code]
 RequestAgentLogin login = RequestAgentLogin.Create();
 login.TenantId = tenantId;
 login.AgentId = agentId;
 login.PlaceId = placeId;
 
 //KeyValueCollection kvMediaList = new KeyValueCollection();
 //kvMediaList.Add(mediaType, 1);
 //login.MediaList = kvMediaList;
 ixnProtocol.Send(login);
 [/code]
 
 
- 
				Attach IXN logs covering the frame with login request till event error
			
- 
				[code]
 16:18:28.200 Trc 26015 Received message 'RequestRegisterClient' ('100') from client '[no name]' - Unknown:40:2768, message attributes:
 attr_client_type [int] = 3 [MEDIA SERVER]
 attr_client_name [str] = "BasicChatApp"
 attr_media_type [str] = ""
 attr_ref_id [int] = 1
 
 16:18:28.201 Trc 26103 New media server registered, client 40:2768, name: BasicChatApp, media type:
 16:18:28.201 Trc 26016 Sending message 'EventAck' ('125') to client 'BasicChatApp' - Media server:40:2768, message attributes:
 attr_ref_id [int] = 1
 attr_prxy_client_id [int] = 40
 attr_extension [list, size (unpacked)=187] =
 'ApplicationName' [str] = "Genesys Interaction Server"
 'ServerVersion' [str] = "8.1.300.06"
 'ServerVersionFamily' [int] = 8
 'ServerVersionMajor' [int] = 1
 'ServerVersionMinor' [int] = 3
 'ServerVersionBuild' [int] = 6
 
 16:18:28.229 Trc 26015 Received message 'RequestAgentLogin' ('135') from client 'BasicChatApp' - Media server:40:2768, message attributes:
 attr_tenant_id [int] = 1
 attr_agent_id [str] = "118"
 attr_place_id [str] = "SIP_Server_Place113"
 attr_ref_id [int] = 2
 
 16:18:28.229 Std 26006 Unsupported protocol message (135) received from client media server:40:2768
 16:18:28.230 Trc 26016 Sending message 'EventError' ('126') to client 'BasicChatApp' - Media server:40:2768, message attributes:
 attr_ref_id [int] = 2
 attr_error_code [int] = 4
 attr_error_desc [str] = "Unsupported protocol element"
 [/code]
- 
				I think that the client type parameter within RequestRegisterClient is wrong(should be AGENT APPLICATION)
			
- 
				Does login works normally on IWS or gad? As you are on chat I may guess some configuration is missing 
			
- 
				Kubig idea worked. thanks  ;D