@Steve, you beat me to it!
Two trains of thought are tone decoding using the NE567. And the only other thing I can think of is a several window comparators measuring the different voltages from the plugs which would form one half of the potential divider.
Otherwise employ a 16 year old...