Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update lib/tropo-webapi.js #20

Merged
merged 1 commit into from

2 participants

@krsboone
Owner

Added voice param to record func

@krsboone krsboone Update lib/tropo-webapi.js
Added voice param to record func
f175cd9
@akalsey akalsey merged commit 53b2265 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 16, 2012
  1. @krsboone

    Update lib/tropo-webapi.js

    krsboone authored
    Added voice param to record func
This page is out of date. Refresh to see the latest.
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));
};
Something went wrong with that request. Please try again.