Hi, Thanks for your replay.
The problem is table version. When I setup Opensips 2.2 sip_trace table have version 4, now is 5. I install new table and Opensips start working. When try to trace dialog with $var(user)="tester"; $var(trace_id) = "tid"; sip_trace("$var(trace_id)", "d", "$var(user)"); I see follow ERROR in log file. Mar 16 14:33:59 sbc v[14349]: DBG:tm:t_lookup_request: REF_UNSAFE:[0xa79b60f0] after is 1 Mar 16 14:33:59 sbc v[14349]: DBG:tm:t_lookup_request: e2e proxy ACK found Mar 16 14:33:59 sbc v[14349]: DBG:tm:t_newtran: building branch for end2end ACK - flags=1 Mar 16 14:33:59 sbc v[14349]: DBG:tm:t_relay_to: forwarding ACK Mar 16 14:33:59 sbc v[14349]: DBG:core:mk_proxy: doing DNS lookup... Mar 16 14:33:59 sbc v[14349]: DBG:core:forward_request: sending: ACK sip:B_number@RTP_Proxy_IP:2000 SIP/2.0 Via: SIP/2.0/UDP Opensips_IP:5060;branch=z9hG4bKc3a3.9a82a8a3.2 Via: SIP/2.0/UDP Caller_IP:33762;rport=33762;received=Caller_IP;branch=z9hG4bK-524287-1---fbf275fc9749d51b Max-Forwards: 69 Route: <sip:ITSP_IP;lr;ftag=dd3f3155;did=80a.091667a5> Contact: <sip:A_number@Caller_IP:33762;transport=UDP> To: <sip:B_number@Opensips_IP;transport=UDP>;tag=as34120fe5 From: "A_number"<sip:A_number@Opensips_IP;transport=UDP>;tag=dd3f3155 Call-ID: 5YED012Le4fOF66nXIphQg.. CSeq: 2 ACK User-Agent: Z 3.9.32144 r32121 Content-Length: 0 . Mar 16 14:33:59 sbc v[14349]: DBG:core:forward_request: orig. len=564, new_len=604, proto=1 Mar 16 14:33:59 sbc v[14349]: DBG:core:parse_headers: flags=40 Mar 16 14:33:59 sbc v[14349]: DBG:siptrace:trace_msg_out: trace msg out Mar 16 14:33:59 sbc v[14349]: ERROR:siptrace:save_siptrace: invalid trace info! Mar 16 14:33:59 sbc v[14349]: ERROR:siptrace:trace_msg_out: failed to save siptrace Where is problem to receive "invalid trace info" ? Best regards, Dragomir 2016-03-16 12:34 GMT+02:00 Liviu Chircu <li...@opensips.org>: > Hi Dragomir! > > 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: > > * "db_mysql.so" not loaded > * insufficient permissions for "name:passwd@localhost" > * opensips.sip_trace table does not exist > > 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. > > Liviu Chircu > OpenSIPS Developerhttp://www.opensips-solutions.com > > On 16.03.2016 11:04, Dragomir Haralambiev wrote: > > Hello, > > I try to add siptrace in my system. > > I make follow: > git pull > make proper > make all > make install > > in script put follow lines : > modparam("siptrace", "trace_id","[tid]uri=mysql://name:passwd@localhost > /opensips;table=sip_trace;") > modparam("siptrace", "trace_on", 1) > > I receive follow error: > Parameter <trace_id> not found in module <siptrace> - can't set > > Where is problem? > > Best regards, > Dragomir > > > _______________________________________________ > Users mailing > listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users