Vince-0

cgrats.json osips tutorial

Feb 8th, 2022
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. {
  2.  
  3. // Real-time Charging System for Telecom & ISP environments
  4. // Copyright (C) ITsysCOM GmbH
  5. //
  6.  
  7.  
  8. "listen": {
  9. "rpc_json": ":2012",
  10. "rpc_gob": ":2013",
  11. "http": ":2080",
  12. },
  13.  
  14.  
  15. "stor_db": {
  16. "db_password": "CGRateS.org",
  17. },
  18.  
  19.  
  20. "schedulers": {
  21. "enabled": true,
  22. },
  23.  
  24.  
  25. "rals": {
  26. "enabled": true,
  27. "thresholds_conns": ["*localhost"],
  28. "stats_conns": ["*localhost"],
  29. "attributes_conns": ["*localhost"],
  30. },
  31.  
  32.  
  33. "cdrs": {
  34. "enabled": true,
  35. "stats_conns": ["*localhost"],
  36. "chargers_conns": ["*localhost"],
  37. "sessions_cost_retries": 5,
  38. },
  39.  
  40.  
  41. "chargers": {
  42. "enabled": true,
  43. "attributes_conns": ["*localhost"],
  44. },
  45.  
  46.  
  47. "sessions": {
  48. "enabled": true,
  49. "listen_bijson": "127.0.0.1:2014", // address where to listen for bidirectional JSON-RPC requests
  50. "chargers_conns": ["*localhost"],
  51. "rals_conns": ["*localhost"],
  52. "cdrs_conns": ["*localhost"],
  53. "resources_conns": ["*localhost"],
  54. "routes_conns": ["*localhost"],
  55. "attributes_conns": ["*localhost"],
  56. "stats_conns": ["*localhost"],
  57. "thresholds_conns": ["*localhost"],
  58. "debit_interval": "10s",
  59. "channel_sync_interval":"30s",
  60. },
  61.  
  62.  
  63.  
  64. "attributes": {
  65. "enabled": true,
  66. "string_indexed_fields": ["*req.Account"],
  67. },
  68.  
  69.  
  70. "resources": {
  71. "enabled": true,
  72. "thresholds_conns": ["*localhost"],
  73. "string_indexed_fields": ["*req.Account"],
  74. "prefix_indexed_fields": ["*req.Destination"],
  75. },
  76.  
  77.  
  78. "stats": {
  79. "enabled": true,
  80. "thresholds_conns": ["*localhost"],
  81. "string_indexed_fields": ["*req.Account"],
  82. },
  83.  
  84.  
  85. "thresholds": {
  86. "enabled": true,
  87. "string_indexed_fields": ["*req.Account"],
  88. },
  89.  
  90.  
  91. "routes": {
  92. "enabled": true,
  93. "resources_conns": ["*localhost"],
  94. "stats_conns": ["*localhost"],
  95. "string_indexed_fields": ["*req.Account"],
  96. "prefix_indexed_fields": ["*req.Destination"],
  97. "rals_conns": ["*localhost"],
  98. },
  99.  
  100.  
  101. "apiers": {
  102. "enabled": true,
  103. "scheduler_conns": ["*localhost"],
  104. },
  105.  
  106.  
  107. }
Advertisement
Add Comment
Please, Sign In to add comment