Build Dependencies IMS Offline Charging System Depends on following Libraries. Make sure that you have built /installed all of the following libraries before building HSS
- libamps (AMPS library)
- libxml2 (XML Libraray)
- libdiameter (Diameter Base Stack library) Get Source Code mkdir imscdf git clone https://github.com/inamkhosa/imscdf.git Compile and Install
For debugging with gdb, following command may be used:
For release compilation, following command may be used:
Note: If –prefix and –datarootdir are not given then HSS will install to default directories. Default directories for installation are /usr/local/bin for binary files , /usr/local/lib for libraries and /usr/local/hss for configuration files. Compile and Install
Not: if you use different directories for installation rather than default directories then you should add you binary file path to environment variable PATH and libraries file to environment variable LD_LIBRARY_PATH. Configure CDF The configuration file offcs_config.xml is used to provide the configuration options for running the CDF application. The default path for installation of this configuration file is /usr/local/share/offlinecharging #vi /usr/local/share/offlinecharging/offcs_config.xml Change the IPs and Ports to reflect to your system IP and Port. Start OFCS The name of application installed for executing the CDF is 'offlinecharging'. In Linux the default path for its installation is /usr/local/bin. Use the following command for starting the CDF.
imscdf is licensed under Creative Common License (https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode).
You can look at https://creativecommons.org/licenses/by-nc-sa/4.0/ for non-commercial usage.