Alexandr Dubovikov writes:
yes, it's compatible with version 1 or 2. Your captagent config must looks like this:
<configuration name="core_hep.conf" description="HEP Socket">
<settings> <param name="version" value="2"/> <param name="capture-host" value="10.0.0.1"/> <param name="capture-port" value="9060"/> <param name="capture-proto" value="udp"/> <param name="capture-id" value="2001"/> <param name="capture-password" value="myHep"/> </settings>
</configuration>
thanks, i got it working. the only difference was that i had <param name="capture-proto" value="tcp"/>
can you show your kamailio config ? I think there are some issues...
i was using in this test very basic standalone config:
debug=LOG_LEVEL listen=INTERNAL_IP:HEP_PORT
loadpath "/usr/lib/sip-proxy/modules" loadmodule "db_mysql.so" loadmodule "sipcapture.so" loadpath "/usr/lib/sip-proxy/modules_k" loadmodule "pv.so" loadmodule "xlog.so"
modparam("sipcapture", "db_url", "MYSQL_SIP_PROXY_USAGE_URL") modparam("sipcapture", "table_name", "sip_capture") modparam("sipcapture", "capture_node", "CAPTURE_NODE") modparam("sipcapture", "capture_on", 1) modparam("sipcapture", "hep_capture_on", 1)
route { xlog("L_INFO", "Capturing request <$rm>\n"); sip_capture(); drop; }
onreply_route { xlog("L_INFO", "Capturing reply <$rm>\n"); sip_capture(); drop; }
-- juha