public override void Connect(NameValueCollection settings)
        {
            if (remotingClient != null)
                remotingClient.Disconnect();

            remotingClient = null;
            GC.Collect();

            remotingClient = new IpcRemotingClient<ICallButlerManagementInterface>(settings["ChannelName"], settings["ServiceURI"], Convert.ToInt32(settings["Port"]), Convert.ToInt32(settings["CustomerID"]), Convert.ToInt32(settings["ExtensionNumber"]), settings["Password"]);
            remotingClient.Connect();

            managementInterface = (ICallButlerManagementInterface)remotingClient.RemotingObject;
            bool connected = remotingClient.RemotingObject.IsConnected;
        }
        public override void Connect(NameValueCollection settings)
        {
            if (remotingClient != null)
            {
                remotingClient.Disconnect();
            }

            remotingClient = null;
            GC.Collect();

            remotingClient = new IpcRemotingClient <ICallButlerManagementInterface>(settings["ChannelName"], settings["ServiceURI"], Convert.ToInt32(settings["Port"]), Convert.ToInt32(settings["CustomerID"]), Convert.ToInt32(settings["ExtensionNumber"]), settings["Password"]);
            remotingClient.Connect();

            managementInterface = (ICallButlerManagementInterface)remotingClient.RemotingObject;
            bool connected = remotingClient.RemotingObject.IsConnected;
        }