feat: Enable querying via endpoint for client XML and separate IVR by queue based on connected numbers
parent
f7e71af633
commit
02ded6e4ee
|
@ -0,0 +1,6 @@
|
||||||
|
import fs from "fs";
|
||||||
|
|
||||||
|
export const encodeFileToBase64 = (filePath: string) => {
|
||||||
|
const file = fs.readFileSync(filePath);
|
||||||
|
return file.toString("base64");
|
||||||
|
};
|
Loading…
Reference in New Issue