Beispiel #1
0
 /// <summary>
 /// For a call from the test methods below
 /// </summary>
 public override void RejectCall(CodecActiveCallItem call)
 {
     Debug.Console(1, this, "RejectCall");
     ActiveCalls.Remove(call);
     SetNewCallStatusAndFireCallStatusChange(eCodecCallStatus.Disconnected, call);
     //ActiveCallCountFeedback.FireUpdate();
 }
Beispiel #2
0
 public override void EndAllCalls()
 {
     Debug.Console(1, this, "EndAllCalls");
     for (int i = ActiveCalls.Count - 1; i >= 0; i--)
     {
         var call = ActiveCalls[i];
         ActiveCalls.Remove(call);
         SetNewCallStatusAndFireCallStatusChange(eCodecCallStatus.Disconnected, call);
     }
 }
        public static void CompletedCall(LocationalCall call)
        {
            var locationalCall = ActiveCalls.Find(p => p.Sid == call.Sid);

            if (locationalCall == null)
            {
                return;
            }

            ActiveCalls.Remove(locationalCall);
            InactiveCalls.Add(locationalCall);
        }
Beispiel #4
0
 public override void EndCall(CodecActiveCallItem call)
 {
     Debug.Console(1, this, "EndCall");
     ActiveCalls.Remove(call);
     SetNewCallStatusAndFireCallStatusChange(eCodecCallStatus.Disconnected, call);
 }