0

How can I use the Lync API to change current user "call forwarding" option to another SIP or a number?

Thanks

Zakos
  • 1,492
  • 2
  • 22
  • 41

1 Answers1

1
private void OnIncomingAudioVideoCallReceived(object sender, CallReceivedEventArgs<AudioVideoCall> e)
    {
        // Forward incoming Audio calls OR accept call
        try
        {
            _logger.Info("Incoming call from " + e.RemoteParticipant.Uri);
             e.Call.Forward("sip:..");
        }
        catch (InvalidOperationException ioex)
        {
            _logger.Error("Failed forwarding incoming call", ioex);
        }
    }
Zakos
  • 1,492
  • 2
  • 22
  • 41