Commit Graph

8554 Commits

Author SHA1 Message Date
Bas Couwenberg
e4e41a3e5d Fix logrotate configuration.
logrotate refused to rotate the logfile due to permissions:
```
logrotate[6248]: error: skipping "/var/log/cgrates/CGRateS.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation
```
Ownership of the directory and logfile is root/adm:
```
total 192
drwxrwxr-x 2 root adm    4096 Jul 17 10:24 .
drwxr-xr-x 8 root root   4096 Jul 17 00:00 ..
-rw-r----- 1 root adm  182485 Jul 16 15:52 CGRateS.log
```
2019-07-18 02:55:53 -10:00
Trial97
3b1d981a95 Updated apierv1 tests 2019-07-18 02:54:19 -10:00
Trial97
e923babcee Updated mongo storage 2019-07-18 02:54:19 -10:00
DanB
b87d7086dd DNSAgent: proper appending new values in case of multiple suppliers returned in NAPTR queries 2019-07-18 09:46:31 +02:00
TeoV
5f506e08d6 Correctly dnsAgent integration test for suppliers 2019-07-17 05:00:31 -10:00
TeoV
613b03d4f7 Correct select defaults arguments for agents in case that cgr_flags isn't presented 2019-07-17 05:00:31 -10:00
Trial97
ab77aaebc8 Downgraded mongo library 2019-07-17 04:59:52 -10:00
Trial97
965f645d09 Updated mongo ensureIndexes 2019-07-17 04:59:52 -10:00
Trial97
de41b7a093 Updated debitLoopSession 2019-07-17 04:59:52 -10:00
Trial97
dfd034433d Added SessionSv1.ProcessEvent tests in DispatcherS 2019-07-17 04:59:52 -10:00
TeoV
b92280e38e Use fiorix library for diameter 2019-07-16 23:24:41 -10:00
TeoV
91b6629097 Add tests in apier/v1 for ProcessEvent(Auth/Init/Update/Terminate) and add in agents support for *event 2019-07-16 23:24:41 -10:00
TeoV
556850d82e Compress duplicate code of processAttributes ( for SessionS ) 2019-07-16 23:24:41 -10:00
Trial97
6d8c83ef2f Updated TesminateSession 2019-07-16 22:42:42 -10:00
Trial97
c1f49a6e73 Updated glide.yaml 2019-07-16 22:42:42 -10:00
TeoV
96af791867 Compress duplicate code for getSuppliers ( for SessionS) 2019-07-15 20:57:17 -10:00
TeoV
92a9e12fa7 Compress duplicate code into functions ( for SessionS ) 2019-07-15 20:57:17 -10:00
TeoV
d0bc5fba9b Rename SessionSv2.ProcessEvent to SessionSv1.ProcessEvent 2019-07-15 20:57:17 -10:00
TeoV
561175e0b3 Rename SessionSv1.ProcessEvent to SessionSv1.ProcessMessage 2019-07-15 20:57:17 -10:00
TeoV
4e2164b741 Update template for DNSAgent and add new method V2ProcessEvent in SessionS 2019-07-15 20:57:17 -10:00
Trial97
ae5f2e1d6b Updated freeswitch dialplan 2019-07-15 06:41:45 -10:00
Trial97
247b05d034 Updated docker scripts 2019-07-15 06:41:45 -10:00
Trial97
aa665eb1cb Updated freeswitch configuration 2019-07-15 06:00:16 -10:00
Trial97
f22014ee21 Updated debitLoop 2019-07-15 06:00:16 -10:00
Trial97
05cdc494e7 Updated parseFlags for agents 2019-07-15 03:19:20 -10:00
Trial97
f025f1b002 Updated glide files 2019-07-15 03:19:20 -10:00
Trial97
0a72423711 Updated CSVStorage 2019-07-15 03:19:20 -10:00
Trial97
b4f79616e8 Updated call tests 2019-07-15 03:19:20 -10:00
Trial97
0222d17f96 Updated message for TLS 2019-07-15 03:19:20 -10:00
Bas Couwenberg
a6e132f1c5 Use DAEMON_OPTS from default file in systemd service too. 2019-07-15 03:14:14 -10:00
TeoV
d25cf9bb4b Commented supplier test 2019-07-12 05:14:39 -10:00
TeoV
ffd39481ad Add test for special case in case of suppliers 2019-07-12 05:14:39 -10:00
TeoV
5c14688366 Adding ability to specify ids for subsystems directly from agent flags 2019-07-12 05:14:39 -10:00
TeoV
d99d229295 Return the usage in case of Auth Session for postpaid sessions 2019-07-12 05:14:39 -10:00
TeoV
61ff2e2f57 Add diameter messages to dryrun and use ToJSON to print messages 2019-07-12 05:14:39 -10:00
TeoV
ce3f3a1691 Add back an extra line in dns agent config 2019-07-12 05:14:39 -10:00
TeoV
6da9cbd3a9 Use dns library from miekg 2019-07-12 05:14:39 -10:00
Trial97
f1513907ff Added recursive option to cgr-loader.Fixes#468 2019-07-12 05:13:20 -10:00
Trial97
dbce98fb00 Added ansible scripts to install CGRateS for integration tests 2019-07-12 05:13:20 -10:00
Trial97
6c468a4d2c Added unit test for DiameterAgent processRequest 2019-07-12 05:13:20 -10:00
Trial97
a36c914aa7 Updated check for poster configuration 2019-07-12 05:13:20 -10:00
TeoV
65b0e0f608 Move populating source after RPC caching 2019-07-10 22:01:33 -10:00
DanB
7e77f1fa35 Adding DomainName and QueryName into DNSAgent variables 2019-07-10 18:12:30 +02:00
TeoV
0ed30ff0ea Add source *sessions in case that isn't present when SessionS send the CDR to CDRServer to be processed 2019-07-10 05:46:11 -10:00
TeoV
8b08199b74 Add test for *post_event action 2019-07-10 05:46:11 -10:00
Trial97
c7e4c33391 Updated S3Poster 2019-07-09 21:10:37 -10:00
Tripon Alexandru-Ionut
0aa1ffefaf Added *cdr_account action 2019-07-09 21:10:37 -10:00
Tripon Alexandru-Ionut
ff9e44b639 Updated EventType and renamed EqualThan to EqualTo 2019-07-09 21:10:37 -10:00
TeoV
3e6d01a638 HTTPAgent correctly append the same FieldPath with different processor and correcly access in SessionS AttributeIDs 2019-07-09 02:47:51 -10:00
TeoV
fc45b4f7b9 Add tests for *text_plain reply for HTTPAgent 2019-07-09 02:47:51 -10:00