Asterisk understand input from non-IP phone?

Hello,

exten => 888,n(main-menu),Background(dir-usingkeypad)
exten => 888,n,WaitExten(5)

exten => 1,1,Queue(Sales)
exten => 1,n,Hangup

exten => 2,1,Queue(CustomerService)
exten => 2,n,Hangup

exten => i,1,Playback(pbx-invalid)
exten => i,n,Goto(main-menu)

exten => t,1,Playback(vm-goodbye)
exten => t,n,Hangup

In case of calling from non-IP phone(go through gateway), when asterisk is playing music and waiting for input,
If I press 1 or 2 from non-IP phone, it did not work, always timeout and hangup.

For 3CX phone, it worked.
does Asterisk understand input from non-IP phone?

Thanks,
Dave

What gateway?

Dahdi channels support DTMF.

Solved. the gateway has a setting for DTMF SIP.
Thanks.
Dave