[SOLVED] ejabberd mod_vcard_ldap: Display more then one phone number

I’ll show in this post how you can display more then one phone number in vcard, as you can see in Image 01:

[caption id="attachment_273" align="aligncenter" width="479"]vcard Image 01: jabber client vcard window[/caption]

This is how you can display more then one phone number from Active Directory in ejabberd vcard, if you are using mod_vcard_ldap.

Add this line to your ejabberd.yml configuration file, under ldap_vcard_map:

"TEL": {"%s | %s": ["telephoneNumber","mobile"]}

As you can see in Image 02:

In images 03 and 04 you can see where the phone information came from:

[caption id="attachment_272" align="aligncenter" width="425"]active_directory_telephoneNumber
Image 03: Active Directory General tab[/caption] [caption id="attachment_272" align="aligncenter" width="425"]active_directory_mobile
Image 04: Active Directory Telephones tab[/caption]

I’ve published this in response to: https://www.ejabberd.im/node/24694

  Instalando/Utilizando o Protheus TOTVS em estações Linux 64 bits