예제 #1
0
 private void Client_MessagingInvitationReceived(MessagingInvitation messagingInvitation)
 {
     if (autoAcceptSet)
     {
         messagingInvitation.Accept().Wait();
         client.ReplyMessage("Thanks for having me!", messagingInvitation).Wait();
     }
     else
     {
         messagingInvitation.Decline(CallDeclineReason.Local).Wait();
     }
 }
 private void Client_MessagingInvitationReceived(MessagingInvitation messagingInvitation)
 {
     messagingInvitation.Accept().Wait();
 }