HEPSUB RTP:Engine
October 24, 2020 ยท View on GitHub


HEPSUB RTP:Engine
Call Recording Endpoint
HOMER Seven allows external agents to subscribe capabilities to provide "on-demand" session details from external APIs, databases, etc. to augment internally available data without requiring data duplication and allowing creative use of the core HEP platform.
The HEPSUB RTP:Engine client will receive on-demand request from HOMER sessions, and will return any local metadata and PCAP recordings.
[ HOMER ] <---> [ HEPSUB-RTPENGINE ] <---> [ RTPENGINE META/PCAP ]

Status
- Beta Testing! APIs might change. Open an Issue if you'd like to join in.
Install
npm install
Configure
Configure your HOMER URL, API Token and local network settings in file config.js
HOMER HEPsub
Add the following profile to your HEPsub configuration
{
"lookup_id": 0,
"lookup_type": "pubsub",
"lookup_field": "{\"data\":$source_field,\"fromts\":$fromts,\"tots\":$tots}",
"lookup_range": [
-300,
200
],
"source_fields": {
"sid": "data_header.sid",
"callid": "data_header.callid",
"source_ip": "data_header.srcIp"
},
"lookup_profile": "pcap"
}
Initialize
npm start
Docker
To use our ready container, just populate the following variables and use the included docker-compose file:
- PUBLIC_IP= YOUR SERVICE IP/DOMAIN
- HOMER_IP= YOUR HOMER IP
- HOMER_PORT= YOUR HOMER PORT
- HOMER_TOKEN= YOUR HOMER AUTH TOKEN
Made by Humans
This Open-Source project is made possible by actual Humans without corporate sponsors, angels or patreons.
If you use this software in production, please consider supporting its development with contributions or donations
