Used this amazing post to implement AWS Polly TTS engine, and it works great (wish this could be out of box). Thanks again @jersonjunior!
The dial plan that calls the TTS is: exten => 1,n,AGI(propolys-tts.agi,"My name is Polly! Do you want a cracker? I do!",aws-polly,/usr/bin/node)
The only real problem we have is that the line above is not interruptible. Currently we break the TTS into smaller calls, but this is tedious. Is there a better way to execute this and allow the AGI call to be interrupted by a caller’s key press?