Example wrong, can't terminate recording with 'exit_tone' #5

wstidolph opened this Issue Aug 12, 2011 · 1 comment


None yet
2 participants

When I follow the unit test or the plugin doc and put in an "exit_tone" parameter to the record verb, the JSON generated to Tropo contains the 'exit_tone' attribute as expected, but Tropo does not respond to the DTMF "#" key. I can see that the key is recognized in the Application Debugger log, but the recording doesn't terminate until the timeout happens. From the https://www.tropo.com/docs/webapi/record.htm WebApi doc for 'record' and it looks like it needs a 'choices' element; this seems to work:

builder.record(...) {
    say(value: "talk to key day us now")
    choices( terminator : '#' )

@mpermar mpermar closed this in bd100bf Aug 15, 2011


mpermar commented Aug 15, 2011


Thanks for the heads up. Tests are fixed now.

I'm not sure why that exit_tone was there as it is clear from the docs that terminator and choices should be used. Perhaps I was reading the wrong doc when doing the unit tests. Nice catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment