ionutboangiu 6c41ebe0de Add sanity check to prevent xml reader panic
HierarchyPath parser now returns nil when
the path is empty (instead of a string slice with one
EmptyString element).

If the prefix is set to true, when calling the AsString
method on a nil HierarchyPath, only the separator will
be returned. This avoids a nil expr error coming from
the xmlquery library.

Use the Query and QueryAll functions from the xmlquery
package to be able to handle the errors ourselves and
avoid panics.

Remove config default value for xml_root_path. The field
will remain commented in config_defaults for reference.

Add tests for HierarchyPath.AsString function.

Add comments for XmlProvider and xml_root_path opt.
2023-10-16 13:18:12 +03:00
2023-10-09 21:09:27 +02:00
2023-09-28 20:48:07 +02:00
2023-10-12 11:10:01 +02:00
2023-10-12 15:06:04 +02:00
2021-07-19 15:37:19 +02:00
2021-10-12 16:49:01 +03:00
2023-09-26 21:33:40 +02:00
2020-06-24 16:28:50 +03:00
2019-06-12 22:11:43 +02:00
2020-02-19 15:58:46 +01:00
2014-10-14 12:12:51 +02:00
2023-02-02 08:34:14 +01:00
2012-02-25 14:27:06 +02:00
2023-07-04 13:17:13 +02:00
2023-09-26 21:33:40 +02:00
2019-09-04 16:22:08 +02:00

Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments

Build Status Documentation Status GoDoc

Features

  • Real-time Online/Offline Charging System (OCS).
  • Account Balances Management with bundle support.
  • Session or Event charging with reservation.
  • Rating engine.
  • CDR logging with support for Interim Records.
  • QoS LCR and LCR over Bundles.
  • Fraud detection with automatic mitigation.
  • Call Statistics with pattern monitoring.
  • Performance oriented.
  • Modular architecture.
  • Test driven development.
  • Plug-able/non-intrusive into existing setups.
  • Cloud-ready, built on independent micro-services with rich set of RPC APIs.
  • Agile in developing new features.
  • Very fast (5000+ req/sec on a single machine)
  • Good documentation.
  • Commercial support available

Documentation

Step by steps tutorials

Debian apt-get repository

Installing CGRateS from sources on minimal debian (for devel or testing)

Browsable HTML docs http://readthedocs.org/docs/cgrates/

PDF, Epub, Manpage http://readthedocs.org/projects/cgrates/downloads/

API reference godoc

Also check irc.freenode.net #cgrates (Webchat) and Google group for a more real-time support.

Description
No description provided
Readme 110 MiB
Languages
Go 99%
Shell 0.7%
Jinja 0.1%
Python 0.1%