This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
cdr_fifo_mongodb: A quick and dirty hack that consists of configuring asterisk’s | |
cdr_custom.conf to write to a named pipe, which will be then read by node and | |
then written into mongodb. | |
good alternative to cdr_mongodb, 'cause I couldn't make it work stable for 1.8 | |
*/ | |
var config = { | |
"dburl": "asterisk", /* user:pass@host/db */ | |
"collections": ["cdr"], | |
"fifo": "/var/log/asterisk/cdr-custom/cdr_fifo.csv", |
NewerOlder