You can clone with
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:
say(value: "talk to key day us now")
choices( terminator : '#' )
Fixed bug. Recordings use a choices element not exit_tone attribute.
This closes #5
- Added proper groovy Strings to the unit tests
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!