Skip to content

Import cdr asterisk datas from the mysql backend to the mongo database

License

Notifications You must be signed in to change notification settings

vassilux/vorimport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 31, 2015
062dc5e · Mar 31, 2015

History

75 Commits
Mar 31, 2015
Mar 31, 2015
Mar 31, 2015
Sep 17, 2014
Jan 24, 2014
Feb 4, 2014
Oct 2, 2014
Mar 31, 2015
Oct 14, 2014
Mar 31, 2015
Oct 2, 2014
Oct 14, 2014
Jan 11, 2015
Mar 31, 2015
Mar 20, 2015
Mar 15, 2015
Mar 20, 2015
Mar 15, 2015
Mar 20, 2015
Mar 31, 2015
Mar 10, 2015
Mar 20, 2015

Repository files navigation

vorimport

Import cdr asterisk datas from mysql backend to mongo

***** Installation Install mongodb and redis packages in the target system.

Note : mongodb v 2.6.1 is used. Installation of packages is processing by avor_installation script.
You can check this script for more information

apt-get mongodb redis-server

apt-get git mercurial bzr

Execute make depends to install dependances of the project.

***** Configuration proxy Please pay a little attention for git proxy configuration. This is an example of the

export http_proxy=http://user:pass@proxyhost:proxyport
git config --global http.proxy http://user:pass@proxyhost:proxyport

***** Requered packages Install debian packages

apt-get install bzr

apt-get install git mercurial

Install go packages

Mongodb driver :
go get labix.org/v2/mgo

MySql driver :
go get github.com/ziutek/mymysql/thrsafe
go get github.com/ziutek/mymysql/autorc
go get github.com/ziutek/mymysql/godrv

Seelog : 
go get https://github.com/cihub/seelog

Redis :
cd $GOPATH/src
git clone git://github.com/alphazero/Go-Redis.git redis
cd redis
go install

****** Application startup

Application can be started with command line options

--config , the json configuration file 

--tick , the value on seconds for schedule the import task

****** Application tips

Application can be stopped by a proper way , send kill [pid]. You can find the pid by ps aux|grep vorimport

About

Import cdr asterisk datas from the mysql backend to the mongo database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published