From aeb392fac6bd3f289d9547157f06d175d69db1de Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Sun, 11 Sep 2022 09:26:57 +0200 Subject: [PATCH] bugfix: dial in nested transcribe set proper order of endpoints so channel_tag for caller is 1 and called is 2 --- lib/tasks/dial.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/dial.js b/lib/tasks/dial.js index 76eaa483..40efcac9 100644 --- a/lib/tasks/dial.js +++ b/lib/tasks/dial.js @@ -630,7 +630,7 @@ class TaskDial extends Task { if (this.parentDtmfCollector) this._installDtmfDetection(cs, cs.dlg); if (this.childDtmfCollector) this._installDtmfDetection(cs, this.dlg); - if (this.transcribeTask) this.transcribeTask.exec(cs, {ep2: this.epOther, ep:this.ep}); + if (this.transcribeTask) this.transcribeTask.exec(cs, {ep: this.epOther, ep2:this.ep}); if (this.listenTask) this.listenTask.exec(cs, {ep: this.epOther}); if (this.startAmd) { try {