Warnings:
> possible bashism in source/debian/mediator.init ... (echo -n)
replaced with log_daemon_msg as lsb is in use.
> FULLPATH appears unused. Verify it or export it.
Removed.
> Double quote to prevent globbing and word splitting.
quoted where it is necessary and possible, muted for $OPTIONS.
> Use $(..) instead of deprecated `..`
Done.
Change-Id: I4cbaee5859ab6deb25aef8ebbd1e392bd418b486
Revert logic to pick peer id from stop record. This needs a better
approach somehow.
Instead, add logic to always take -pbx_1 and -xfer_1 stop records
into account when searching for stop records, to fix duration of
CDRs on transfer and park/unpark (which is just a special case
of transfer).
Change-Id: Ia80add6d5cb762800c563889c0d95ee25ed74168
- 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>