<div>Hello ,</div><div> </div><div>I see duplicate information in sip_trace table (Opensips: 1.8.1): <br>one line with traced_user=empty;<br>other traced_user=$avp(trace_id).</div><div> </div><div>How to setup Opensips to remove traced_user=empty ?</div>
<div>Here is part of opensips.cfg:</div><div> </div><div>modparam("siptrace", "db_url", "mysql://user:password@localhost/opensips")<br>modparam("siptrace", "trace_on", 1) <br>
modparam("siptrace", "enable_ack_trace", 1) <br>modparam("siptrace", "traced_user_avp", "$avp(trace_id)")</div><div>......<br>if (is_method("INVITE")) {<br>..... receive $avp(trace_id) from radius_send_auth .......</div>
<div> if ( $avp(trace_id) ) {<br> xlog("L_ERR", "Trace ON. Trace_id=$avp(trace_id)\n");<br> sip_trace();<br> }</div><div>.....<br>}</div><div> </div><div>Best regards,</div><div>PlayMen</div>
<div> </div>