Asterisk answer leg A after detecting tones in leg B

Is it possible to do delayed answer in asterisk, say for example, there is a call made into asterisk box ( leg A), and asterisk delays answering it, and then asterisk place a call out to another side ( leg B ), leg B got answered and send some dtmf tones over. Upon detecting correct tone, asterisk answer leg A.

Is this possible without code change ?

Hi

You need to look at the M option in the dialcommand

For example I have queue members that are speedcalls that are called by a “Local” extension and when they are are answered you have to press 2 to accept the call, This is so the call is dropped to the mobiles voicemail but goes to the system one.

Ian.