int-cdr-exporter.pl is added to export intermediate
cdr records in the same format configured for regular
cdrs. the files are written to the same folders and
therefor have a distinctive extension suffix and
separated file sequence numbers.
Change-Id: I9801bc1a4221f22a169bd64ed7956b75fc52a3f2
to prevent a conflict when saving file sequence numbers
for both cdr and intcdr export when using streams,
the accounting.mark.collector name will be prefixed
with the exporter type.
Change-Id: I939c7bee59676b5d64967a7d57b1ed515cc80506
it will be possible to specify cdr-exporter configurations
multiple times in config.yml. this results in multiple
blocks in cdr-exporter.conf. each block represents a
"stream". The export is executed with each stream config,
one after the other.
+ the export_status is managed separetely per stream
+ the lastseq mark is managed separately per stream
+ total backward-compat handling for the standard stream ('default')
+ stream configs can be defined independently
+ the "export_status = 'unexported'" filter condition is extended
and implied for streams other than 'default' implicitly
(so no need to add them in the config)
+ optional "enabled" config flag per stream
+ mysql_auto_reconnect MUST NOT be used with AutoCommit = 0
Change-Id: Idb6b510f5e43729a5e67653db100ac43e364ffaf
* csv header and footer can now be specified in the config
as as formatted string, ${version},{rows,%04i}
where the values are applied to it when the csv is created.
currently supported names where optinally sprintf spec
is supported after comma:
- version
- rows
- checksum (only for footer)
- first_seq (first sequence id)
- last_seq (last sequence id)
- datetime (instead of the sprintf spec,
strftime spec is expected)
Change-Id: Ifadfbdb1d40a3be32b869f50070c5ba3d3f63f67
This makes it obvious these are NGCP specific programs, and avoids
possible collisions with other third party programs.
Create backward compatibility symlinks for a smoother transition.
Change-Id: I7040725f16f835307b3ac8885186e7851e596c90
We should not use an unrelated override, because that can cause
duplicated calls, or out-of-order execution of the commands.
It also reduces the code.
Change-Id: I47d7dad3f66aee7c5e6fbdb0da80cef3efffdb91
- Create directories in upstream Makefile instead of in packaging.
- Use the more common $() instead of ${} for make variables.
- Use a relative path to install(1).
- Remove no-op -c install(1) option.
Change-Id: I712206b2052c8a299fde99d36e9df6f6f12fa7df