You can use the RGSCOT.exe command-line utility to create Contact objects in the Active Directory Domain Services. The Contact object is stored in the container created by Office Communications Server. After you create a Contact object, you can associate it with a Response Group, or workflow. A Contact object can be associated with only one workflow. Create a Contact object for each workflow that you plan to deploy.

The RGSCOT.exe command that you use to create a Contact object has the following format:

Copy Code
RGSCOT /Create /PoolFQDN:<FQDN of pool>
/DisplayName:<display name> 
/DisplayNumber:<display number> /PrimaryUri:<SIP URI of
Contact object> 
/LineUri:tel:+<actual line number>
/EnabledForFederation:<True|False> 

Where:

The following example creates a Contact object called HR:

Copy Code
RGSCOT /Create /PoolFQDN:ServerA.contoso.com /DisplayName:HR 
/DisplayNumber:+14255550100
/PrimaryUri:sip:humanresources@contoso.com 
/LineUri:tel:+14255550100
Note:
This command-line example has been separated into multiple lines for readability. You actually type it on one line without breaks at the command line.

To create a Contact object

  1. On a computer where the Office Communications Server 2007 R2 administrative tools are installed, log on as a member of the RTCUniversalServerAdminsgroup.

  2. Click Start, click Run, type cmdin the Openbox, and then click OK.

  3. At the command prompt, go to the directory that contains the RGSCOT.exe utility (the default location is %ProgramFiles%\Common Files\Microsoft Office Communications Server 2007 R2).

  4. Type the complete RGSCOT.execommand with your specific parameters, and then press RETURN.

See Also