Chad McGreanor's Blog

Engineers Notebook

Archive for February, 2009

OCSR2 Response Group Tab Configuration

Posted by Chad McGreanor on February 17, 2009

In order to use the OCSR2 “formal” response group method you must create a custom tab for MOC 2007R2.  Here is the XML file that does that for you.

<tab>
    <image>https://ocs-abs.voxns.com/rgsoctab.png</image>
    <userid>true</userid>
    <name>Response Group Tab</name>
    <tooltip>Response Group Tab</tooltip>
    <contenturl>https://ocs-abs.voxns.com/rgs/clients/Tab.aspx</contenturl>
    <accessibility>both</accessibility>
    <contactid>true</contactid>
    <siteid>1</siteid>
</tab>

C:\Program Files\Microsoft Office Communications Server 2007 R2\Web Components\Acd Files\Clients\RgsOcTab.png

The location above is where you can find the .png flie for the tab.

Posted in Microsoft, OCS 2007 R2 | Leave a Comment »

Custom Tabs is Microsoft Office Communicator R2 Not Working

Posted by Chad McGreanor on February 17, 2009

Here is a sample of a xml file that does work:

<?xml version=”1.0″ ?>
<tabdata>
<tab>
<image>https://ocs-abs.voxns.com/favicon.png</image>
<name>Google</name>
<tooltip>Google Mobile</tooltip>
<contenturl>http://www.google.com/m</contenturl>
<userid>false</userid>
<contactid>false</contactid>
<accessibility>both</accessibility>
</tab>
</tabdata>

Ensure that this file is located on a https site and that the url configured in the xml file is added to the trusted sites in IE.  You need to ensure the server you are hosting it on is listed there as well.

Alot of people have been saying that the below code does not work.  The thing is, it does work.  To see the custom information you must right click on a contact and choose view contact card.  The information for the custom tab was moved to there when you set contactid to true:

<?xml version=”1.0″ ?>
<tabdata>
<tab>
<image>https://ocs-abs.voxns.com/favicon.png</image>
<name>Google</name>
<tooltip>Google Mobile</tooltip>
<contenturl>http://www.google.com/m</contenturl>
<userid>false</userid>
<contactid>true</contactid>
<accessibility>both</accessibility>
</tab>
</tabdata>

Posted in Microsoft, OCS 2007 R2 | 3 Comments »

OCS R2 MOC and Group Chat Client Sluggis or slow

Posted by Chad McGreanor on February 6, 2009

Symptoms:
You login to Microsoft Office Communicator R2 (MOC) and sign in and all other operation seems to be delayed.  Changing status takes 4-5 seconds.  After signing out without closing MOC attempting to login takes longer then usual.

OCS R2 Group Chat client takes several seconds to send a message as well as recieve one.

If anyone is having these issues leave a comment:  I believe I have a fix to the issue I just want to see if anyone else is experiencing this.

Posted in Microsoft, OCS 2007 R2 | Leave a Comment »

OCS R2 Group Chat Issue

Posted by Chad McGreanor on February 4, 2009

I was recently having a problem with Group Chat in OCS R2 not allowing me to do a file transfer.  Here is what I found…

My domain voxlab.local sip uri for users is voxns.com

When I configured group chat I had to create 2 user accounts and create a SIP URI.
These accounts are..
OCSChat@voxlab.local
ChannelService@voxlab.local

Keep in mind the voxlab.local part of this.

I noticed that I could log into Group Chat and for the most part it was all functioning.
The file transfer and some chat room properties wither were not working or not accessible.

I found that the OCSChat and ChannelService were the problem.
I changed the SIP uri domain portion to voxns.com from voxlab.local.  I also went into the Group Chat Configuration and verified they were changed there as well.  I also noticed that I had not configured a SSL port and certificate for IIS.  I completed that and added the ChannelService account to the directory that was defined as the folder for where files were stored.  The ChannelService account has the necessary permissions to the folder.  You need to be part of the RTCComponentUniversalServices group.

I hope my pain helps someone.

Posted in Microsoft, OCS 2007 R2 | 2 Comments »

OCS 2007 and Exchange 2007 UM Integration Note

Posted by Chad McGreanor on February 4, 2009

I put together this configuration note for integrating OCS 20007 and Exchange 2007 UM.  Excertps from Microsoft Technet.

 

Exchange 2007 UM and Office Communications Server 2007 Interoperability Configuration Notes

The following tools will be required:

·         The Exchange 2007 SP1 Management Shell also known as “PowerShell”

·         The script exchucutil.ps1, which performs the following tasks:

o   Creates a UM IP gateway for each Communications Server 2007 Enterprise Pool.

o   Creates a hunt group for each gateway. (The pilot identifier of each hunt group specifies the UM dial plan used by the Enterprise Pool that is associated with the gateway.)

o   Grants Communications Server Permission to read Exchange UM objects in Active Directory.

The script exchucutil.ps1 is by default installed in <exchange_install_directory>\Scripts\

Requirements and Recommendations

·         Make sure that you have deployed the following Exchange server roles either (in the same or a different forest as Communications Server 2007): Hub Transport, Client Access, Mailbox, and Unified Messaging.

Also note the following:

·         If Exchange UM is installed in multiple forests, the Exchange integration steps must be performed for each Um forest.  In addition, each UM forest must be configured to trust the forest in which Communications server is deployed.

·         The integration steps are performed on both Exchange UM server and Communications Server.  You should perform the Exchange Um integration steps before you do the Communications Server integration steps.

Configuring Exchange Um to work with Enterprise Voice consists o the following tasks:

·         Creating one or more UM dial plans as needed, and the creating corresponding location profiles.

·         Creating a Sip URI for each user and associating users with a UM dial plan.

·         Using the exchucutil.ps1 script to:

o   Create UM IP gateways.

o   Create UM hunt groups.

o   Grant Communications Server permission to read UM Active Directory objects.

·         Creating a UM auto-attendant object.

 

 

 

 

 

Configuring Exchange UM using Exchucutil.ps1

1.       Create a UM dial plan for each of your Enterprise Voice location profiles. If you choose to use the Exchange Management Console, create a new dial plan with the security setting SIP Secured. If you use the Exchange Management Shell, type the following script:

new-umdialplan -name <dial plan name> -UriType “SipName” -VoipSecurity <SIPSecured|Secured> -NumberOfDigitsInExtension <number of digits> -AccessTelephoneNumbers <access number in E.164 format>

 

For Exammple:

new-umdialplan -name SFUmDialPlan -UriType “SipName” -VoipSecurity SIPSecured -NumberOfDigitsInExtension 4 -AccessTelephoneNumbers 1162

 

Important

The dial plan name that you create must also be a valid Communications Server location profile name. Therefore, it must contain no more than 256 alphanumeric characters and must not contain spaces or special characters other than hyphens (-) or periods (.).

 

2.       Obtain the FQDN for each UM dial plan.

(Get-UMDialPlan <dialplanname>).PhoneContext

Example:

(Get-UMDialPlan SFUMDialPlan).PhoneContext

 

3.       Record the dial plan name of each UM dial plan. You will use the FQDN of each dial plan name later as the name of each UM dial plans corresponding Communications Server location profile.

 

4.       Add the dial plan to the UM server. If you choose to use the Exchange Management Console, you can add the dial plan from the property sheet for the server. For specific instructions, see your Exchange 2007 SP1 documentation. If you use the Exchange Management Shell, type the following script:

$ums=get-umserver;

$dp=get-umdialplan –id <name of dial-plan created in step 1>;

$ums.DialPlans +=$dp.Identity;

$ums | set-umserver

Example:

$ums=get-umserver;

$dp=get-umdialplan –id SFUmDialPlan>;

$ums.DialPlans +=$dp.Identity;

$ums | set-umserver

 

5.       Navigate to <Exchange installation directory>\Scripts, and then if Exchange is deployed in a single forest, type:


exchucutil.ps1

exchucutil.ps1 –verify

 

If Exchange is deployed in multiple forests, type:

exchucutil.ps1 -Forest:”<forest FQDN>”  for multiple forest deployments
where forest FQDN specifies the forest in which Office Communications Server is deployed.

 

 

6.       Create a UM auto-attendant for each Communications Server location profile.

New-umautoattendant -name <auto attendant name> -umdialplan < name of dial plan created in step 1> -PilotIdentifierList <auto attendant phone number in E.164 format> -SpeechEnabled $true -Status Enabled

 

Example:
New-umautoattendant -name SFUMAutoAttendant -umdialplan SFUMDialPlan -PilotIdentifierList 1165 -SpeechEnabled $true -Status Enabled

 

 

Office Communications Server 2007 Configuration:

This step requires the Exchange UM Integration Utility (ocsumutil.exe). This tool is located on the Office Communications Server at <installation directory>\Microsoft Office Communications Server 2007\Server\Support.

Running the Exchange UM Integration Utility

The Exchange UM Integration Utility must be run from a user account with the following characteristics:

·         Membership in the RTCUniversalUserAdmins group (which includes rights to read Exchange UM settings).

·         Domain rights to create contact objects in the specified OU container.

The Exchange UM Integration Utility performs the following tasks:

·         Creates contact objects for each auto-attendant and subscriber access number to be used by Enterprise Voice users.

·         Verifies that the name of each Enterprise Voice location profile matches its corresponding UM dial plan phone context.

To run the Exchange UM Integration Utility

1.       On a Front End Server, open a command prompt and then go to <installation directory>\Microsoft Office Communications Server 2007\Server\Support, where ocsumutil.exe is located. (Or open Windows Explorer, navigate to this folder, and then double-click OcsUMUtil.exe.)

2.        Double-click OcsUMUtil.exe.

3.       Click Load Data to find all trusted Exchange forests.

4.       In the SIP Dial Plans list, select a UM SIP dial plan for which you want to create contact objects, and then click Add.

5.       In the OU Picker box, either select the OU you want and click OK, or click Make New OU to create a new organizational unit under the root or any other OU in the domain. For example, “OU=RTC Special Accounts,DC=fourthcoffee,DC=com.” When you finish, click OK. The distinguished name of the organizational unit that you have selected or created is now displayed on the Contact box in Organizational Unit.

6.       In the Contact box, either accept the default dial plan name or type a new user-friendly name for the contact object that you are creating in the Name box. For example, if you are creating a subscriber access contact object, you might simply name it Subscriber Access.

7.       In the SIP Address box, either accept the default SIP address or type a new SIP address. If you type a new SIP address, it must begin with SIP:.

8.       In the list, select the SIP domain for the contact object.

9.       In the Server or Pool list, select the Standard Edition Server or Enterprise Pool in which the contact object is to be enabled. Preferably, the pool you select is the same one pool where users enabled for Enterprise Voice and Exchange UM are deployed.

10.   In the Contact Type list, select the contact type that you want to create, and then click OK.

11.   Repeat steps 1 through 11 for additional contact objects that you want to create. You should create at least one contact for each auto attendant and, if you want external access, you also need a Subscriber Access contact.

To verify that the contact objects have been created, open Active Directory Users and Computers and select the OU in which the objects were created. The contact objects should appear in the details pane.

Enable the users for UM in the Exchange management console.  After the are enabled you should be able to choose “Call VoiceMail” from the Microsoft Office Communicator Client.

Posted in Microsoft, OCS 2007, OCS 2007 R2 | Leave a Comment »