Forward an Incoming Call (QuickStart)

Sample name: ForwardIncomingCall

Sample location: %ProgramFiles%\Microsoft UCMA 3.0\SDK\Core\Sample Applications\QuickStarts\ForwardIncomingCall

Description

The application initializes the platform and logs in on behalf of a user. The sample then waits for an incoming audio-video call, forwards the incoming audio/video call to the designated target. After forwarding the call, the sample then terminates the call, conversation, and platform. The sample then exits.

Features

  • Call and conversation cleanup and use

  • Call forwarding

  • AudioVideoFlow handling and control

Prerequisites

  • Microsoft Lync Server 2010.

  • Three users, enabled to use Lync Server 2010.

  • The credentials for each user, and a client capable of signing in to Lync Server 2010.

  • A client signed in to Lync Server 2010.

Running the Sample

  1. Supply the user credentials in the accompanying app.config file, or you will be prompted for them when you run the sample.

  2. Open the project in Microsoft Visual Studio, and then press F5.

  3. Make a voice call from the user logged into Lync 2010 to the URI of the user whose credentials the sample is using.