<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">add the following instructions to your script:<br>loadmodule "siptrace.so"<br>modparam("siptrace", "db_url", "mysql://opensips:fedora13579@localhost/opensips")<br>modparam("siptrace", "trace_flag", 22)<br>modparam("siptrace","trace_on",1)<br>modparam("siptrace", "traced_user_avp", "$avp(traceuser)")<br>modparam("siptrace", "trace_local_ip", "IP Address of your Server:Port")<br><br>put following code in route in opensips script <br>if(avp_db_load("$fu","$avp(trace)")) {<br>&nbsp;&nbsp;&nbsp;&nbsp; $avp(s:traceuser)=$fu;<br>&nbsp;&nbsp;&nbsp;&nbsp; setflag(22);<br>&nbsp;&nbsp;&nbsp;&nbsp; sip_trace();<br>&nbsp;&nbsp;&nbsp;&nbsp; xlog("L_INFO","User $fu being traced");<br>}<br><br>The $avp(s:trace) will be loaded from usr_references table<br>so you have to add the user :<br>opensipsctl avp add –T usr_preferences user@youripaddress trace 0 1<br><br>finally start
 siptrace :<br>opensipsctl fifo sip_trace on<br>then make a call from the user you already added.<br><br>--- On <b>Fri, 8/24/12, Engineer voip <i>&lt;forvoip4@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Engineer voip &lt;forvoip4@gmail.com&gt;<br>Subject: [OpenSIPS-Users] sip_trace on opensips-cp<br>To: "OpenSIPS users mailling list" &lt;users@lists.opensips.org&gt;, "users-request" &lt;users-request@lists.opensips.org&gt;<br>Date: Friday, August 24, 2012, 4:17 PM<br><br><div class="plainMail">Hello All,<br><br>I want to get siptrace from opensips 1.8 using OCP but i haven't no<br>idea to use SIPTRACE<br><br>module.<br><br>someone have an idea to do that, please?<br><br>Best Regards.<br><br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org"
 href="/mc/compose?to=Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div></blockquote></td></tr></table>