ipoddubny / webcdr Goto Github PK
View Code? Open in Web Editor NEW:telephone: CDR viewer for Asterisk with search, call recording player, bulk downloads, Excel export
License: MIT License
:telephone: CDR viewer for Asterisk with search, call recording player, bulk downloads, Excel export
License: MIT License
There is a problem when doing update or delete for defined users
bundle.js:28707 DELETE http://XXX.XX.X.XX:9031/admin/users/4 500 (Internal Server Error)
send @ bundle.js:28707
ajax @ bundle.js:28312
Backbone.ajax @ bundle.js:8545
Backbone.sync @ bundle.js:8528
sync @ bundle.js:7522
destroy @ bundle.js:7766
deleteUser @ bundle.js:37226
triggerEvents @ bundle.js:7454
triggerApi @ bundle.js:7441
eventsApi @ bundle.js:7240
Events.trigger @ bundle.js:7431
onChildviewDelete @ bundle.js:37073
(anonymous) @ bundle.js:1979
triggerMethod @ bundle.js:3233
(anonymous) @ bundle.js:4137
triggerEvents @ bundle.js:7455
triggerApi @ bundle.js:7442
eventsApi @ bundle.js:7240
Events.trigger @ bundle.js:7431
(anonymous) @ bundle.js:1985
triggerMethod @ bundle.js:3233
(anonymous) @ bundle.js:3215
executeBound @ bundle.js:35367
(anonymous) @ bundle.js:35380
(anonymous) @ bundle.js:34727
dispatch @ bundle.js:24289
elemData.handle @ bundle.js:24097
approicate the help that you can provide in fixing it
Regards,
Hello.
This amaizing software compatible with CDR and recording files in FreePBX Distro installation?
Hello!
First of all thank you for beautiful solution!
I'd like to use it, but I have such problem: my OS is Centos 6, node v4.6.2, asterisk writes CDR to mysql-database, configuring call-recording is in progress. In config.ini I've changed only db.connection parameters. Should I install specific module for working with mysql from node?
So, my problem is in blank screen, which I see after entering admin/admincdr in web-browser.
This is what I have in bash:
[root@aster webcdr]# node server.js
22 Nov 18:26:47 - Server is now running on port 9030
GET / 302 21.628 ms - 56
Failed login attempt
GET /login 200 31.199 ms - -
GET /css/normalize.css 200 11.322 ms - -
GET /css/main.css 200 7.895 ms - -
GET /css/signin.css 200 6.367 ms - 794
GET /bower_components/bootstrap/dist/css/bootstrap.css 200 7.024 ms - -
GET /favicon.ico 200 2.588 ms - 766
POST /login 302 99.181 ms - 46
GET / 200 16.570 ms - -
GET /css/main.css 304 26.358 ms - -
GET /css/normalize.css 304 27.104 ms - -
GET /bower_components/backgrid/lib/backgrid.css 200 26.580 ms - -
GET /bower_components/backgrid-paginator/backgrid-paginator.min.css 200 12.777 ms - 847
GET /bower_components/bootstrap/dist/css/bootstrap.css 304 26.120 ms - -
GET /bower_components/bootstrap-select/bootstrap-select.min.css 200 28.108 ms - -
GET /bower_components/bootstrap-daterangepicker/daterangepicker.css 200 25.878 ms - -
GET /bower_components/font-awesome/css/font-awesome.min.css 200 22.560 ms - -
GET /css/datepicker3.css 200 8.793 ms - -
GET /css/webcdr.css 200 10.615 ms - -
GET /js/build/bundle.js 200 5.690 ms - -
Dear @ipoddubny please, please, please can you help me?
Also I want to mention 2 things:
[email protected] build /var/www/html/webcdr
browserify public/js/main.js -o public/js/build/bundle.js
Error: Cannot find module 'backbone.wreqr' from '/var/www/html/webcdr/public/js'
at /var/www/html/webcdr/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:46:17
at process (/var/www/html/webcdr/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:173:43)
at ondir (/var/www/html/webcdr/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:188:17)
at load (/var/www/html/webcdr/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:69:43)
at onex (/var/www/html/webcdr/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:92:31)
at /var/www/html/webcdr/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:22:47
at FSReqWrap.oncomplete (fs.js:82:15)
browserify public/js/main.js -o public/js/build/bundle.js
How can I solve this?
Thank you in advance.
Vlad.
Please, do not get mad at me for talkativeness, I just want to recommend to add into manual information about recording voice in asterisk. I understand, that this is off topic, but with this (I don't know how to say it in English) "снизится порог вхождения".
For example, I configured voice recording with this way:
mkdir -p /var/spool/asterisk/monitor
tar zxvf lame-3.*.gz
cd lame-3.*
./configure
make
make install
#!/bin/sh
LAME="/usr/local/bin/lame --noreplaygain"
filename="$1"
foldername="$2"
$LAME -V2 $foldername/$filename.wav $foldername/$filename.mp3
rm -f $foldername/$filename.wav
exten => _8XX,1,Set(filename=${UNIQUEID})
exten => _8XX,n,Set(foldername=/var/spool/asterisk/monitor/${STRFTIME(,,%Y)}/${STRFTIME(,,%m)}/${STRFTIME(,,%d)}/)
exten => _8XX,n,MixMonitor(${foldername}/${filename}.wav,b,/usr/local/bin/conv2mp3.sh ${filename} ${foldername})
exten => _8XX,n,Dial(SIP/${EXTEN},30,t)
How change language?
It's possible to store Record Files on a HTTP Server and playback througth WEBCDR panel?
Example:
[recordings]
pattern = http://192.168.100.20:8080/%YYYY%/%MM%/%DD%/*%uniqueid%.mp3
Hello, can you help me? When i start node server.js i got
/var/www/html/webcdr/server.js:93
const port = process.env.PORT || 9030;
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:945:3
calendar russia language, not english
Please change to English
При попытке воспроизвести или скачать файл, в консоли следующее:
GET /api/recordings/14 404 28.045 ms - 26
файлы хранятся в /var/spool/asterisk/monitor/2018/01/27/1517042218.7.mp3
Помогите пожалуйста
Hi ,
"GET /api/recordings/undefined 500 2.065 ms - 147
invalid recording id"
what does it mean ?
Добрый день. Вроде бы сделал все по мануалу, однако после логина вижу "чистый экран", ничего не отображается, в логе node - 200 везде
https://hastebin.com/upilonoxer.vbs
В логе мускуля - все чисто, ngrep по порту мускуля говорит - https://hastebin.com/baxugehulo.scala
В консоли ошибка:
Uncaught TypeError: Cannot read property 'radio' of undefined
at constructor._initChannel (bundle.js:3236)
at new constructor (bundle.js:3104)
at Object. (bundle.js:35274)
at Object.44../admin (bundle.js:35378)
at s (bundle.js:1)
at e (bundle.js:1)
at bundle.js:1
решение из #2 не помогло
node -v
v6.13.0
Подскажите куда копать?
`
[email protected] build /usr/src/webcdr
browserify public/js/main.js -o public/js/build/bundle.js
Error: module not found: "audiojs" from file /usr/src/webcdr/public/js/plugins.js
at onresolve (/usr/src/webcdr/node_modules/module-deps/index.js:180:30)
at /usr/src/webcdr/node_modules/browserify/index.js:494:18
at /usr/src/webcdr/node_modules/browser-resolve/index.js:247:21
at /usr/src/webcdr/node_modules/browser-resolve/node_modules/resolve/lib/async.js:55:18
at load (/usr/src/webcdr/node_modules/browser-resolve/node_modules/resolve/lib/async.js:69:43)
at onex (/usr/src/webcdr/node_modules/browser-resolve/node_modules/resolve/lib/async.js:92:31)
at /usr/src/webcdr/node_modules/browser-resolve/node_modules/resolve/lib/async.js:22:47
at FSReqWrap.oncomplete (fs.js:152:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: browserify public/js/main.js -o public/js/build/bundle.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-06-08T09_20_14_774Z-debug.log
`
Здравствуйте! Поставил и запустил вашу CDRку, сами записи о звонках из базы полностью выгребаются, все окей, а вот запись звонка (mp3) я к сожалению не вижу. Она просто тупо не отображается. В config.ini прописал pattern = /var/spool/asterisk/monitor/%uniqueid%.mp3 так как записи все у меня лежат в одной папке... записи звонков есть, c базой все впорядке... Не подскажите как может отдебажить этот момент?
hello,
is it possible to add more column from mysql CDR to WEBCDR website? I mean for example how can I add duration column next to billsec column?
Thank you,
bence
hi
i am runing debian 8
node version v0.10.29
node-v7.6.0
i get the error
/var/www/html/webcdr/server.js:93
const port = process.env.PORT || 9030;
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
Hello!
First of all congratulations for the project. It is extremely functional.
I would like to know how do I change one of the mysql data read fields. I need to change the value where the branch origin (SRC) is read.
To make external calls, my provider needs me to send a number to him. Ex: 551133332222. But when I enter this number in Dialplan (Set (CALLERID (num) = 551133332222), asterisk places this value in the source field, omitting the extension number that dialed ....
Thank you very much in advance.
Hello!
We are using such records in our dialplan:
exten => _74951231234,1,Macro(call_recording)
exten => _74951231234,n,Dial(SIP/101&SIP/102&SIP/103,30,t)
so, when there is incoming call, all 3 internal phones are ringing.
In CDR (mysql) after every call Asterisk creates 2 rows with status No Answer (for example, for numbers 101 and 102), and 1 row with status Answered, dstchannel - SIP/103-00000c4e.
Is it possible to show in webcdr value of dstchannel? If yes, user of webcdr will be able to detect who is answered on that call.
Hello!
When the "outgoing" filter is turned on, only calls with the status "not answered" are displayed. My Asterisk is a default Freepbx 13, in the cdr table I added only the id column. I do not quite understand how the webcdr divides the direction of the calls, could you explain it.
Hello!
After login page, there are no results on the page. No data is Displayed.... But if I choose another date and back for Today Filter, all the data is displayed.
Could you help me?
Thanks a lot.
js/build/bundle.js net::ERR_ABORTED 404 (Not Found)
pagination doesn't work.
Не скачиваются и не воспроизводятся аудиофалы, в имени которых присутствуют символы "(", ")", "?". Эти символы используются во время набора добавочных номеров. Насколько смог разобраться, что-то идет не так после передачи пути файла в функцию glob, но я могу ошибаться.
Вид пути файла: /var/asterisk/records/2018/08/08/2018-08-08_16-13-05_1599_22028(2202).mp3
Is it possible to add columns for exported excel-table, for example call state (answered/busy) and call duration ? After export excel-file contains only date+time (may be splitting date and time in different columns will be better), callerID and extension.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.