如何使用Lync API将当前用户“呼叫转移”选项更改为其他SIP或号码?
由于
答案 0 :(得分: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);
}
}