I created an intercom system, see https://github.com/TJSoftware/RaspberryPiIntercomMusicStation for related code.