<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello Victor,</p>
    <p>It should be fixed now. Try upgrading to latest from master<br>
    </p>
    <pre class="moz-signature" cols="72">Ionut Ionita
OpenSIPS Developer</pre>
    <div class="moz-cite-prefix">On 02/05/2017 02:46 PM, Victor
      Bogatyryev wrote:<br>
    </div>
    <blockquote
      cite="mid:1f2a0b91-285c-caa9-b2f4-b0f8989c5bb7@gmail.com"
      type="cite">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <pre><font face="Courier New, Courier, monospace">Hi All,

opensips 2.3

opensips.cfg
#### SipTrace Module
loadmodule "siptrace.so"
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_id", "[tid]uri=mysql://opensips:opensipsrw@localhost/opensips;table=sip_trace;")

MariaDB [opensips]> DESCRIBE sip_trace;
+-------------+------------------+------+-----+---------------------+----------------+
| Field       | Type             | Null | Key | Default             | Extra          |
+-------------+------------------+------+-----+---------------------+----------------+
| id          | int(10) unsigned | NO   | PRI | NULL                | auto_increment |
| time_stamp  | datetime         | NO   | MUL | 1900-01-01 00:00:01 |                |
| callid      | char(255)        | NO   | MUL |                     |                |
| trace_attrs | char(128)        | YES  | MUL | NULL                |                |
| msg         | text             | NO   |     | NULL                |                |
| method      | char(32)         | NO   |     |                     |                |
| status      | char(128)        | YES  |     | NULL                |                |
| from_proto  | char(5)          | NO   |     | NULL                |                |
| from_ip     | char(50)         | NO   | MUL |                     |                |
| from_port   | int(5) unsigned  | NO   |     | NULL                |                |
| to_proto    | char(5)          | NO   |     | NULL                |                |
| to_ip       | char(50)         | NO   |     |                     |                |
| to_port     | int(5) unsigned  | NO   |     | NULL                |                |
| fromtag     | char(64)         | NO   |     |                     |                |
| direction   | char(4)          | NO   |     |                     |                |
+-------------+------------------+------+-----+---------------------+----------------+
15 rows in set (0.00 sec)

# opensipsctl start
INFO: Starting OpenSIPS :
ERROR: PID file /var/run/opensips/opensips.pid does not exist -- OpenSIPS start failed

Degug:
/local/sbin/opensips[2061]: ERROR:siptrace:mod_init: failed to get an id for "sip" tracing!
/sbin/opensips[2061]: ERROR:core:init_mod: failed to initialize module siptrace
/sbin/opensips[2061]: ERROR:core:main: error while initializing modules
/sbin/opensips[2061]: <a class="moz-txt-link-freetext" href="INFO:core:cleanup">INFO:core:cleanup</a>: cleanup
/local/sbin/opensips[2061]: NOTICE:core:main: Exiting....

Regards,
Victor Bogatyryev


</font></pre>
      <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>