- use separate user,pass,port,db for the stats database connection
- cosmetic change in the DEFAULT_STATS definition names
- add db connection info logging for PROV and STATS
Change-Id: I389bed46c634ac973616335581d7a7495d5866a3
- Calls info (call_code, period) data is accumulated into $stats_db.'call_info'
table on the cdr insert
- Add stats_db and stats_period options (1=hour, 2=day, 3=month)
Change-Id: I4e1f7655eebfbe45a43e2c34d9c3b3bffe05fb40
"$mysql" doesn't work as intentend - mediator will be installed
in /etc/rc*.d/S03mediator, whereas it should be installed as
/etc/rc*.d/S04mediator. After adjusting the line *manually*
you've to invoke "insserv", jftr.
From: Michael Prokop <mprokop@sipwise.com>