Permalink
Browse files

Update lib/tropo-webapi.js

Added voice param to record func
  • Loading branch information...
1 parent 81e736c commit f175cd93a12686a31b33b37d72436103639a584f @krsboone krsboone committed Sep 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/tropo-webapi.js
View
4 lib/tropo-webapi.js
@@ -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 f175cd9

Please sign in to comment.