Detect DTMF while in AMD?

Hello …

What I’d really like to be able to do is “break out” or return from AMD with a HUMAN setting if a DTMF key is detected … (I’d be willing to sacrifice the case when an answering machine has DTMF in it’s greeting)

Can anyone tell me if this is possible?

Would I need to modify app_amd.c ??

Thanks for any help,
Bruce.