QueueMetrics professional call center suite for the Asterisk PBX
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to the new forum!
Home
Help
Search
Login
Register
QueueMetrics forum
»
QueueMetrics
»
MySQL storage and Qloaderd/Uniloader
»
Asterisk queue_log file into DB with Node JS.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Asterisk queue_log file into DB with Node JS. (Read 5378 times)
chesstrian
Newbie
Posts: 26
Karma: 0
Asterisk queue_log file into DB with Node JS.
«
on:
May 14, 2013, 22:33:08 »
I have programed a little script in Node JS which gather every line from queue_log file and put it into MongoDB; it haven't been tested with log rotation and needs support for MySQL and others DBs, if you have any comment or improvement, it will be appreciated.
It would be great if this is useful for someone.
You can check for sources here:
https://github.com/chesstrian/qlog2db
«
Last Edit: May 14, 2013, 22:55:00 by chesstrian
»
Logged
QueueMetrics
Loway
Hero Member
Posts: 2999
Karma: 39
Re: Asterisk queue_log file into DB with Node JS.
«
Reply #1 on:
May 16, 2013, 09:39:13 »
Can we link to it from our OpenQm Addons page?
PS: why did you create it?
Logged
chesstrian
Newbie
Posts: 26
Karma: 0
Re: Asterisk queue_log file into DB with Node JS.
«
Reply #2 on:
May 17, 2013, 18:41:13 »
Of course you can link, modify and do whatever you need
.
I did it as an exercise, because I like Asterisk and NodeJS for realtime applications, i'm doing a monitor based on queue_log file, so that was the beginning.
Logged
QueueMetrics
Loway
Hero Member
Posts: 2999
Karma: 39
Re: Asterisk queue_log file into DB with Node JS.
«
Reply #3 on:
May 21, 2013, 15:10:41 »
Thanks!
Logged
Wessel
Newbie
Posts: 18
Karma: 2
Re: Asterisk queue_log file into DB with Node JS.
«
Reply #4 on:
October 29, 2015, 23:59:36 »
Thank you! Just what i was looking for. Did you also manage to intreptert the calls with an aggregate? I'll have a go for that now if i cant find it on the net. I think its worth creating :-)
Logged
Print
Pages: [
1
]
« previous
next »
QueueMetrics forum
»
QueueMetrics
»
MySQL storage and Qloaderd/Uniloader
»
Asterisk queue_log file into DB with Node JS.