Thanks!
A first version of the code is on github:
https://github.com/estiens/confessional_booth
It was originally part of a confessional booth taken to Burning Man in 2015. Since then it has evolved and become part of my smart home stuff.
I was intimidated when I started as it was my first "hardware" project, but the rotary phone part was pretty easy! Just a little switch that turns on and off the number of times of the number dialed basically.
It actually has a (new) microphone wired into the mouthpiece and it uses the receiver original speaker ired to the pi sound output.
(At the time I knew nothing about Linux so I think getting pulseaudio working correctly took as long as everything else!)
Those aren't working currently, but eventually I plan to integrate both the rotary dials and voice recognition and "scenes"
So like, dial "721" for light control. Voice: "And what are we doing with the lights today..." Me: "Make the outside light purple" and it is done.
I have custom voice recongition for things like that working with Mycroft, so it will just be a matter of joining the two projects!