I noticed in the release notes that support was added for showing buddy photos with Lync 2013. We're using Lync 2010 which supports buddy photos in the official Windows client - any chance of getting that supported by Sipe with Lync 2010?
Buddy photos have originally been added for Lync 2010 and I remember them working with an Office 365 account back then.
I can only guess that your buddy photos are stored in AD. I remember vaguely looking at accessing information from AD via LDAP. But I was unable to find any LDAP library that could be used in SIPE code.
You might want to provide a --debug log showing the error messages.
Unless further information is provided I'll close this as "will not implement".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can only assume that <displayadphoto>true</displayadphoto> means that > the photo is only stored in the Windows AD. SIPE doesn't talk to Windows > AD and I'm not sure if it is possible at all or with what effort
I think there may be a mismatch between process_incoming_notify_rlmi() (in sipe-notify.c around line 684) which passes "photo_url, hash, NULL" and sipe_buddy_update_photo() (in sipe-buddy.c around line 1741) which has "hash" first and "photo_url second"
I swapped the order of the parameters in sipe-notify.c, and now I have buddy photos! Thanks!
Last edit: Peter Fales 2014-06-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Buddy photos have originally been added for Lync 2010 and I remember them working with an Office 365 account back then.
I can only guess that your buddy photos are stored in AD. I remember vaguely looking at accessing information from AD via LDAP. But I was unable to find any LDAP library that could be used in SIPE code.
You might want to provide a --debug log showing the error messages.
Unless further information is provided I'll close this as "will not implement".
I've attached the debug log file. There are number of references to photo uri's and "useADPhoto" but nothing that is obviously an error message.
Copied from the forum discussion [0b465de7]:
Related
Forums: 0b465de7
I don't claim to really understand all this, but I don't think it needs ldap. The log shows references to things like
<photo type="default" updated="2014-06-02T14:24:56Z"> <uri>http://faces.all.alcatel-lucent.com/l/XXXXXXX</uri><hash>3515179018l</hash></photo>
and if do a "wget http://faces.all.alcatel-lucent.com/l/XXXXX" from the command line it retreives a jpeg file with the person's photo.
Last edit: Peter Fales 2014-06-05
Implemented in git commit 6b2f571. Please verify that this works for you, because none of my accounts has photo nodes in the contactCard XML.
I think there may be a mismatch between process_incoming_notify_rlmi() (in sipe-notify.c around line 684) which passes "photo_url, hash, NULL" and sipe_buddy_update_photo() (in sipe-buddy.c around line 1741) which has "hash" first and "photo_url second"
I swapped the order of the parameters in sipe-notify.c, and now I have buddy photos! Thanks!
Last edit: Peter Fales 2014-06-05
Thanks. Fixed in git commit fe8c19a
CLOSING