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

            var hangingUpState = new VoipState_HangingUp();
            await Context.SwitchState(hangingUpState);
        }
Esempio n. 2
0
 public void Reject(IncomingCallReject reason)
 {
     Task.Run(() =>
     {
         Debug.WriteLine("VoipChannel.Reject");
         Context.WithState(st => st.Reject(reason)).Wait();
     });
 }
Esempio n. 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);
        }
Esempio n. 4
0
 public virtual async Task Reject(IncomingCallReject reason)
 {
 }
Esempio n. 5
0
 public IAsyncAction RejectAsync(IncomingCallReject reason)
 {
     return(Context.WithState(st => st.RejectAsync(reason)).AsAsyncAction());
 }
Esempio n. 6
0
 public IAsyncAction RejectAsync(IncomingCallReject reason)
 {
     return(InvokeHubChannelAsync <ICallChannel>(reason).AsTask().AsAsyncAction());
 }
Esempio n. 7
0
 public void Reject(IncomingCallReject reason)
 {
     InvokeHubChannel <IVoipChannel>(reason);
 }