Permalink
Browse files

Merge pull request #20 from krsboone/patch-4

Added voice param to record func
  • Loading branch information...
2 parents dac0173 + f175cd9 commit 53b2265005ba3ab8f8360d3fb53b6f5f1b4fd613 @akalsey akalsey committed Nov 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/tropo-webapi.js
View
@@ -38,8 +38,8 @@ TropoWebAPI.prototype.on = function(event, name, next, required, say) {
this.tropo.push(serializeObject("on", on));
};
-TropoWebAPI.prototype.record = function(attempts, bargein, beep, choices, format, maxSilence, maxTime, method, minConfidence, name, required, say, timeout, transcription, url, password, username) {
- var record = new base.Record(attempts, bargein, beep, choices, format, maxSilence, maxTime, method, minConfidence, name, required, say, timeout, transcription, url, password, username);
+TropoWebAPI.prototype.record = function(attempts, bargein, beep, choices, format, maxSilence, maxTime, method, minConfidence, name, required, say, timeout, transcription, url, password, username, voice) {
+ var record = new base.Record(attempts, bargein, beep, choices, format, maxSilence, maxTime, method, minConfidence, name, required, say, timeout, transcription, url, password, username, voice);
this.tropo.push(serializeObject("record", record));
};

0 comments on commit 53b2265

Please sign in to comment.