mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
bugfix for #15: dialMusic not played on A leg when direction is outbound
This commit is contained in:
@@ -123,6 +123,9 @@ class TaskDial extends Task {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.epOther = cs.ep;
|
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);
|
this._installDtmfDetection(cs, this.epOther, this.parentDtmfCollector);
|
||||||
await this._attemptCalls(cs);
|
await this._attemptCalls(cs);
|
||||||
|
|||||||
Reference in New Issue
Block a user