Ejemplo n.º 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();
 }
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
 public override void EndCall(CodecActiveCallItem call)
 {
     Debug.Console(1, this, "EndCall");
     ActiveCalls.Remove(call);
     SetNewCallStatusAndFireCallStatusChange(eCodecCallStatus.Disconnected, call);
 }