zaf / asterisk-googletts

Asterisk AGI script that uses Google's translate text to speech service.
GNU General Public License v2.0
214 stars 125 forks source link

googletts.agi not responding, returning 0 #41

Closed sn0ren closed 5 years ago

sn0ren commented 6 years ago

Has google stopped answering our calls?

I just moved and as such I've had my asterisk server disconnected for a few weeks. I've got a few extensions using the googletts.agi script and they were working fine before moving. However today when I tried connecting everything up, I don't get any response when I call the extensions using the script.

In the debug log of asterisk I can see the script is run as per usual, I get a

-- Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi

And then nothing happens. Eventually it will timeout after a minute or two, returning 0

-- <SIP/phone_srn-00000001>AGI Script googletts.agi completed, returning 0
jeetzz commented 6 years ago

@sorenrosenberg are you able to work from googletts-cli.pl seems my script has run out too?

This portion does not work.

-- AGI Script Executing Application: (AGI) Options: (googletts.agi,Hello Jeet! my name is Tina!,en,) -- Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi -- <SIP/5001-000096fe>AGI Script googletts.agi completed, returning 0

Where as this is being played by googletts-cli.pl -- <SIP/5001-000096fe> Playing '/var/lib/asterisk/sounds/tts/gsm/5001-add0.slin' (language 'en')

Any ideas??

jeetzz commented 6 years ago

For a strange reason my AGI script were changed, wonder how?

Anyway its sorted now.