From b532a49e45d5761df8e57b1886bd54d545f15b7e Mon Sep 17 00:00:00 2001 From: akirilyuk Date: Tue, 1 Feb 2022 18:13:50 +0100 Subject: [PATCH] fix hangup and refer task --- lib/tasks/cognigy/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/cognigy/index.js b/lib/tasks/cognigy/index.js index eb937738..28a6e470 100644 --- a/lib/tasks/cognigy/index.js +++ b/lib/tasks/cognigy/index.js @@ -285,7 +285,7 @@ class Cognigy extends Task { this.performAction({cognigyResult: 'refer succeeded'}); this.reportedFinalAction = true; cs.replaceApplication([{'sip:refer': { - referTo: number, + referTo: evt.data.number, referredBy: 'cognigy' }}]); }).bind(this));