[OpenSIPS-Users] Siptrace module
Siju Nair
siju at in.chitrchatr.net
Mon Dec 21 12:46:40 CET 2015
Hi Team,
I am using siptrace module in opensips, but i am unable to see the
record in Opensips control panel My configuration is as below.... when i
check in mysql db, i get an empty set. Please help me.
#### Sip Trace Module
loadmodule "siptrace.so"
modparam("siptrace", "db_url", "mysql://user:pass/host:dbname")
modparam("siptrace", "trace_flag", 22)
modparam("siptrace", "traced_user_avp", "$avp(s:user)")
modparam("siptrace", "trace_on", 1)
My routing function is
route{
setflag(22);
#Duplicate this sip message to Homer capture node
sip_trace();
route(1);
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
exit;
}
#The function triggers the tracing of all messages belonging to
a dialog
if(is_method("INVITE") && !has_totag())
{
trace_dialog();
}
route[1]{
if (!t_relay()) {
sl_reply_error();
};
exit;
}
More information about the Users
mailing list