fixes
parent
92c29ed50a
commit
7ca486acba
|
@ -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}`;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue