fix hangup and refer task

This commit is contained in:
akirilyuk
2022-02-01 18:13:50 +01:00
parent 97d7a60994
commit b532a49e45

View File

@@ -285,7 +285,7 @@ class Cognigy extends Task {
this.performAction({cognigyResult: 'refer succeeded'}); this.performAction({cognigyResult: 'refer succeeded'});
this.reportedFinalAction = true; this.reportedFinalAction = true;
cs.replaceApplication([{'sip:refer': { cs.replaceApplication([{'sip:refer': {
referTo: number, referTo: evt.data.number,
referredBy: 'cognigy' referredBy: 'cognigy'
}}]); }}]);
}).bind(this)); }).bind(this));