[g-speech] ;Speech recognition demo also using googletts.agi for text to speech synthesis: exten => i,1,Answer() exten => i,n(start),agi(googletts.agi,"Say something in English, when done press the pound key.",en) exten => i,n(record),agi(speech-recog.agi,en) ;;exten => i,n,Verbose(1,Script returned: ${confidence} , ${utterance}) ;;exten => i,n(playback),agi(googletts.agi,"The text you just said was...",en) exten => i,n,agi(googletranslate.agi,"${utterance}",pt-BR) ;;exten => i,n,Verbose(1,Translated text: ${gtranslation}) exten => i,n,agi(googletts.agi,"${gtranslation}",pt-BR) exten => i,n,agi(transcript.agi,"${gtranslation}",pt-BR) exten => i,n,agi(pushtocisco.agi, 10.1.1.2, "http://10.1.1.1/xmlservices/translator/?lang=pt-BR") exten => i,n,goto(i,start)