"does anyone know anything about this thing?"
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.
This application publishes itself as an endpoint for the HEP Pub-Sub API, announcing its capabilities to asyncronously return on-demand complementary information about correlated sessions.
This example project does not provide any actual logic and implements the basic pub-sub mechanism plus a sample endpoint returning JSON data to be extended with any desirable action such as looking up logs, events, packets and returning them to a standard or custom handler.
For some working integrations check out:
- https://github.com/sipcapture/hepsub-elastic
- https://github.com/sipcapture/hepsub-cgrates
- https://github.com/sipcapture/hepsub-voipmonitor
npm install
Configure your HOMER 7 API and local Endpoint address in file config.js
npm start
To test the API using CURL use or modify the following example
curl -d '{"callid":"1bbe7bd220786cbd", "from_time":"1543249025", "to_time":"1543259025"}' -H "Content-Type: application/json" -X POST http://server.address:18088/get/something
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