IT tutorials
 
Technology
 

Microsoft Lync Server 2010 : UCMA (part 2) - Walkthrough of the UCMA 3.0 Components

10/5/2013 7:42:24 PM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

5. Installing UCMA 3.0

After downloading the UCMA 3.0 SDK from Microsoft, you should end up with a file called UcmaSdkSetup.exe. When you double-click the application, you get a screen similar to Figure 3. Simply follow the prompts.

Figure 3. Installing UCMA 3.0

The installation creates a UCMA 3.0 directory in your Program Files directory such as what is shown in Figure 4. Note the subdirectories for the different APIs along with the runtime and documentation. If you look closely, you can also see a couple of Sample Applications directories.

Figure 4. UCMA Installation Location



6. Walkthrough of the UCMA 3.0 Components

After the UCMA SDK is installed, look at the UCMA components in Visual Studio 2010. After opening VS 2010, clicking File, New, Project gives you the New Project Wizard, as shown in Figure 5. To start a UCMA 3.0 project, expand the Visual C# tree and select Communications Workflow. At first you might be surprised to find that there are no templates showing under Communications Workflow. If nothing is shown, select .NET Framework 3.5 in the drop-down at the top of the wizard.

Figure 5. New Project Wizard

Note

Currently, UCMA 3.0 does not support .NET Framework 4.0.


Next, select the Inbound Sequential Workflow Console Application. In the bottom half of the wizard, name your application and select a location for the application. Click OK and Visual Studio asks you to select a language for your project. The language options available depend on what languages you have installed on your computer. After selecting the correct language for your project, Visual Studio creates your application and presents you with a screen that looks like the one shown in Figure 6.

Figure 6. Workflow Design

Note

At first glance, the Visual Studio interface looks similar to any other project that you have created in the past. In a typical Visual Studio layout, notice your workflow in the center along with the Solution Explorer showing the files in your application. You also see the toolbox showing the various components of the UCMA Workflow.

First, let’s look at the default Workflow. Notice that the first component is an acceptCallActivity. This component does exactly what its name implies: It accepts a call. But you need to be aware that in the case of a UCMA Workflow application the call can be either a voice call or an IM request. Yes, this component can handle both and that means you can design your application so that it can handle both types of calls by branching in your code based on the call type. The next component is a communications SequenceActivity. This component executes a series of activities in order and is necessary to control the call.

In the Solution Explorer, notice that the project consists of a WPF piece that controls the markup for your Workflow (along with the accompanying C# code behind) as well as a Program.cs file. The logic part of your application is split between these two files, with the Program.cs file running when your application starts. It handles the setting up of the endpoints for the call as well as the trust relationship (using certificates) between the application and the Lync machine. It is also responsible for the initialization of the Workflow and setting up the collaboration with Lync. It is the setting up of the endpoints that enable Lync to direct calls to your application (for example, the endpoint).

After the console application runs and the endpoints are established, the application simply waits for calls to get directed to it. When the application receives a call, it fires up the Workflow piece of your application, which is where your call flow resides. It is this part of the application that interacts with the caller receiving input from the caller and providing feedback to the caller. Figure 7 shows a visual description of the Workflow.

Figure 7. Workflow Detail

 
Others
 
- Microsoft Lync Server 2010 : UCMA (part 1) - Server APIs ,Client APIs , PowerShell
- Sharepoint 2010 : Querying SharePoint Data (part 2) - Querying Using LINQ
- Sharepoint 2010 : Querying SharePoint Data (part 1) - Querying Using CAML
- Windows Small Business Server 2011 : Creating a Data Collector Set (part 3) - Scheduling Data Collection
- Windows Small Business Server 2011 : Creating a Data Collector Set (part 2) - Constructing a Data Collector Set Manually
- Windows Small Business Server 2011 : Creating a Data Collector Set (part 1) - Building a Data Collector Set from a Template
- Windows Small Business Server 2011 : Using Reliability Monitor, Managing Collected Data
- Windows 8 : BitLocker Drive Encryption: The Essentials (part 3) - Deploying BitLocker Drive Encryption
- Windows 8 : BitLocker Drive Encryption: The Essentials (part 2) - Hardware Encryption, Secure Boot, and Network Unlock
- Windows 8 : BitLocker Drive Encryption: The Essentials (part 1) - Understanding BitLocker Drive Encryption
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us