You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-01-25 16:22:21

Sascha_E
Member
Registered: 2023-01-25
Posts: 6

Teams Integration

Hi Community,

at first, a great piece of Software. I am happy that my team is willing to integrate it. Thank you!


I would like to integrate one feature, that is easy but i cant figure out how to:

On the User Page i can see the phonenumbers imported via LDAP from AD. On a click it opens my phoneapp. Seeing this i thought: Lets integrate Teams with:

msteams:/l/call/0/0?users={mailaddy} in field phone2 (seems to be imported from AD)

This would normaly open up the browser that would start Teams and asks todo a call. Happy so far, but GLPi adds a simple "tel:" in front of the URL and this does not work.

Where is this "tel:" added? I cant find it...

Thank you!

Offline

#2 2023-01-26 11:48:28

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Teams Integration

The phone field(s) should really only be the phone number itself to avoid that issue and potential future issues.

If you don't mind going to the user's form first, you can configure an external link for this (Setup > External links).

Otherwise, the URI protocol is added in "templates/components/user/info_card.html.twig".


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2023-01-27 09:29:12

Sascha_E
Member
Registered: 2023-01-25
Posts: 6

Re: Teams Integration

Thank you, your help was most appreciated.

I made the changes in .twig and it worked so far as workaround (Hope to inspire someone to code a real plugin with seperate field and LDAP Integration).

Now my agents only have to click on the teams button in a ticketcreators vcard and are nearly instant connected. Perfekt!

KR

Offline

Board footer

Powered by FluxBB