modparam("sipcapture", "db_url", "mysql://homer:homer@localhost/homer")
modparam("sipcapture", "capture_on", 1)
modparam("sipcapture", "capture_node", "homer01")
modparam("sipcapture", "hep_capture_on", 1)
modparam("siptrace", "traced_user_avp", "$avp(s:traced_user)")
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_flag", FLD_TRACE)
modparam("siptrace", "hep_mode_on", 1)
modparam("siptrace", "trace_to_database", 0)
request_route {
...
setflag(FLD_TRACE);
sip_capture();
...
}
--------------------------------
It seems sipcapture is listening on both eth0 and loopback interfaces, and when it detects packets not encapsulated using HEP on eth0 (requests from SIP clients), it gives the error above.
Is there a way to tell sipcapture to bind only on one interface using HEP mode? It seems impossible for now to run NODE and AGENT on the same server using HEP mode...
Thanks for helping.