Use doorhpone microphone and speaker

Hey there!

I have installed on my Raspberry PI and want to use it for my doorphone. My doorphone is a really old model and I managed with the GPIO to control the opening and closing of the door.

The next step is to use the microphone and speaker of the doorphone. I want to be able to ‘talk’ to my home assistent so the people who rang the door, will hear me and I can hear them through home assistent as well (I mounted the wires to a jack so it can be put in the raspberry pi).

Is this possible? Do I need to build my own component? Can you guys help me start this project up?

Do you found a way?