mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-30 15:24:28 +00:00
bugfix for #15: dialMusic not played on A leg when direction is outbound
This commit is contained in:
1 parent
fb84dd364c
commit
3909ca18a8
1 file changed
+3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user