diff --git a/src/pbx/actions/Misc.ts b/src/pbx/actions/Misc.ts index 67f8c1c..3c578ad 100644 --- a/src/pbx/actions/Misc.ts +++ b/src/pbx/actions/Misc.ts @@ -21,6 +21,6 @@ export default class Misc { }); await fs.writeFile(`/tmp/${fileExtension}.ogg`, response.audioContent, 'binary'); await pbx.client.util.exec(`ffmpeg -i /tmp/${fileExtension}.ogg -af "highpass=f=300, lowpass=f=3400" -ar 8000 -ac 1 -ab 64k -f mulaw /tmp/${fileExtension}.ulaw`); - return `sound:${fileExtension}`; + return `sound:/tmp/${fileExtension}`; } }