Hi, guys!
First let me share my C#.Net code with you:
To get connected with the specified IXN:
[code]public void connect(string interactionServerName, string interactionServerHost, int interactionServerPort)
{
Uri interactionServerUri = new Uri("tcp://"
+ interactionServerHost
+ ":"
+ interactionServerPort);
this.interactionServerProtocol = new InteractionServerProtocol(
new Endpoint(interactionServerName, interactionServerUri)
);
this.interactionServerProtocol.ClientName = "AliTestClient";
this.interactionServerProtocol.ClientType = Genesyslab.Platform.OpenMedia.Protocols.InteractionServer.InteractionClient.MediaServer;
this.interactionServerProtocol.MediaType = "chat";
try
{
this.interactionServerProtocol.Open();
this.isConnected = true;
}
catch(Exception ex)
{
Console.WriteLine(ex);
this.isConnected = false;
}[/code]
To register;
[code] public void registerApplication(string appName)
{
RequestRegisterClient reqClient = RequestRegisterClient.Create(InteractionClient.MediaServer, appName);
reqClient.MediaType = "chat";
this.interactionServerProtocol.Send(reqClient);
Console.WriteLine("Registering client...");
}[/code]
After getting connected to the IXN, when I am to send [b]RequestRegisterClient[/b], I end up with
[quote]Event Received ==> 'EventError' ('126')
message attributes:
attr_ref_id [int] = 2
attr_error_code [int] = 4
attr_error_desc [str] = "[b]Unsupported protocol element[/b]"[/quote]
Any idea on why I'm having "Unsupported protocol element" exception?
Cheers!
P.S. We have Genesys 8.5 -- No logs for now -- will provide tomorrow in the morning (our Genesys admins are away and having beer with chicks).