/// <summary>
        /// Connects the interaction server.
        /// </summary>
        /// <param name="primaryServer">The primary server.</param>
        /// <param name="secondaryServer">The secondary server.</param>
        /// <param name="addpClientTimeout">The addp client timeout.</param>
        /// <param name="addpServerTimeout">The addp server timeout.</param>
        public OutputValues ConnectInteractionServer(string ixnAppName, string agentID)
        {
            OutputValues      output            = null;
            ReadConfigObjects readConfigObjects = new ReadConfigObjects();

            try
            {
                readConfigObjects.ReadApplicationObject(ixnAppName);
                InteractionConnectionManager createProtocol = new InteractionConnectionManager();
                output = createProtocol.ConnectInteractionServer(Settings.PrimaryApplication, Settings.SecondaryApplication, agentID);
                if (output.MessageCode == "200")
                {
                    messageToClient.NotifyInteractionProtocol(Settings.InteractionProtocol);
                }
                ////Passing to client
                //messageToClient.NotifyInteractionMediaStatus(output);
            }
            catch (Exception commonException)
            {
                logger.Error("InteractionLibrary:ConnectInteractionServer:" + commonException.ToString());
            }
            return(output);
        }