Skip to content

Instantly share code, notes, and snippets.

@marks
Created August 31, 2010 13:25
Show Gist options
  • Save marks/559006 to your computer and use it in GitHub Desktop.
Save marks/559006 to your computer and use it in GitHub Desktop.
answer()
record("Please leave your message at the beep.", [
beep: true,
timeout: 10,
silenceTimeout: 7,
maxTime: 60,
onRecord: { event->
log("Recording result = " + event.recordURI)
say("You said " + event.recordURI)}
])
hangup()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment