User Input - asterisk

So you are talking with a remote callee and during the call the callee will press and DTMF on his phone ?

If this is the scenaro you can use AMI DTMF events