sipcapture / hepipe.js

Pipe arbitrary data rows (logs, events, cdrs, esl, etc) to HEP Server (HOMER)
http://sipcapture.org
MIT License
25 stars 17 forks source link

Support for multiple ESL instances #9

Closed lmangani closed 6 years ago

lmangani commented 7 years ago

Allow ESL configuration to be either the current object or an array containing multiple ESL instances to connect to for input:

 esl_config: [{    
      debug: true,    
      ESL_SERVER: '1.2.3.4',    
      ESL_PORT: 8021 ,
      ESL_PASS: 'somePass', 
      HEP_PASS: 'null', 
      HEP_ID: 2222, 
      report_call_events: true, 
      report_rtcp_events: true, 
      report_qos_events: true
}, {    
      debug: true,    
      ESL_SERVER: '5.6.7.8',    
      ESL_PORT: 8021 ,
      ESL_PASS: 'otherPass', 
      HEP_PASS: 'null', 
      HEP_ID: 2223, 
      report_call_events: true, 
      report_rtcp_events: true, 
      report_qos_events: true
}]
lmangani commented 6 years ago

This is now possible with pastash. Closing.