exten => 4747,1,Answer()
exten => 4747,2,Wait(1)
exten => 4747,3,flite("How can Eye Riss help you? Press the pound key when you're finished.")
exten => 4747,4(record),agi(speech-recog.agi,en-US)
exten => 4747,5,Noop(= Script returned: ${status} , ${id} , ${confidence} , ${utterance} =)
exten => 4747,6,flite("${utterance}")
exten => 4747,7,Background(vm-star-cancel)
exten => 4747,8,Background(continue-english-press)
exten => 4747,9,Background(digits/1)
exten => 4747,10,Read(PROCEED,beep,1)
exten => 4747,11,GotoIf($["foo${PROCEED}" = "foo1"]?12:14)
exten => 4747,12,Set(FILE(/tmp/query.txt)=${utterance})
exten => 4747,13,Background(one-moment-please)
exten => 4747,14,System(/var/lib/asterisk/agi-bin/iriss)
exten => 4747,15,Set(foo=${FILE(/tmp/results.txt)})
exten => 4747,16,flite("${foo}")
exten => 4747,17,flite("Have a nice day! Good bye.")
exten => 4747,18,hangup