Rene Krenn
8035aacb0e
TT#45957 write cdr_export_status ("default" stream)
...
Change-Id: Ic7dc0b73d8eecec3f2dac1259db2d7761e915f8d
7 years ago
Rene Krenn
9b51583c39
TT#31183 escape cdr reseller field values
...
Change-Id: Ib6d644c8478f8b74a2240ae683feb136fdebea7c
8 years ago
Rene Krenn
de700e7649
TT#31183 support escaping field values
...
+ normalize tabs/spaces in code
Change-Id: Id81c9adef120328b3d0bf5097f1a0d3805d88437
8 years ago
Richard Fuchs
bcef4cbe88
TT#7778 add syslog capability
...
also eliminiate perlcritic warnings
Change-Id: Id2fbc8da0c3cf66f6f7a7bca87fd147dc9339ba7
9 years ago
Gerhard Jungwirth
3c83373760
MT#22467 make separator configurable
...
Change-Id: If33ee7c26473f1e8a394e5ea816c603a4c3ccd5d
10 years ago
Rene Krenn
64432296d0
MT#19731 prevent cdr-exporter.pl running concurrently
...
Change-Id: I389c2c58d53ca26977fe18dc54c7974e65428963
10 years ago
Rene Krenn
356d5de9a5
MT#19733 limit the number of cdrs processed per cycle
...
+cdr limit/30min: 50cps * 1.1 * 60 * 30
+event limit: "some hundreds are a lot already"
Change-Id: I75ae5677ded0cf3233c1618cb9a493fd767911f5
10 years ago
Rene Krenn
b0d3eaaffb
MT#21303 cdr-exporter does not update cdr status
...
+also checked event-exporter, its fine there.
Change-Id: I93b991872423e6b4c6d282d241665de4e3b39dfb
10 years ago
Richard Fuchs
80e2be033a
MT#14459 implement legacy export options
...
Change-Id: I90503a88e0ea5a6ed35fd08e526beb70129963cf
10 years ago
Richard Fuchs
39bc0dfc63
MT#14485 avoid duplicate CDRs for in/out within the same reseller
...
Change-Id: Ie4c56fab85bbc5f4ca4f5e9869e456f6560b3413
11 years ago
Alexander Lutay
2a55303cc1
MT#13241 Fix warning 'Exiting subroutine via next at line 65' for cdr-exporter.pl
...
Change-Id: Ie535bd7fa9bcd2b3e19b09e6aed918ea5507cedf
11 years ago
Victor Seva
08330e4439
MT#13001 add config QUOTES and use single quotes as default
...
- use quotes on reseller too
Change-Id: I60dcb8ce6f63c0da3ceac46e7915d9adde468211
11 years ago
Richard Fuchs
0376ae2fa5
MT#12385 unify logic from cdr/event-exporter into a perl module
...
Squashed commit of the following:
commit 0ca0e801b83fbea43103041f2ba0d10e68caea24
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Apr 7 12:18:22 2015 -0400
support reseller export
commit 0170f79ad3440b3fcf85efb10a90b44e039f68a2
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Apr 1 11:46:18 2015 -0400
recursion fix
commit 1dfbb5857bccafb9778a44a96c97fae946bc3063
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Apr 1 11:41:34 2015 -0400
default export missing
commit db29662a668a9a4a8e98643b826b9aa7140f477c
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Apr 1 11:06:59 2015 -0400
MT#12385 unify logic from cdr/event-exporter into a perl module
untested!
11 years ago
Andreas Granig
63c552422d
MT#9637 Fix FULL_NAMES setting.
12 years ago
Richard Fuchs
421c91d5a1
fix db marks
12 years ago
Richard Fuchs
a9633eff2c
attempt to write files while fetching cdrs
12 years ago
Andreas Granig
8c024268b5
MT#9637 Use predefined time if passed
12 years ago
Andreas Granig
1a8922cf69
MT#9637 Add FULL_NAMES for backward compatibility
12 years ago
Andreas Granig
d266163cba
MT#9637 Extract reseller fields from admin fields
12 years ago
Andreas Granig
bcb750d7ff
MT#9637 Initial dynamic fields version. WIP.
...
Reseller fields are still the same as system fields.
12 years ago
Andrew Pogrebennyk
edfaf05f8b
MT#8969 fix file permissions
...
Fixing regression from commit 2c31646:
mode "0644" sets mode to --w----r-T as perdoc -f chmod explains.
See PBP pages 58-59 for details.
12 years ago
Victor Seva
f8a5e3a7e8
MT#8969 Use Config::Simple to manage configs
...
fix perl warnings (both perl files):
Stricture disabled at line [37|73], column 9. See page 429 of PBP. (Severity: 5)
Change-Id: I2ffef64fef4e68ac9305e29da6c0743f00c25c1f
12 years ago
Victor Seva
2c31646433
MT#8969 fix perl warnings:
...
Bareword file handle opened at line 28, column 1. See pages 202,204 of PBP. (Severity: 5)
Two-argument "open" used at line 28, column 1. See page 207 of PBP. (Severity: 5)
Integer with leading zeros: "0777" at line 285, column 48. See page 58 of PBP. (Severity: 5)
Integer with leading zeros: "0666" at line 309, column 46. See page 58 of PBP. (Severity: 5)
Two-argument "open" used at line 64, column 1. See page 207 of PBP. (Severity: 5)
Integer with leading zeros: "0666" at line 247, column 71. See page 58 of PBP. (Severity: 5)
Change-Id: Ic1eae412e4e39e8fd8a41537b9ecf846d4814f9a
12 years ago
Richard Fuchs
8b88153189
MT#4597 fix ID/name association for resellers
13 years ago
Richard Fuchs
96e58e344c
fix reseller export when export incoming = no
...
acked-by: agranig
13 years ago
Richard Fuchs
386d27f321
fix trailing spaces (yes, really)
13 years ago
Richard Fuchs
8ab9665b19
add reseller info to cdr export
13 years ago
Richard Fuchs
a8562db086
add header to reseller cdrs
13 years ago
Richard Fuchs
16afea3543
export reseller CDRs to separate directories
13 years ago
Andreas Granig
56190bba0e
Fix sql syntax errors.
13 years ago
Andreas Granig
b84eb99088
Align to new cdr fields and use export_status as marker.
13 years ago
Andreas Granig
9c910d8aae
Also export source_ip field.
13 years ago
Andrew Pogrebennyk
8b345810cc
fix typo in FULL_NAMES option processing
14 years ago
Daniel Tiefnig
6f3da216a8
add subscriber IDs to CDR export
...
bump version number in example config, maybe we should drop that one
14 years ago
Daniel Tiefnig
30a7e3e169
include incoming and failed calls if requested
14 years ago
Daniel Tiefnig
c9793db263
add init_time, remove reseller fields from CDR export
14 years ago
Andreas Granig
110c284742
Set version in header line.
...
Put file-format version into header line, like '<version>,<rec-count>'.
14 years ago
Richard Fuchs
ccae8ce7f3
add more fields to exported data
15 years ago
Andrew Pogrebennyk
25ba883f77
treat cdr.start_time as decimal and write timestamp with msec to csv file
15 years ago
Richard Fuchs
0f624d91e8
Add capability to chown/chmod created files and directories
15 years ago
Richard Fuchs
2b03d1a4a0
According to Andi, this part also needs to be excluded for unrated CDRs
15 years ago
Richard Fuchs
e54f1886b7
Export unrated CDRs. According to Andi, that's all that's needed :)
15 years ago
Andreas Granig
e4bd742adb
Add new cdr fields to export.
15 years ago
Jon Bonilla
c6bc376fed
Add EXPORT_UNRATED config option.
...
It does nothing at the moment
15 years ago
Richard Fuchs
40f63c474c
need to parse that too...
15 years ago
Richard Fuchs
7332431913
add config option to keep full filenames
15 years ago
Richard Fuchs
a0f933cea0
create option to sort output files into monthly/daily subdirectories
15 years ago
Daniel Tiefnig
f46670674f
aligned cdrexporter with current feature set
...
16 years ago
Jon Bonilla
a2ac961865
renaming party! I hope this is the last one.
16 years ago
Jon Bonilla
b7c9b87024
config file under its own folder
16 years ago