Пример #1
0
 private void SendErrorMessageToClients(object sender, PbxErrorEventArgs e)
 {
     NLogContaner.Instance.Error(e.ErrorMessage);
     Task.Factory.StartNew(() =>
     {
         mPbxListener.Listen();
     });
 }
Пример #2
0
 private void OnPbxConnectionLost(PbxErrorEventArgs e)
 {
     var handler = PbxConnectionLost;
     if (handler != null) handler(this, e);
 }