<div dir="ltr"><div><br></div><div>Hi,</div><div><br></div><div>Thanks for your replay.<br><br>The problem is table version. When I setup Opensips 2.2 sip_trace table have version 4, now is 5.<br>I install new table and Opensips start working.<br><br>When try to trace dialog with</div><div><br></div><div>$var(user)="tester";</div><div>$var(trace_id) = "tid";</div><div>sip_trace("$var(trace_id)", "d", "$var(user)"); <br><br>I see follow ERROR in log file.</div><div><br><br><div>Mar 16 14:33:59 sbc v[14349]: DBG:tm:t_lookup_request: REF_UNSAFE:[0xa79b60f0] after is 1 </div><div>Mar 16 14:33:59 sbc v[14349]: DBG:tm:t_lookup_request: e2e proxy ACK found </div><div>Mar 16 14:33:59 sbc v[14349]: DBG:tm:t_newtran: building branch for end2end ACK - flags=1 </div><div>Mar 16 14:33:59 sbc v[14349]: DBG:tm:t_relay_to: forwarding ACK </div><div>Mar 16 14:33:59 sbc v[14349]: DBG:core:mk_proxy: doing DNS lookup... </div><div>Mar 16 14:33:59 sbc v[14349]: DBG:core:forward_request: sending: ACK sip:B_number@RTP_Proxy_IP:2000 SIP/2.0</div><div> Via: SIP/2.0/UDP Opensips_IP:5060;branch=z9hG4bKc3a3.9a82a8a3.2</div><div> Via: SIP/2.0/UDP Caller_IP:33762;rport=33762;received=Caller_IP;branch=z9hG4bK-524287-1---fbf275fc9749d51b</div><div> Max-Forwards: 69</div><div> Route: <sip:ITSP_IP;lr;ftag=dd3f3155;did=80a.091667a5></div><div> Contact: <sip:A_number@Caller_IP:33762;transport=UDP></div><div> To: <sip:B_number@Opensips_IP;transport=UDP>;tag=as34120fe5</div><div> From: "A_number"<sip:A_number@Opensips_IP;transport=UDP>;tag=dd3f3155</div><div> Call-ID: 5YED012Le4fOF66nXIphQg..</div><div> CSeq: 2 ACK</div><div> User-Agent: Z 3.9.32144 r32121</div><div> Content-Length: 0</div><div> </div><div> . </div><div>Mar 16 14:33:59 sbc v[14349]: DBG:core:forward_request: orig. len=564, new_len=604, proto=1 </div><div>Mar 16 14:33:59 sbc v[14349]: DBG:core:parse_headers: flags=40 </div><div>Mar 16 14:33:59 sbc v[14349]: DBG:siptrace:trace_msg_out: trace msg out </div><div>Mar 16 14:33:59 sbc v[14349]: ERROR:siptrace:save_siptrace: invalid trace info! </div><div>Mar 16 14:33:59 sbc v[14349]: ERROR:siptrace:trace_msg_out: failed to save siptrace </div></div><div class="gmail_extra"><br></div><div class="gmail_extra">Where is problem to receive "invalid trace info" ?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Best regards,</div><div class="gmail_extra">Dragomir</div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-16 12:34 GMT+02:00 Liviu Chircu <span dir="ltr"><<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<tt>Hi Dragomir!<br>
<br>
Indeed, the error reporting ("parameter not found") is a bit
strange there - we will improve that soon! Basically, you have one
of the following problems:<br>
<br>
* "db_mysql.so" not loaded<br>
* insufficient permissions for "name:passwd@localhost"<br>
* opensips.sip_trace table does not exist<br>
<br>
If taking care of the above does not solve your problem, please
copy-paste all the error logs you receive - there must be other
errors.<span class="HOEnZb"><font color="#888888"><br>
</font></span></tt><span class="HOEnZb"><font color="#888888">
<pre cols="72">Liviu Chircu
OpenSIPS Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre></font></span><div><div class="h5">
<div>On 16.03.2016 11:04, Dragomir
Haralambiev wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I try to add siptrace in my system.</div>
<div><br>
</div>
<div>I make follow:<br>
git pull<br>
make proper<br>
make all<br>
make install<br>
<br>
in script put follow lines :<br>
<div>modparam("siptrace",
"trace_id","[tid]uri=mysql://name:passwd@localhost/opensips;table=sip_trace;")</div>
<div>modparam("siptrace", "trace_on", 1) </div>
</div>
<div><br>
</div>
<div>I receive follow error:<br>
Parameter <trace_id> not found in module
<siptrace> - can't set<br>
</div>
<div><br>
</div>
<div>Where is problem?</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Dragomir</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><span class=""><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</span></blockquote>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>