private void m_provisioningServiceProxy_GetCallsCompleted(object sender, GetCallsCompletedEventArgs e) { if (IsUnauthorised(e.Error)) { SessionExpired(); } else if (GetCallsComplete != null) { GetCallsComplete(e); } }
private void GetCallsComplete(GetCallsCompletedEventArgs e) { m_sipCallsLoaded = true; try { m_sipCalls = e.Result; m_sipCallsPanel.SetAssetListSource(m_sipCalls); if (!m_initialLoadComplete) { Load(); } LogActivityMessage_External(MessageLevelsEnum.Info, "In progress calls successfully loaded " + DateTime.Now.ToString("dd MMM yyyy HH:mm:ss") + "."); } catch (Exception excp) { string excpMessage = (excp.InnerException != null) ? excp.InnerException.Message : excp.Message; LogActivityMessage_External(MessageLevelsEnum.Error, "There was an error retrieving the in progress calls. " + excpMessage); } finally { m_sipCallLoadInProgress = false; m_sipCallsPanelRefreshInProgress = false; } }