You mean the good old Western Electric 500 set?
Back in the day, Jedgar & Co. were perfectly capable of turning those into room bugs that worked with the phone on or off the hook. Required a bag job, however, for on-hook listening to work.
Yeah, all that sophisticated technology developed by STASI and KGB for nothing these days.