Permalink
Browse files

Added transcriptionID, transcriptionEmailFormat and transcriptionOutU…

…RI to the startRecording method
  • Loading branch information...
1 parent 71426e5 commit 967126d9f8a6264a20e0d5864674c085299a8a73 Kevin Bond committed Nov 18, 2012
Showing with 6 additions and 3 deletions.
  1. +4 −1 lib/base.js
  2. +2 −2 lib/tropo-webapi.js
View
@@ -150,12 +150,15 @@ Session = function(json) {
return this;
};
-StartRecording = function(format, method, url, username, password) {
+StartRecording = function(format, method, url, username, password, transcriptionID, transcriptionEmailFormat, transcriptionOutURI) {
this.format = format;
this.method = method;
this.url = url;
this.username = username ;
this.password = password;
+ this.transcriptionID = transcriptionID;
+ this.transcriptionEmailFormat = transcriptionEmailFormat;
+ this.transcriptionOutURI = transcriptionOutURI;
};
StopRecording = function() {};
View
@@ -58,8 +58,8 @@ TropoWebAPI.prototype.say = function(value, as, name, required, voice) {
this.tropo.push(serializeObject("say", say));
};
-TropoWebAPI.prototype.startRecording = function(format, method, url, username, password) {
- var startRecording = new base.StartRecording(format, method, url, username, password);
+TropoWebAPI.prototype.startRecording = function(format, method, url, username, password, transcriptionID, transcriptionEmailFormat, transcriptionOutURI) {
+ var startRecording = new base.StartRecording(format, method, url, username, password, transcriptionID, transcriptionEmailFormat, transcriptionOutURI);
this.tropo.push(serializeObject("startRecording", startRecording));
};

0 comments on commit 967126d

Please sign in to comment.