diff --git a/lib/tasks/dial.js b/lib/tasks/dial.js index b05c7c73..1b036a2d 100644 --- a/lib/tasks/dial.js +++ b/lib/tasks/dial.js @@ -123,6 +123,9 @@ class TaskDial extends Task { } else { this.epOther = cs.ep; + if (this.dialMusic && this.epOther && this.epOther.connected) { + this.epOther.play(this.dialMusic).catch((err) => {}); + } } this._installDtmfDetection(cs, this.epOther, this.parentDtmfCollector); await this._attemptCalls(cs);