ToneController - Send Tones

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Sample name: ToneController-SendTones

Sample location: %ProgramFiles%\Microsoft Office Communications Server 2007 R2\UCMA SDK 2.0\UCMACore\Sample Applications\Collaboration\QuickStarts\AudioVideoCall\ ToneController-SendTones

Description

The application establishes a connection to the designated target, after initializing platform and endpoints. After the call is connected, the application waits for the AudioVideoFlow to become active (the value of its State property changes to Active), it attaches a ToneController, and then sends a tone. After the tone is sent, the platform is shut down normally.

Features

  • Basic audio/video call placement

  • Platform and endpoint initialization

  • Relationship of ToneController to AudioVideoFlow

Prerequisites

  • Microsoft Office Communications Server 2007 R2.

  • Two users capable of sending and receiving audio calls.

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

  • A client signed in to Office Communications Server.

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 Office Communications Server 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, and then press F5.