Example #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();
     }
 }
Example #2
0
 private void Client_MessagingInvitationCompleted(MessagingInvitation messagingInvitation)
 {
 }
 private void Client_MessagingInvitationReceived(MessagingInvitation messagingInvitation)
 {
     messagingInvitation.Accept().Wait();
 }