increase dtmf volume (#184)

https://github.com/jambonz/jambonz-feature-server/issues/1272
This commit is contained in:
Vinod Dharashive
2025-07-09 17:52:53 +05:30
committed by GitHub
parent fd5e2f1a6c
commit e422c2ed9c

View File

@@ -1106,11 +1106,13 @@ Duration=${payload.duration} `
const code = arr[1];
const arr2 = /Duration=\s*(\d+)/.exec(req.body);
const duration = arr2 ? arr2[1] : 250;
const volume = 13;
const dtmfOpts = {
...this.rtpEngineOpts.common,
'from-tag': this.rtpEngineOpts.uas.tag,
code,
duration
duration,
volume
};
const response = await this.playDTMF(dtmfOpts);
if ('ok' !== response.result) {