[OpenSIPS-Devel] [OpenSIPS/opensips] 76ba3b: [siptrace] all types of tracing are done using sip...

Bogdan Andrei IANCU bogdan at opensips.org
Tue Feb 2 15:47:00 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 76ba3b5a123776fc09ff82692e5d77ea4a2e40a9
      https://github.com/OpenSIPS/opensips/commit/76ba3b5a123776fc09ff82692e5d77ea4a2e40a9
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2016-02-02 (Tue, 02 Feb 2016)

  Changed paths:
    M db/schema/sip_trace.xml
    M modules/siptrace/README
    M modules/siptrace/doc/siptrace_admin.xml
    M modules/siptrace/siptrace.c
    A modules/siptrace/siptrace.h
    M scripts/db_berkeley/opensips/sip_trace
    M scripts/db_berkeley/opensips/version
    M scripts/dbtext/opensips/sip_trace
    M scripts/dbtext/opensips/version
    M scripts/mysql/siptrace-create.sql
    M scripts/oracle/siptrace-create.sql
    M scripts/pi_http/pi_framework.xml
    M scripts/pi_http/siptrace-mod
    M scripts/pi_http/siptrace-table
    M scripts/postgres/siptrace-create.sql
    M scripts/sqlite/siptrace-create.sql

  Log Message:
  -----------
  [siptrace] all types of tracing are done using sip_trace function

* added trace_id parameter with which one is able to define
database urls and trace uris (HEP and SIP); the trace id is given
as an argument to sip_trace() function;
* multiple trace_id s can be defined under the same name which
will alow users to do multiple types of tracing using only one
function call;
* sip_trace() now accepts flags to specify what to trace: message,
transaction or dialog; in stateless mode only message trace does
a valid type of trace;
* traced_user_avp now is as an argument to sip_trace() function;
it's name now changed to trace_attrs and also the column in the
database and table version were modified;setting it won't duplicate
entries in the database; it will do only one insert setting the
trace_attrs column accordingly;
* most of the parameters in the modparam section(db_url, table,
duplicate_uri, duplicate_with_hep) are now part of a trace_id
called 'default'; removed the old ones completely; all that remains
now is the trace_on parameter which can be set/unset with mi
(read the docs for more info), trace_local_ip and trace id;
* the module can catch internally generated stateless replies using
the sl module;
* if transaction module not loaded but transaction mode selected
for sip_trace() function, the module will work in transaction
aware mode, meaning that will catch incoming and outgoing
requests and also will catch internally generated replies using
the sl module;


  Commit: 8e10339eafefdf6c54f886b3f8f1f2a56476ad58
      https://github.com/OpenSIPS/opensips/commit/8e10339eafefdf6c54f886b3f8f1f2a56476ad58
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2016-02-02 (Tue, 02 Feb 2016)

  Changed paths:
    M db/schema/sip_trace.xml
    M modules/siptrace/README
    M modules/siptrace/doc/siptrace_admin.xml
    M modules/siptrace/siptrace.c
    A modules/siptrace/siptrace.h
    M scripts/db_berkeley/opensips/sip_trace
    M scripts/db_berkeley/opensips/version
    M scripts/dbtext/opensips/sip_trace
    M scripts/dbtext/opensips/version
    M scripts/mysql/siptrace-create.sql
    M scripts/oracle/siptrace-create.sql
    M scripts/pi_http/pi_framework.xml
    M scripts/pi_http/siptrace-mod
    M scripts/pi_http/siptrace-table
    M scripts/postgres/siptrace-create.sql
    M scripts/sqlite/siptrace-create.sql

  Log Message:
  -----------
  Merge pull request #752 from ionutrazvanionita/siptrace

[siptrace] all types of tracing are done using sip_trace function


Compare: https://github.com/OpenSIPS/opensips/compare/031304af8be6...8e10339eafef


More information about the Devel mailing list