I have both the s500 and the s700 Sangoma VoIP phones. In User Manager and Contact Manager I have setup Gravatar images for some users. I’d like for these pictures to show up on the phones when someone dials the associated extension, but so far they still show the default generic contact picture. Any idea how to fully set this up?
I also noticed that the phone’s HTTP GUI has an option for “Contacts Photo Server Path”, but I don’t see this documented anywhere…
Thank you for your assistance. I’ve been able to get it to work for incoming calls now.
I’m still having problems getting it to work reliably, though. For some reason my contact photo and one of my coworker’s contact photos work perfect (we’re both domain admins, we have user management synced with LDAP, don’t know if that makes a difference but I thought I’d point it out). With other users it’s been very sporadic though. I had one user working fine, then after adding another user her’s stopped working. I’ve tried setting up the photos both in Contact Manager and in User Manager. Neither seem to work. I’ve been using calls to image.php to test, with my extension it works fine but I get nothing when using another extension. Going back into contact manager and/or user manager I can verify that the pictures are still there.
Did a little more testing, I completely reinstalled the Contact Manager and Phone Apps modules, trying to get a fresh start. Added contact photos for more users. Right now I have 8 users whose contact photos show up fine from image.php, and 2 that won’t show up at all, with no significant differences between them that I can tell.
I’ve added more users, and photos aren’t working for 3 more of them (212, 205, 262).
Another user, 268, is somehow displaying the picture that I uploaded for 255. 255 works fine. If I go into the User Management page, the correct picture shows up for 268, but the wrong picture shows up on the phone. This is the only instance I’ve found of it.
So far out of 29 users I have with contact photos, 23 have working contact photos. Not sure what’s causing the problems with the other ones, I’ve tried unlinking and relinking the extensions but that hasn’t helped.
Would a VDI image of my server be useful in diagnosing this issue?
On a side note, if I look at the MySQL database, I can see all the pictures that I’ve uploaded in the contactmanager_entry_images table. Is this where image.php pulls it’s images from, or does it reference another place on the hard drive?
I actually tried to do a little more troubleshooting and think I have a lead on the issue. I was looking through Contactmanager.class.php and was trying to manually go through the steps taken when pulling up a image. It appears that there can be conflicts when searching for a DID that will cause the lookupByUserID function to return the wrong entry. In my case, it’s the authid column in the userman_users table.
For instance, when I try calling image.php with extension 268, the user for extension 255 happens to have the number 268 within their authid, so it picks up that image instead. I’ve found similar conflicts with most of my problematic extensions.