So my basic aim is to take dtmf while the google text to speech agi is playing.In case of sound file i can simply use read function ,so the user is allowed to press dtmf while sound is been playing and the input is stored in a variable.For ex
[mycon]
exten => _X.,1,Read(KEY,soundfile,,)
But how can i take dtmf input while playing text to speech agi
Any help would be appreciated