Skip to content

sipcapture/hepsub-cgrates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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