Synology Contact / Grandstream / multiple numbers per Contact
Added by Olaf Thyssen 2 days ago
Hallo Jörg,
awesome work with L2CPBG and I like the docker release, especially when Synology Contacts is already used.
Architecture: Synology Docker (l2cpbg-docker.zip)
Voice phone: Grandstream WP825
CardDAV Server: Synology Contacts
(ReadMe 0100 has been read)
Usually I have either homePhone or mobile but sometimes both entries for contacts in Synology Contacts
On the Grandstream I receive always only one number for the contact and mobile wins over homePhone if both are present
Do I need to set some kind of merge LDAP attributes or mapping in the config file or is it the behavior of the Grandstream ?
Any hints how I get an alphabetical ordered LDAP address book on the Grandstream with
sn, givenName ???
"LDAP Display Name" with %cn shows the full name but not really ordered by first name.
Some manuals for some Grandstream desk phones are using gn for givenName , but it seems the WP825 neither honors gn nor givenName .
If I set
- %sn %gn
- %sn %givenName
Kind regards
Olaf
Replies (2)
RE: Synology Contact / Grandstream / multiple numbers per Contact
-
Added by Olaf Thyssen 1 day ago
well, upgrading the Grandstream from 1.0.11. 57 (recently purchased device with firmware from 2024 ?!?!) to 1.0.11. 78 introduced the sort in the LDAP config
... and I have more than one number behind each contact.
Even the sort is happening by surname the displayname is a bit confusing with leading givenName.
Haven't found how to display "sn, givenName" in contacts on Grandstream
RE: Synology Contact / Grandstream / multiple numbers per Contact
-
Added by Jörg Ebeling about 1 hour ago
Hi Olaf,
glad to hear that L2CPBG and the docker container is usefull for you
Having multiple phone numbers per contact, is a fully normal usecase.
But if I understand correctly, most is solved now after the firmware update?
Probably worth to test:
L2CPBG sort the LDAP response automatically based on the requested attributes.
So, if you set i.e. "LDAP Display Name = %sn %givenName", then L2CPBG will sort the result first by the surname, and equal surnames afterwards by given name.
L2CPBG does this with a "Natural string comparison" similar sort algorithm.
But yes, for this you need to find out how this get supported by Grandstream
"LDAP Display Name" sounds pretty correct and nearly all desk-phones I do know, support that, but some are limited in that way, that you can only use those field in "LDAP Display Name" which get also used within the "name filter"!
Also please keep in mind that L2CPBG's sorted results will only work as expected if the phone don't sort it again