[OpenSIPS-Users] duplicate information in sip_trace table

Dragomir Haralambiev goup2010 at gmail.com
Tue Oct 9 22:55:09 CEST 2012


Hello ,

I see duplicate information in sip_trace table (Opensips: 1.8.1):
one line with traced_user=empty;
other traced_user=$avp(trace_id).

How to setup Opensips to remove traced_user=empty ?
Here is part of opensips.cfg:

modparam("siptrace", "db_url", "mysql://user:password@localhost/opensips")
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "enable_ack_trace", 1)
modparam("siptrace", "traced_user_avp", "$avp(trace_id)")
......
if (is_method("INVITE")) {
..... receive $avp(trace_id) from radius_send_auth .......
   if ( $avp(trace_id) ) {
        xlog("L_ERR", "Trace ON. Trace_id=$avp(trace_id)\n");
        sip_trace();
    }
.....
}

Best regards,
PlayMen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121009/a9fb92d6/attachment.htm>


More information about the Users mailing list