<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hello Oliver,<br>
      <br>
      In 2.2 the tracing is a bit different (as more complex) from 2.1. 
      See the trace_id parameter:<br>
         
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.2.x/siptrace.html#idp154384">http://www.opensips.org/html/docs/modules/2.2.x/siptrace.html#idp154384</a><br>
      <br>
      You should do like:</tt><br>
    <pre class="programlisting">/*DB trace id*/
modparam("siptrace", "trace_id",
"[tid]
<a class="moz-txt-link-abbreviated" href="mailto:uri=mysql://xxxx:xxxx@10.10.10.10/opensips">uri=mysql://xxxx:xxxx@10.10.10.10/opensips</a>;
table=new_sip_trace;")</pre>
    <tt>and later in the script:<br>
          sip_trace("tid","...");<br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>

OpenSIPS Bootcamp 2017, Houston, US
  <a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2017.html">http://opensips.org/training/OpenSIPS_Bootcamp_2017.html</a>
</pre>
    <div class="moz-cite-prefix">On 05/24/2017 09:08 PM, Oliver Santos
      via Users wrote:<br>
    </div>
    <blockquote
      cite="mid:1528961274.1828492.1495649284456@mail.yahoo.com"
      type="cite">Hi, 
      <div id="yMail_cursorElementTracker_1495648609328"><br>
      </div>
      <div id="yMail_cursorElementTracker_1495648610910">I am trying
        siptrace on opensips-2.2.4 but I am an error below</div>
      <div id="yMail_cursorElementTracker_1495648764390"><br>
      </div>
      <div id="yMail_cursorElementTracker_1495648768111">ERROR:core:set_mod_param_regex:
        parameter <db_url> not found in module <siptrace></div>
      <div id="yMail_cursorElementTracker_1495648929915"><br>
      </div>
      <div id="yMail_cursorElementTracker_1495648937538">Part of the
        config is listed below</div>
      <div id="yMail_cursorElementTracker_1495648952953"><br>
      </div>
      <div id="yMail_cursorElementTracker_1495649046311">loadmodule
        "siptrace.so"</div>
      <div id="yMail_cursorElementTracker_1495649074577">modparam("siptrace",
        "db_url", </div>
      <div id="yMail_cursorElementTracker_1495649153366">       
        "mysql://opensips:opensipsrw@localhost/opensips")</div>
      <div id="yMail_cursorElementTracker_1495649236328"><br>
      </div>
      <div id="yMail_cursorElementTracker_1495649244167">I appreciate
        any help.</div>
      <div id="yMail_cursorElementTracker_1495649264612"><br>
      </div>
      <div id="yMail_cursorElementTracker_1495649265950">Thanks<br>
        <br>
        <div id="ymail_android_signature"><a moz-do-not-send="true"
            href="https://overview.mail.yahoo.com/mobile/?.src=Android">Sent
            from Yahoo Mail on Android</a></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>