Beispiel #1
0
 private void SendErrorMessageToClients(object sender, PbxErrorEventArgs e)
 {
     NLogContaner.Instance.Error(e.ErrorMessage);
     Task.Factory.StartNew(() =>
     {
         mPbxListener.Listen();
     });
 }
        private void OnPbxConnectionLost(PbxErrorEventArgs e)
        {
            var handler = PbxConnectionLost;

            if (handler != null)
            {
                handler(this, e);
            }
        }