Asterisk dialplan help for WaitExten and TIMEOUT

Can i use

same=>n,Set(TIMEOUT(digit)=1)

To accept dtmf any time?
I have applied this but still not working.