Yes. GetInput XML supports the simultaneous detection of DTMF and speech inputs. This can be enabled by setting the inputType param to ‘dtmf speech’ in the XML response.
The first input to be detected will be forwarded to the Action URL that you have specified. For example, in response to a prompt like ‘Press 1 or say Yes to accept.’, if the caller presses 1 before saying anything, then the digit 1 will be forwarded to the Action URL.
To learn more about detecting DTMF and speech with the GetInput XML, check out our detailed reference guide here.