Esempio n. 1
0
 /// <summary>
 /// Get all the call information.
 /// </summary>
 /// <returns>Get the call info</returns>
 public Nequeo.VoIP.PjSip.Param.CallInfoParam GetCallInfo(int callID)
 {
     Nequeo.VoIP.PjSip.Param.CallInfoParam callInfo = null;
     try
     {
         callInfo = _callInfoList.First(u => u.CallID == callID);
     }
     catch { callInfo = null; }
     return(callInfo);
 }
Esempio n. 2
0
 /// <summary>
 /// Remove the call information.
 /// </summary>
 /// <param name="callInfo">The call information.</param>
 public void Remove(Nequeo.VoIP.PjSip.Param.CallInfoParam callInfo)
 {
     _callInfoList.Remove(callInfo);
 }
Esempio n. 3
0
 /// <summary>
 /// Add the call information.
 /// </summary>
 /// <param name="callInfo">The call information.</param>
 public void Add(Nequeo.VoIP.PjSip.Param.CallInfoParam callInfo)
 {
     _callInfoList.Add(callInfo);
 }