Disable audio EXCEPT when someone rings the bell

It would be nice to be able to disable audio recording on the devices except for when a person rings the doorbell. Right now we can disable the audio recording (it is illegal to record audio in several states), but if someone rings the bell we cannot hear them speak. It would be fine if the doorbell audio didn’t record, but it would be nice to at least hear them when we speak to them live (like an intercom).