private void MainThread_OnPhoneStatus(BriaAPI.PhoneStatusEventArgs args)
        {
            m_IsPhoneReady         = args.IsReady;
            m_AreCallsAllowed      = args.CallsAllowed;
            m_ErrorCode            = args.ErrorCode;
            m_MaxLines             = args.MaxLines;
            m_CallNotAllowedReason = args.CallsNotAllowedReason;
            m_AccountStatus        = args.AccountStatus;

            UpdatePhoneState();
        }
 private void OnPhoneStatus(object sender, BriaAPI.PhoneStatusEventArgs args)
 {
     this.BeginInvoke(onPhoneStatusDelegate, new Object[] { args });
 }