Dec 29

Unity Connection Number Conversion – Integration with LDAP

In Unity Connection, we have the option to manipulate telephone numbers from the LDAP Directory for users. Typically we would map the LDAP attribute telephone to the Unity Extension field. However since in CUCM the DNs are configured as extension and not the full e164 number format, therefore the user and mailbox DNs/Extension do not match between CUCM and CUC.

This is where Unity Connection number conversion is helpful. This allows us to manipulate the telephone field from LDAP into an extension number. The conversion is based on a regular expression. I’ve listed the below regex examples from the Cisco Unity Connection Guide.

When the user is imported in Unity Connection a new field Telephone is created along the existing extension field.  The telephone field stores the e164 number and the extension stores the resulting regex number.

Example:

REGEX =        .*(\d{4})

E164    =        +61288793845

Extension =  3845

Unity Connection Number Conversion