Skip to content

Commit

Permalink
Merge pull request #31 from kevinbond/master
Browse files Browse the repository at this point in the history
Added machineDetection to transfer
  • Loading branch information
kevinbond committed Dec 2, 2013
2 parents 4a75137 + 3039874 commit 9951d79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/base.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ StartRecording = function(format, method, url, username, password, transcription


StopRecording = function() {}; StopRecording = function() {};


Transfer = function(to, answerOnMedia, choices, from, headers, name, on, required, terminator, timeout, allowSignals, interdigitTimeout, ringRepeat) { Transfer = function(to, answerOnMedia, choices, from, headers, name, on, required, terminator, timeout, allowSignals, interdigitTimeout, ringRepeat, machineDetection) {
this.to = to; this.to = to;
this.answerOnMedia = answerOnMedia; this.answerOnMedia = answerOnMedia;
this.choices = serializeProperty(choices); this.choices = serializeProperty(choices);
Expand All @@ -218,6 +218,7 @@ Transfer = function(to, answerOnMedia, choices, from, headers, name, on, require
this.allowSignals = allowSignals; this.allowSignals = allowSignals;
this.interdigitTimeout = interdigitTimeout; this.interdigitTimeout = interdigitTimeout;
this.ringRepeat = ringRepeat; this.ringRepeat = ringRepeat;
this.machineDetection = machineDetection;
}; };


Wait = function(milliseconds, allowSignals){ Wait = function(milliseconds, allowSignals){
Expand Down
4 changes: 2 additions & 2 deletions lib/tropo-webapi.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ TropoWebAPI.prototype.stopRecording = function() {
this.tropo.push({"stopRecording": stopRecording}); this.tropo.push({"stopRecording": stopRecording});
}; };


TropoWebAPI.prototype.transfer = function(to, answerOnMedia, choices, from, headers, name, on, required, terminator, timeout, allowSignals, interdigitTimeout, ringRepeat) { TropoWebAPI.prototype.transfer = function(to, answerOnMedia, choices, from, headers, name, on, required, terminator, timeout, allowSignals, interdigitTimeout, ringRepeat, machineDetection) {
var transfer = new base.Transfer(to, answerOnMedia, choices, from, headers, name, on, required, terminator, timeout, allowSignals, interdigitTimeout, ringRepeat); var transfer = new base.Transfer(to, answerOnMedia, choices, from, headers, name, on, required, terminator, timeout, allowSignals, interdigitTimeout, ringRepeat, machineDetection);
this.tropo.push({"transfer": transfer}); this.tropo.push({"transfer": transfer});
}; };


Expand Down

0 comments on commit 9951d79

Please sign in to comment.