Hi Liviu, I did confirm that trace_on was already set to 1. I did define the
trace flag as you suggested and tried it with both trace_dialog() and
sip_trace() but am still not seeing any packets egress from the source host to
the dest host. Here's what I have set up. I had to fill in a bogus DB (not
using it anyway) because it wouldn't let me start opensips if it wasn't
defined. My goal is to have this sip_trace node send captures to a sipcapture
(homer) node.
#### SIP Trace module
loadmodule "siptrace.so"
modparam("siptrace", "db_url", "mysql://user:passwd@host/dbname")
modparam("siptrace", "duplicate_uri", "sip:192.168.2.142:9060")
modparam("siptrace", "duplicate_with_hep", 1)
modparam("siptrace", "trace_to_database", 0)
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_flag", "TRACE_FLAG")
modparam("siptrace", "hep_version", 2)
INSIDE MAIN ROUTE BLOCK:
# create dialog with timeout and hide topology
if ( !create_dialog("B") ) {
xlog("L_INFO", "Unable to create dialog \n");
send_reply("500","Internal Server Error");
exit;
} else {
# We have a dialog, Lets hide the topology from where the call
originated
topology_hiding();
}
# Trace this dialog
setflag(TRACE_FLAG);
sip_trace();
#trace_dialog();
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users