public override async Task Reject(IncomingCallReject reason) { Context.SendToPeer(RelayMessageTags.VoipReject, "Rejected"); var hangingUpState = new VoipState_HangingUp(); await Context.SwitchState(hangingUpState); }
public void Reject(IncomingCallReject reason) { Task.Run(() => { Debug.WriteLine("VoipChannel.Reject"); Context.WithState(st => st.Reject(reason)).Wait(); }); }
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); }
public virtual async Task Reject(IncomingCallReject reason) { }
public IAsyncAction RejectAsync(IncomingCallReject reason) { return(Context.WithState(st => st.RejectAsync(reason)).AsAsyncAction()); }
public IAsyncAction RejectAsync(IncomingCallReject reason) { return(InvokeHubChannelAsync <ICallChannel>(reason).AsTask().AsAsyncAction()); }
public void Reject(IncomingCallReject reason) { InvokeHubChannel <IVoipChannel>(reason); }