Commit Graph

22 Commits

Author SHA1 Message Date
ionutboangiu
b7d172f78a Fix misspellings 2023-06-21 11:02:39 +02:00
ionutboangiu
62619ba3a5 Replace interface{} with any 2023-06-05 10:55:32 +02:00
ionutboangiu
6a6fefd0cd Improve cost formatting and parsing for CDRs
The FormatCost function in cdr.go now accepts an additional parameter of type *config.RSRParser. This is
then used to extract the value from its path as opposed to always using the value of the Cost field directly.

Improved the unit test for the FormatCost function. Now it has become a table-driven test and it handles
cases when the cost is retrieved from different fields other than  from the CDR.
2023-05-22 07:53:47 +02:00
Trial97
455a5e9485 Updated RSRParser constant handling 2020-07-03 08:18:04 +03:00
Trial97
5692c4db75 Updated RSRParser to not split the string between grave accent 2020-07-03 08:18:04 +03:00
Trial97
9ef1dd05cc Updated AgentRequest 2020-05-07 11:19:03 +02:00
TeoV
8e1898e6c9 Add GetRule function for RSRParsers 2020-03-10 10:31:14 +01:00
Tripon Alexandru-Ionut
5af9e7385f Updated IfaceAsString and MapEvent tests 2019-06-21 15:35:01 +02:00
Tripon Alexandru-Ionut
024b1f765e Moved regexp.MustCompile outside functions 2019-05-13 12:41:25 +02:00
DanB
6c90848774 RSRParser to support inner brackets 2019-01-28 19:20:46 +01:00
TeoV
201ddb9a87 Remove debugging logs 2019-01-24 11:04:12 +01:00
TeoV
d998cf71ac Add tests for rsr and correctly value in diameter 2019-01-24 11:04:12 +01:00
TeoV
26cea43e4f Send separator for RSRParser as parameter in config 2018-11-25 17:42:42 +01:00
TeoV
d8977ffeba Add option "rsr_separator" in general config 2018-11-25 17:42:42 +01:00
TeoV
bf98dd2282 Fixes #1305 2018-11-16 18:31:54 +01:00
DanB
e5299d97b1 SessionS returning NO_SESSION if ChargerS are not returning any charger profile, diameter integration test for init voice calls, AttributeS properly rejecting non modified *attributes fields 2018-10-04 20:31:39 +02:00
DanB
11689ed842 Diameter data provider with support for group filters 2018-09-21 21:05:24 +02:00
TeoV
9683c50db0 Replace RSRField from Filters with RSRParsers 2018-09-19 12:20:43 +02:00
TeoV
1299065a58 XML use . as separator 2018-09-13 17:19:33 +02:00
TeoV
0196d17b2c Update LoaderS with FCTemplate 2018-09-10 16:31:16 +02:00
TeoV
002c57e857 Update CDRE with FCTemplate 2018-08-30 11:40:06 +02:00
TeoV
6d1a3f07fd Move DataProvider,NavigableMap,RsrParser into config package 2018-08-30 11:40:06 +02:00