Blog Archives

Phone number normalization in OCS 2007

I ran into this issue with OCS 2007 and thought it might come in handy for someone in the future.  Lets say you deploy OCS 2007 in your environment, and in AD you use the phone number field for the office ext, and you want to keep that format.  Lets also assume you are noticing that if you use this configuration you end up with warnings in communicator saying it cannot synchronize the addressbook.  When you check the event log on your OCS server you see errors and warnings about the addressbook server.  You won’t find a service for this component (at least I couldn’t find it), it appears to be built-in to the OCS server software.  You also find a list of invalid AD phone numbers in your C:Program FilesMicrosoft Office Communications Server 2007Web ComponentsAddress Book FilesFiles directory. 

So how can you keep your internal extensions in their current format and still communicator without having to see the annoying addressbook warning.  Its not simple, but the fix is not too complex to impliment.  Here is what to do.  This assumes that you use a format such as “x 5555” for your extensions in AD for the users in the phone number field. 

First, in the OCS 2007 console, right click on the forest, and go to properties, then select voice properties.  Next, click the “Add” button to setup a new default location profile.  Give it a name and a description.  Next, under “Normalization Rules” click the “Add” button.  Give this a name also and a description.  Under translation, enter “^(x|X|x |X )“ without the quotes in the “Phone pattern regular expression” box.  In the next box, enter “$`”  Thats a dollar sign, immediately followed by the key to the left of the number one key on the top number row of your keyboard.  To test this, enter an extension in the same format as you use in AD in the “sample dialed number:“ box.  If it works you should see the resulting number in the format you want in the bottom text box. 

Save you changes by clicking “ok” until you are back at the console screen.  Then you just need to issue some commands on the server to update the address list, which are listed below: (NOTE: CD To the directory of your abserver.exe location)

Click Start, click Run, type cmd, and then click OK. 

Type net start abserver, and then press ENTER.

Type abserver.exe –regenUR, and then press ENTER.

Type abserver.exe –syncNow, and then press ENTER.

Exit and re-start communciator on your PC/laptop and it should now load with no errors or warnings and you will now see your extensions listed.

Advertisements

Ran into issue with LCS 2005 and OCS 2007

LCS 2005 (Enterprise Edition) is installed on a single server with SQL 2005 server for the backend database. ?There is no warning or indication that this would cause any problem and up until now it?hasn’t.? The software does allow for this type of deployment and works fine in this configuration.? OCS 2007 server was recently installed and configured.? During initial testing it was observed that users on the 2005 LCS server could not see presence data and communicate with users on the OCS 2007 server (and vice-versa).??After searching online for solutions it was found that there are two critical hotfixes for LCS 2005 that were said to correct this issue.?

Installing the hotfixes:
Following the instructions on the first hotfix documentation, I installed hotfix 911996.? The installer completed successfully and there was no indication of a problem.? Next I installed the second hotfix 921543, again the installer ran successfully and there was no indication of a problem.? I then checked the services for LCS and found that the LCS Server services would start, but then stop on its own with an error:

Event ID: 12299
Source: Live Communications Server
Details: The service is shutting down due to an internal error.
Error Code: 0xC3EE78F8.

The hotfix documentation mentioned this error as a possibility if you install the patch on the front-end server before the backend patch is installed.? However, since this was a single server deployment with both the back-end database and front-end server components on the same physical server, the hotfix only installed the update for the front-end components.? Again, there is no documentation saying this is not a supported configuration and the installer will gladly allow you do install both components together without a problem in the LCS 2005 setup.? (NOTE: OCS 2007 server prevents this configuration in the installer and will not install both components on the same box when using Enterprise Edition).? There is also no warning in the hotfix documentation not to install the update if you have both components on the same physical box.?

For a resolution, I called Microsoft support services ticket number SRX080212602272 and spoke to an afterhours support specialist.? After some initial troubleshooting and research the technician was able to review a similar case they had a few months ago.? He attempted the resolution listed in their issue history which did ultimately fix the issue.? To resolve, a string value must be deleted from the LCS 2005 registry branch (HKLMSoftwareMicrosoftReal-Time Communications{Your GUID}.? This key “role=EE” ?had to be deleted from the registry in order for the hotfix to install on the back-end database.? Once this was done, the LCS 2005 server service started successfully and we tested connectivity with a test account to verify that the server was working normally.? Basically this tricks the installer into thinking that the server is the backend database only, and it will allow the hotfix to install the back-end components.?

This issue could have been avoided completely if Microsoft had updated their documentation for the hotfix, especially since they had issues with this months ago and should have updated the documentation.? I am recommending to the technical support manager that the documentation be updated since this is a known issue and others have experienced the same problem.? Hopefully this will get done and prevent others from having the same issue.?

Tags: , , , , , ,

Communicator 2007 custom presence tool

I just came across this artile about a tool that automates the little known feature of custom presence in Communicator 2007.  Those of you familiar with other IM platforms will appreciate the incorporation of this feature in Communicator 2007.  Although as nice as this is, tell me Microsoft…why aren’t you building this into the GUI in the first place?

Now running WordPress 2.2

As of late last night I am now running WordPress 2.2. I was a little nervous about the upgrade, and it was a little complicated, but it went ok. I did run into a few interesting situations…

First, I use the plugin “Category Access” which restricts some categories from being publically avialable. These I want to keep privately for my own viewing. So when I went to do the upgrade, I saw the docs wanted you to disable all plugins. Well if I did that, my private categories would be exposed to the world and I didn’t want that. So I left category access enabled.

Second, my FTP client was not set to overwrite properly, so my first run through was not successful. Thank goodness I made backups before I started. Second time was the charm for me.

As far as my plugins go, everything still works except for two minor issues. I wanted to try sidebar widgets on my blog, but after upgrading to 2.2, I found that sidebar widgets won’t activate properly, and generates a fatal error. The plugin cannot be activated. Also, my category access plugin now locks the subject of some messages saying I don’t have the proper permissions to view the posts, however I can click on the posts and view them normally. So there is a small bug in category access, but overall I’m pleased with the upgrade.

Paperless home office!

I got a sheetfed scanner in the mail today, and started doing some searches for free or open source software for use in making our home office a paperless home office. I am so tired of all the clutter in all the papers we get from creditors, and not to mention all the papers from Sarah’s schooling and Liz’s activities. I found this great software called DocsVault, which has a free home edition for download. I had searched for a few hours and really hadn’t found much of anything that cought my eye. Some expensive server based systems looked great, but were overkill for my home needs. So I came across this software and downloaded it to give it a try. I was impressed right from the start, it has everything we need for organizationl; cabinets, drawers and folders. It stores everything in an internal database and can use my sheet fed scanner. It has backup and restore capabilities built in, and can burn stright to CD/DVD or to a hard drive location. It integrate with MS Office and save documents directly to the cabinet/drawer of your choice. It has search capabilities and lots of powerful features above and beyond what I thought I could get for free. I started today scanning in papers, anything from bills, tax paperwork and all the way to the girls drawlings. Its perfect and exactly what I need to take care of my digital home needs. This should decrease the clutter and allow for better archiving and make things easier to find.