Share via


Creating a Contact Object

[This is preliminary documentation and is subject to change. Blank topics are included as placeholders.]

You can use the LCSCmd.exe command line utility to create Contact objects in the Active Directory Domain Services. After you create a Contact object, you can associate it with a workflow. A Contact object can be associated with only one workflow. Create a Contact object for each workflow that you plan to deploy.

The LCSCmd.exe command to create a Contact object has the following format:

LCSCmd /forest /action:CreateApplicationContact /PoolName:<poolname> 
/Id:Microsoft.Rtc.Applications.Acd /DisplayName:<displayname> 
/DisplayNumber:+<display number> /PrimaryUri:sip:<Contact object uri> 
/LineUri:tel:+<actual line number>

Where:

  • PoolName specifies the name of the name of the Standard Edition server or Enterprise pool where the Response Group service is installed.
  • DisplayName specifies the name as it is displayed in the client (for example, Office Communicator).
  • DisplayNumber specifies the telephone number as it is displayed in the client.
  • PrimaryUri:sip specifies the SIP URI of the Contact object.
  • LineUri:tel specifies the telephone number that is called.

The following example creates a Contact object called Help Desk.

Note

This command line example has been split into multiple lines for readability. You would actually enter it on one line without breaks.

LCSCmd /forest /action:CreateApplicationContact /PoolName:ServerA 
/Id:Microsoft.Rtc.Applications.Acd /DisplayName:“Help Desk” 
/DisplayNumber:+14255550034 /PrimaryUri:sip:HelpDeskWorkflow@contoso.com 
/LineUri:tel:+14255550034

To create a Contact object

  1. Log on as a member of the RTCUniversalServerAdmins group to a server in the same Active Directory forest as the server where the Response Group service is installed.

  2. Click Start, and then click Run. In the Open box, type cmd, and then click OK.

  3. At the command prompt, go to the directory that contains the LCSCmd.exe utility, by default %programfiles%\Common Files\Microsoft Office Communications Server 2007 R2.

  4. Type your LCSCmd.exe command, and then press RETURN.

See Also

Concepts

Creating a Workflow