eBooks from Rui Maximo
All books and eBooks by Rui Maximo:
Microsoft® Office Commun...
by Rui Maximo, Rick Kingslan, Rajesh Raman..., and Nirav Kamdar
Location profiles A location profile is a collection of normalization rules. The loca- tion profile defines the collection of rules to apply for a particular region. A region can be a state, province, country, or city that has specific dialing rules. For example, if the user is dialing from Redmond, Washington, the normalization rules for that area code are applied to any phone number the user dials. So if the Redmond user enters, say, an eight-digit number, Office Communications Server 2007 R2, following a rule in the Redmond location profile, adds the area code 425 when the number is dialed. The roles these components play in the routing logic of voice communications is illus- trated in the Phone Normalization Logic dotted-line box in Figure 11-16. Location profiles and normalization rules are both defined by the administrator in charge of an organization’s telephony infrastructure. Each user is assigned a location profile,
(2009)
Programming for Unified ...
by Rui Maximo, Vishwa Ranjan, Chris Mayo, Oscar Newkerk, Kurt De Ding, and Microsoft Co...
Chapter 7 Structure of a UCMA Application 185 that is designed to maximize the flow of data between the application and the Offi ce Communications Server. This provides for large-scale message processing in the applica- tion. Every UCMA application must create, configure, and start a CollaborationPlatform instance before it proceeds to calling other UCMA features. Creating the Collaboration Platform for a Server Application Listing 7-1 shows how to create and configure a CollaborationPlatform class for use by a server application. LISTING 7-1 Creating and Configuring a CollaborationPlatform Class private static void PreparePlatformAndEndpoint() { //Load the local machine's certificate X509Certificate2 cert = GetLocalCertificate(); //create a ServerPlatformSettings instance to //initialize a CollaborationPlatform instance ServerPlatformSettings platformSettings = new ServerPlatformSettings( ConfigurationManager.AppSettings["ocsUserAgentUCMALab1"], Dns.GetHostEntry("localhost").HostName, Int32.Parse(ConfigurationManager.AppSettings["appLocalPort"]), ConfigurationManager.AppSettings["appGruu"], cert); //Collaboration platform initialization _collabPlatform = new CollaborationPlatform(platformSettings); //Now that the CollaborationPlatform is configured, call BeginStartup. _collabPlatform.BeginStartup(EndCollabStartup, _collabPlatform); } In Listing 7-1, the parameters, which are used as the CollaborationPlatform
(2009)

