среда, 9 февраля 2022 г.

hepgen.js hep data generator

hebgen.was - a very useful tool for testing such systems as Sipcapture Homer application (heplify service)


 1) install node.js

apk add --update nodejs npm (for alpine linux)

2) install hepgen.js tool

npm install -g hepgen.js

3) download  js template for HEP generation from 

https://github.com/sipcapture/hepgen.js/find/master

4) run HEP generator and send to socket

hepgen.js -s 127.0.0.1 -p 9060 -c "./config/b2bcall_rtcp.js"  - for UDP!!!!!!!!
hepgen.js -s 192.168.27.71 -p 30961 -t tcp -c "./config/b2bcall_rtcp.js"     - for TCP!!!!!!!