Ldap vCard mapping. Problem with telephoneNumber field

Hi,

My scenario is as follows:

  1. Corporate Ldap (OpenLdap) with field: telephoneNumber, cn, givenName, sn, etc.

  2. Openfire 3.7.1 integrated with LDAP.

LDAP preferences:

ldap.usernameField = uid

ldap.vcard-mapping =

<![CDATA[ {cn}{cn} {telephoneNumber} {cn} {uid}image/jpeg{jpegPhoto} **{0} **{telephoneNumber} ]]>

The problem is that I can not get the telephoneNumber in vCards returned by the server.

The server debug logs:

2016.01.27 09:36:18 org.jivesoftware.openfire.ldap.LdapVCardProvider - LdapVCardProvider: Found attribute uid of type: class java.lang.String

2016.01.27 09:36:18 org.jivesoftware.openfire.ldap.LdapVCardProvider - LdapVCardProvider: Ldap attribute ‘uid’=>‘cristina.gil5’

2016.01.27 09:36:18 org.jivesoftware.openfire.ldap.LdapVCardProvider - LdapVCardProvider: No ldap value found for attribute ‘0’

2016.01.27 09:36:18 org.jivesoftware.openfire.ldap.LdapVCardProvider - LdapVCardProvider: Ldap attribute ‘0’=>’’

2016.01.27 09:36:18 org.jivesoftware.openfire.ldap.LdapVCardProvider - LdapVCardProvider: No ldap value found for attribute ‘jpeg’

2016.01.27 09:36:18 org.jivesoftware.openfire.ldap.LdapVCardProvider - LdapVCardProvider: Ldap attribute ‘jpeg’=>’’

2016.01.27 09:36:18 org.jivesoftware.openfire.ldap.LdapVCardProvider - LdapVCardProvider: Found attribute cn of type: class java.lang.String

2016.01.27 09:36:18 org.jivesoftware.openfire.ldap.LdapVCardProvider - LdapVCardProvider: Ldap attribute ‘cn’=>‘CRISTINA GIL GARGAN’

2016.01.27 09:36:18 org.jivesoftware.openfire.ldap.LdapVCardProvider - LdapVCardProvider: No ldap value found for attribute ‘jpegPhoto’

2016.01.27 09:36:18 org.jivesoftware.openfire.ldap.LdapVCardProvider - LdapVCardProvider: Ldap attribute ‘jpegPhoto’=>’’

**2016.01.27 09:36:18 org.jivesoftware.openfire.ldap.LdapVCardProvider - LdapVCardProvider: No ldap value found for attribute ‘telephoneNumber’ **

2016.01.27 09:36:18 org.jivesoftware.openfire.ldap.LdapVCardProvider - LdapVCardProvider: Ldap attribute ‘telephoneNumber’=>’

2016.01.27 09:36:18 org.jivesoftware.openfire.ldap.LdapVCardProvider - LdapVCardProvider: No ldap value found for attribute ‘image’

2016.01.27 09:36:18 org.jivesoftware.openfire.ldap.LdapVCardProvider - LdapVCardProvider: Ldap attribute ‘image’=>’

¿Any idea?

Thanks