Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: PublishPresence
Sample location: %ProgramFiles%\Microsoft Office Communications Server 2007 R2\UCMA SDK 2.0\UCMACore\Sample Applications\Collaboration\QuickStarts\ PublishPresence
Description
The application initializes the platform and a UserEndpoint instance and publishes the user's presence as "busy". The application then deletes the presence state publication and cleans up the endpoints and platform.
Throughout the process, the application listens for incoming notifications and reflects the updated state in the console.
Features
- Presence publication using a grammar
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
Replace the credentials in the configuration file with the credentials and server of the users from your Office Communications Server topology.
Open the project in Microsoft Visual Studio, and then press F5.
In Office Communicator, change the presence of a user.