Put a Call on Hold (QuickStart)

Sample name: AVFlow-Hold

Sample location: %ProgramFiles%\Microsoft UCMA 3.0\SDK\Core\Sample Applications\QuickStarts\AudioVideoCall\AVFlow-Hold

Place a call, put the call on hold, and then retrieve the call from hold.

Description

The application places an audio/video call to the designated target, after initializing platform and endpoints.

After the call is connected, the application places the active AudioVideoFlow on hold. A moment later, the application retrieves the call from hold. The application prints the step-by-step actions it performs to the console, and then exits, performing normal platform shutdown.

Features

  • Placing an audio/video call on hold and then resuming the call

  • Basic audio/video call placement

  • AudioVideoFlow handling and control

Prerequisites

  • Microsoft Lync Server 2010.

  • Two users capable of sending and receiving audio calls.

  • 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. Replace the credentials in the variables at the beginning of the code sample with the credentials and server of the users from your Lync Server 2010 topology.

  2. Substitute the address of the called user in the code sample with the address of a valid, currently signed-in user capable of receiving audio calls.

  3. Open the project in Microsoft Visual Studio development system, and then press F5.