From 7ca486acba5a9265474e4367e90400d4a1b45f30 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 1 Dec 2020 23:56:03 -0500 Subject: [PATCH] fixes --- src/pbx/actions/Misc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`; } }