diff --git a/lib/tasks/cognigy/index.js b/lib/tasks/cognigy/index.js index 8963d22d..01e3b839 100644 --- a/lib/tasks/cognigy/index.js +++ b/lib/tasks/cognigy/index.js @@ -283,11 +283,6 @@ class Cognigy extends Task { this.performAction({cognigyResult: 'hangup Succeeded'}); this.reportedFinalAction = true; cs.replaceApplication([this._makeHangupTask(evt.data.reason)]); - cs.replaceApplication([{hangup: { - headers: { - 'X-Reason': evt.data.reason - } - }}]); this.taskQueue.end(); });