mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-26 05:14:31 +00:00
remove double replace application call
This commit is contained in:
1 parent
b41c1ffb91
commit
c88ead7f71
1 file changed
-5
@@ -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