Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 709 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 709 Bytes

hepsub-cgrates

HEP Pub-Sub Client for CGRates API

What?

This HEPSUB agent hooks HOMER 7 with the CGRates API, fetching CDRs, rates and other elements in realtime during session investigation.

Usage

Once the parameters in config.js are prepared, launch the Node application:

Manual

nodejs cgrates.js

PM2

pm2 start cgrates.js

Docker

A docker container with the HEPSUB CGrates API is provided for convenience and testing.

docker-compose up -d
docker run --name cgrates-hepsub -d sipcapture/hepsub-cgrates

Node API

See /app folder