zaf / asterisk-speech-recog

Speech recognition script for Asterisk that uses google's speech engine.
GNU General Public License v2.0
245 stars 131 forks source link

It does not work voice recording #26

Closed kmx236 closed 7 years ago

kmx236 commented 8 years ago

Everything was done according to the instructions (Google API key used). Text pronounced, but voice recording happens.

Something in remembering or I do query format that something is wrong?

-- Executing [1236@for-office:1] Answer("SIP/204-00000003", "") in new stack -- Executing [1236@for-office:2] AGI("SIP/204-00000003", "googletts.agi,"Please say the number you want to dial.",en") in new stack -- Launched AGI Script /usr/share/asterisk/agi-bin/googletts.agi -- Playing '/tmp/2de614b4af8996e92b2fa2be27c25cd4' (escape_digits=) (sample_offset 0) -- <SIP/204-00000003>AGI Script googletts.agi completed, returning 0 -- Executing [1236@for-office:3] AGI("SIP/204-00000003", "speech-recog.agi,en-US") in new stack -- Launched AGI Script /usr/share/asterisk/agi-bin/speech-recog.agi -- <SIP/204-00000003>AGI Script speech-recog.agi completed, returning 0 -- Executing [1236@for-office:4] GotoIf("SIP/204-00000003", "0?success:retry") in new stack -- Goto (for-office,1236,6) -- Executing [1236@for-office:6] AGI("SIP/204-00000003", "googletts.agi,"Can you please repeat?",en") in new stack -- Launched AGI Script /usr/share/asterisk/agi-bin/googletts.agi -- Playing '/tmp/b70a2b4f0891b80fb0211747e1f0fc78' (escape_digits=) (sample_offset 0) -- <SIP/204-00000003>AGI Script googletts.agi completed, returning 4 == Spawn extension (for-office, 1236, 6) exited non-zero on 'SIP/204-00000003'