Exemple #1
0
 void mNativeEventsListener_onRegistrationEvent(object sender, SipRegistrationEventArgs e)
 {
     this.Dispatcher.BeginInvoke((System.Threading.ThreadStart) delegate
     {
         mViewModel.RegistrationState = e.State;
         if (e.SipCode > 299 || e.State == SipSessionState.Error)
         {
             mViewModel.ConnectionStateText = e.Description;
         }
     });
 }
Exemple #2
0
 void mNativeEventsListener_onRegistrationEvent(object sender, SipRegistrationEventArgs e)
 {
     this.Dispatcher.BeginInvoke((System.Threading.ThreadStart)delegate
     {
         mViewModel.RegistrationState = e.State;
         if (e.SipCode > 299 || e.State == SipSessionState.Error)
         {
             mViewModel.ConnectionStateText = e.Description;
         }
     });
 }