Coder Social home page Coder Social logo

azzbcc / hepipe.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sipcapture/hepipe.js

0.0 0.0 0.0 109 KB

Pipe arbitrary data rows (logs, events, cdrs, esl, etc) to HEP Server (HOMER)

Home Page: http://sipcapture.org

License: MIT License

JavaScript 98.85% Dockerfile 1.15%

hepipe.js's Introduction

HEPipe.js

HEP Enabled data harvester

HEPipe.js can work several types of feeds:

  • Log based events
  • Freeswitch ESL events
  • Meetecho Janus events

Each module features its own programming used to match and encapsulate extracted data using the desired HEP payload (e.g. JSON vs SIP) and send it to an HOMER instance.

These are configured by setting the related sections in config.js (see examples/ for managing log events, ESL events (log, RTCP, QoS) and Janus events (SIP, other events)).

Installation and Run

Prepare with:

sudo npm install

Fill config.js as needed (please see examples/)

Run with:

sudo node hepipe.js

Dockerisation

You can also run hepipe.js inside a Docker container.

config.js can be made available via a read-only Volume.

Ensure that the container can access the monitored log (e.g. via a Volume), and can connect to FS ESL or Janus Events API as needed.

ESL client

Events

ESL Event Hep Mode HEP Type
CHANNEL_CREATE LOG 100
CHANNEL_ANSWER LOG 100
CHANNEL_DESTROY LOG 100
CUSTOM LOG 100
RECV_RTCP_MESSAGE RTCP 5
CHANNEL_DESTROY CUSTOM QoS 99

Correlation Headers

Other-Leg-Unique-ID -> Unique-ID -> variable_sip_call_id

Janus client

Events

Janus Event Janus Type HEP Mode HEP Type
SIP 64 SIP 1
CORE 1 LOG 100
SESSION 2 LOG 100
MEDIA 32 LOG 100
ICE 16 LOG 100
JSEP/SDP 8 LOG 100

Correlation Headers

session_id -> handle_id -> data.call_id

hepipe.js's People

Contributors

lmangani avatar giavac avatar noahmehl avatar azzbcc avatar dominicbr avatar lminiero avatar stell0 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.