This repository has been archived by the owner on May 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Compatible with FreePBX (Distro)? #25
Comments
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.
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 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello.
This amaizing software compatible with CDR and recording files in FreePBX Distro installation?
The text was updated successfully, but these errors were encountered: