mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
remove double replace application call
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user