...
....
...
#!ifdef WITH_SIPTRACE
# --- sip trace settings ---
modparam("siptrace","db_url", DBURL);
modparam("siptrace","trace_flag", FLT_SIPTRACE);
modparam("siptrace","traced_user_avp","$avp(s:traceuser)");
#!endif
#!ifdef WITH_AVPOPS
#!ifdef WITH_MYSQL
modparam("avpops", "db_url", DBURL);
modparam("avpops","avp_table","usr_preferences");
#!endif
#!endif
...
...
#!ifdef WITH_SIPTRACE
#!ifdef WITH_AVPOPS
#!ifdef WITH_MYSQL
if (avp_db_load("$fu","$avp(s:trace)")) {
$avp(s:traceuser) = $avp(s:trace);
setflag(FLT_SIPTRACE);
sip_trace();
xlog("L_INFO"," User $fu being traced ci=$ci\n");
}
#!endif
#!endif
#!endif
you will be able to trace single user if add trace option into user preferences: