Closed hamidrhashmi closed 2 months ago
s_ip
and s_port
will have no effect. The correct fields to force IPs in the HEP output are srcIp
, srcPort
, dstIp
, dstPort
// Build HEP3 w/ null network parameters
hep_proto.srcIp = data.srcIp || this.src_ip;
hep_proto.dstIp = data.dstIp || this.dst_ip;
hep_proto.srcPort = data.srcPort || this.src_port;
hep_proto.dstPort = data.dstPort || this.dst_port;
Full logic in the source code
I am trying to send freeswitch CDRs as HEP Log to Homer. But I am unable to set HEP SRC IP and SRC Port with respect to IPs in the CDRs so That I can see Log Correclty in the flow.
Pastash Configuration
Pasttash Logs (it does not print hep packet.)
I can see a comment here which says that the Network part is to be Done.