diff --git a/lib/tasks/dial.js b/lib/tasks/dial.js index 06c15f4b..08baacb0 100644 --- a/lib/tasks/dial.js +++ b/lib/tasks/dial.js @@ -606,8 +606,8 @@ 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, this.ep); - if (this.listenTask) this.listenTask.exec(cs, this.ep); + if (this.transcribeTask) this.transcribeTask.exec(cs, this.epOther); + if (this.listenTask) this.listenTask.exec(cs, this.epOther); /* if we can release the media back to the SBC, do so now */ if (this.canReleaseMedia) this._releaseMedia(cs, sd);