Beispiel #1
0
        public override async Task Reject(IncomingCallReject reason)
        {
            Context.SendToPeer(RelayMessageTags.VoipReject, "Rejected");

            var hangingUpState = new VoipState_HangingUp();
            await Context.SwitchState(hangingUpState);
        }
Beispiel #2
0
 public virtual async Task Reject(IncomingCallReject reason)
 {
 }
Beispiel #3
0
 public void Reject(IncomingCallReject reason)
 {
     Task.Run(() =>
     {
         Debug.WriteLine("VoipChannel.Reject");
         Context.WithState(st => st.Reject(reason)).Wait();
     });
 }