Connecting two calls, making sure the 2nd is a real person

Say you have someone (person A) connected to a voice menu.
Then Asterisk will call a person (person B) that person A wishes to talk to.
However, you want to make sure person B is not just an answering machine answering, so you want them to press 1 after picking up the phone to assure Asterisk that they aren’t an answer machine, only then will Asterisk connect the two people.

How can this be done?

Is call parking my best bet? (Parking person A, running an outside script that calls person B and puts them in a context that asks them to press 1 before connecting them to the parked person A?)

i think your best bet is the Agents system. Using an Agent, if the agent is correctly setup, they will have to hit # to answer the call…