Skip to content
sipcapturePublic

About

HEP Pub-Sub API Example

Topics

Resources

Stars

7 stars

Watchers

3 watching

Forks

Latest commit

 

History

40 Commits

Folders and files

Repository files navigation

HEP PUBSUB Endpoint

"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.

So What?

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.

What does this do?

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:

Install
npm install
Configure

Configure your HOMER 7 API and local Endpoint address in file config.js

Initialize
npm start
Test

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

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

Donate

(C) 2008-2019 QXIP BV

About

HEP Pub-Sub API Example

Topics

Resources

Stars

7 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages