Open SolarWind13 opened 5 years ago
I just tested it and yeah - I got it fully working with FreePBX 14 installation. You will need to make few changes though. I'll probably do PR with instructions and commits, but for now I can just explain this. This is a noob-friendly instruction, but I suppose I shouldn't explain every step.
I had to modify the code in two places, in cdrs.js:
diff --git a/lib/api/cdrs.js b/lib/api/cdrs.js
index bf5c6ed..711cb1e 100644
--- a/lib/api/cdrs.js
+++ b/lib/api/cdrs.js
@@ -159,7 +159,7 @@ function serveRecordsArchive (res, collection) {
var records = []; // some cdrs use the same record file
var queue = collection.filter(function (model) {
- var record = model.get('record');
+ var record = model.get('recordingfile');
if (!record) {
return false;
}
diff --git a/public/js/cdr/CDRView.js b/public/js/cdr/CDRView.js
index bff69b9..1324bf3 100644
--- a/public/js/cdr/CDRView.js
+++ b/public/js/cdr/CDRView.js
@@ -89,7 +89,7 @@ var columns = [{
cell: 'string',
formatter: TimeFormatter
}, {
- name: 'record',
+ name: 'recordingfile',
label: $$('Recording'),
editable: false,
cell: 'audio'
After that recordings export, API overall and ability to listen recordings started to work fine. I quite like this app, but it wasn't mantained for almost half of a year now, and I recommend to also launch npm audit fix
to avoid security breaches.
Hello.
This amaizing software compatible with CDR and recording files in FreePBX Distro installation?