Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added transcriptionID, transcriptionEmailFormat and transcriptionOutU…

…RI to the startRecording method
  • Loading branch information...
commit 967126d9f8a6264a20e0d5864674c085299a8a73 1 parent 71426e5
Kevin Bond authored
Showing with 6 additions and 3 deletions.
  1. +4 −1 lib/base.js
  2. +2 −2 lib/tropo-webapi.js
View
5 lib/base.js
@@ -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
4 lib/tropo-webapi.js
@@ -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));
};
Please sign in to comment.
Something went wrong with that request. Please try again.