CCM importing the wrong phone number from AD

Unanswered Question
Feb 14th, 2007

I just integrated my Call Manager with AD. It is working however the number listed on the CCM user page is the full 10 digit number instead of the 4 digit extension number. Unfortunately due to other dependencies I can not change that particular field in AD that CCM is looking at. How do make CCM look at a differant field in AD for the extension number?

Does anyone know what the "User Search Attribute" field is used for? You are prompted to populate that field during the installation of the AD plug-in. The default value is: "sAMAccountName" The documentation is a little vague. Thanks.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
gogasca Wed, 02/14/2007 - 22:49

Hi Mike,

CCM uses the "telephonenumber" attribute. I believe this cannot be changed.

I can think in:

If you use AD with your Callmanager the Corporate Directory will user that number what you set in the "Phone number" field.

The only one way to solve your problem if you configure a Translation Pattern on the


Translation Pattern 408902.XXXX

Please make sure the correct CSS

Discard Digit: PreDot

The User Search Attribute is used for CCM when doing LDAP queries to find out certain users during Directory searchs via Corporate Directory in IP Phone, EM, PAB, CCMAdmin page, etc. Its similar to "userid"

mike85719 Wed, 02/14/2007 - 23:08

I'll try the translation patterns. Great idea!

I guess I still don't understand how the Search Attribute works. If in most cases it should remain as default (sAMAccountName) then I think I'll be ok since I didn't chnage it.

jguay Fri, 04/27/2007 - 11:53

I had the same problem on a project. I solved it by creating a new ldap directory entry (deleted the old one) and changed the mapping for "Phone Number" to "ipPhone" instead of "telephoneNumber" (luckly it's one of three fields that can be remapped). My customer was using the "telephoneNumber" field for fax headers and we could not change it either (it contained 10digits + extension number).

Now he populates the IPPhone field in ActiveDirectory with the internal extension and everything works fine.

I think this is simpler than using patterns.

CCM 5.1

AD 2000

Presence 1.0.3

CUPC 1.1.3

Note: this remapping needs also to be done in Presence server if you use it.

jason.blachowski Thu, 05/17/2007 - 16:49

We had a similar issue but used the translation pattern to remove the digits. unfortunately we are cross this bridge again with attendant console. It will not show the status of the phones unless the telephonenumber field is 4 digits. I've done some digging and there is an AC.jar file that builds the corporatedirectory.txt file. I had one of our program guys up the jar file and we can see the getvalue string that grabs the telephonenumber field.

Has anyone tried to recompile the jar file to grab another field in AD such as ipPhone?

CCM 4.2(3)

AD 2000

Jon Nelson Mon, 12/01/2008 - 16:54

Unfortunately no. UCM 5.x+. The newer integration is much cleaner than the old 3.x, 4.x integration.




This Discussion