/// <summary> /// Deprecated Method for adding a new object to the SIPDialogues EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSIPDialogues(SIPDialogue sIPDialogue) { base.AddObject("SIPDialogues", sIPDialogue); }
private void DetailsControlClosed() { m_selectedSIPCall = null; m_sipCallsPanel.CloseDetailsPane(); }
/// <summary> /// Create a new SIPDialogue object. /// </summary> /// <param name="bridgeID">Initial value of the BridgeID property.</param> /// <param name="callID">Initial value of the CallID property.</param> /// <param name="cDRID">Initial value of the CDRID property.</param> /// <param name="cSeq">Initial value of the CSeq property.</param> /// <param name="direction">Initial value of the Direction property.</param> /// <param name="id">Initial value of the ID property.</param> /// <param name="inserted">Initial value of the Inserted property.</param> /// <param name="localTag">Initial value of the LocalTag property.</param> /// <param name="localUserField">Initial value of the LocalUserField property.</param> /// <param name="owner">Initial value of the Owner property.</param> /// <param name="remoteTag">Initial value of the RemoteTag property.</param> /// <param name="remoteTarget">Initial value of the RemoteTarget property.</param> /// <param name="remoteUserField">Initial value of the RemoteUserField property.</param> public static SIPDialogue CreateSIPDialogue(global::System.String bridgeID, global::System.String callID, global::System.String cDRID, global::System.Int32 cSeq, global::System.String direction, global::System.String id, global::System.String inserted, global::System.String localTag, global::System.String localUserField, global::System.String owner, global::System.String remoteTag, global::System.String remoteTarget, global::System.String remoteUserField) { SIPDialogue sIPDialogue = new SIPDialogue(); sIPDialogue.BridgeID = bridgeID; sIPDialogue.CallID = callID; sIPDialogue.CDRID = cDRID; sIPDialogue.CSeq = cSeq; sIPDialogue.Direction = direction; sIPDialogue.ID = id; sIPDialogue.Inserted = inserted; sIPDialogue.LocalTag = localTag; sIPDialogue.LocalUserField = localUserField; sIPDialogue.Owner = owner; sIPDialogue.RemoteTag = remoteTag; sIPDialogue.RemoteTarget = remoteTarget; sIPDialogue.RemoteUserField = remoteUserField; return sIPDialogue; }
private void SIPCallsDataGrid_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { try { if (m_initialLoadComplete && !m_sipCallLoadInProgress && m_riaContext.SIPDialogues.Count > 0) { DataGrid dataGrid = (DataGrid)sender; SIPDialogue sipCall = (SIPDialogue)m_sipCallsDataGrid.SelectedItem; if (m_selectedSIPCall == null || m_selectedSIPCall != sipCall) { m_selectedSIPCall = sipCall; //m_sipCallsPanel.SetDetailsElement(m_editControl); } } } catch (Exception excp) { string excpMessage = (excp.InnerException != null) ? excp.InnerException.Message : excp.Message; LogActivityMessage_External(MessageLevelsEnum.Error, "Exception showing Call details. " + excpMessage); m_selectedSIPCall = null; } }