I’ve set up Asterisk on an Amazon Lightsail instance. I’m trying to configure it to answer my Google Voice number, send a DTMF 9, and then hang up. I followed the setup instructions here, https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google, which worked fine for logging into GV (once I OKed it on the Google Account side). Now, when I call the GV number, Asterisk answers, but I hear nothing. Here is my dialplan,
[incoming-motif] exten => s,1,NoOp() same => n,Wait(5) same => n,Answer() same => n,SendDTMF(1) same => n,Wait(3) same => n,SendDTMF(9) same => n,HangUp()
The call does get answered (nothing else is answering, and entries do show up in
/var/log/asterisk/cdr-csv/Master.csv), but then I hear nothing. If I comment out the
SendDTMF(1), then the call keeps ringing and eventually goes to GV voicemail, so that line works. Why don’t I hear the 9?