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

            var hangingUpState = new VoipState_HangingUp();
            await Context.SwitchState(hangingUpState);
        }
Example #2
0
 public void Reject(IncomingCallReject reason)
 {
     Task.Run(() =>
     {
         Debug.WriteLine("VoipChannel.Reject");
         Context.WithState(st => st.Reject(reason)).Wait();
     });
 }
Example #3
0
        public override async Task RejectAsync(IncomingCallReject reason)
        {
            Context.SendToPeer(RelayMessageTags.CallReject, "Rejected");
            var hangingUpState = new HangingUp();

            ETWEventLogger.Instance.LogEvent("Reject Call", DateTimeOffset.Now.ToUnixTimeMilliseconds());
            await Context.SwitchState(hangingUpState);
        }
Example #4
0
 public virtual async Task Reject(IncomingCallReject reason)
 {
 }
 public IAsyncAction RejectAsync(IncomingCallReject reason)
 {
     return(Context.WithState(st => st.RejectAsync(reason)).AsAsyncAction());
 }
Example #6
0
 public IAsyncAction RejectAsync(IncomingCallReject reason)
 {
     return(InvokeHubChannelAsync <ICallChannel>(reason).AsTask().AsAsyncAction());
 }
Example #7
0
 public void Reject(IncomingCallReject reason)
 {
     InvokeHubChannel <IVoipChannel>(reason);
 }