On Tue, 1 Jul 2014 09:28:36 -0700 (PDT)
Stanislav Kopp <stask...@gmail.com> wrote:

> Not sure if this a right place to post, but does anybody have working 
> examples of "Multi-level fields"  for vcard function? The
> documentation
> <https://code.google.com/p/prosody-modules/source/browse/mod_lib_ldap/README.md?repo=0-8&r=798ef3470b9e4779ed11d895c24148785d1d0a5e>
> says "I recommend looking at the example configuration for
> clarification", but there are no examples for  "Multi-level fields"
> only for "photo" which is "Single-level field". I need working
> "telephone" and "email" mapping for vCard and can't lua to figure it
> out on my own. 
> 

Hi Stanislav,

Sorry for the lack of examples; try something like this:

  telephone = {
    {
      work = 'work_phone' -- where work_phone is the name of the LDAP
                          -- field containing the work phone number
    }
  }

If this doesn't work, let me know and I can investigate further.

-Rob

-- 
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to