[OpenSIPS-Devel] [OpenSIPS/opensips] 0430b9: Added SQLite module to debian packaging

Razvan Crainea razvan at opensips.org
Wed Nov 22 05:15:15 EST 2017


  Branch: refs/heads/coverity_scan
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0430b939b193a3a305bd9c57b3bed6772c7ee350
      https://github.com/OpenSIPS/opensips/commit/0430b939b193a3a305bd9c57b3bed6772c7ee350
  Author: Jon Leren Schøpzinsky <jos at teleguys.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M packaging/debian/common/control
    M packaging/debian/common/rules

  Log Message:
  -----------
  Added SQLite module to debian packaging


  Commit: a0c976b65c629dfe4b0679882c8d314378acb331
      https://github.com/OpenSIPS/opensips/commit/a0c976b65c629dfe4b0679882c8d314378acb331
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tls_mgm/tls_conn.h

  Log Message:
  -----------
  [tls_mgm] fix uninit variable usage


  Commit: 393dd278711e29264019ae6f42ba51d471e169c2
      https://github.com/OpenSIPS/opensips/commit/393dd278711e29264019ae6f42ba51d471e169c2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix bogus return check

Fixes Coverity CID 167552


  Commit: 3e759f3606e90dddf63b8388acd42eaade8b00ef
      https://github.com/OpenSIPS/opensips/commit/3e759f3606e90dddf63b8388acd42eaade8b00ef
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M etc/opensips.cfg
    M menuconfig/configs/opensips_loadbalancer.m4
    M menuconfig/configs/opensips_residential.m4
    M menuconfig/configs/opensips_trunking.m4

  Log Message:
  -----------
  Fix new sequential routing in script.

Add missing "exit" after consuming the hop-by-hop ACKs.


  Commit: a92320b95fde277ac7fcffbe6f58380525534256
      https://github.com/OpenSIPS/opensips/commit/a92320b95fde277ac7fcffbe6f58380525534256
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tm/async.c

  Log Message:
  -----------
  tm: Assume ASYNC_DONE also when forcibly resuming async operations

Fixes #1074


  Commit: e7415a7edf5dafcfd80c4c992084fdb41350ed29
      https://github.com/OpenSIPS/opensips/commit/e7415a7edf5dafcfd80c4c992084fdb41350ed29
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tm/async.h

  Log Message:
  -----------
  tm: Document async_resume_f behavior


  Commit: 876b10ecb08c99dfc950c7082ee751cf7926e85b
      https://github.com/OpenSIPS/opensips/commit/876b10ecb08c99dfc950c7082ee751cf7926e85b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M async.h
    M modules/rest_client/rest_methods.c
    M modules/tm/async.h

  Log Message:
  -----------
  Improve various async function comments


  Commit: 9c18408dedff3aac40c74875ab3f2a1b96e16436
      https://github.com/OpenSIPS/opensips/commit/9c18408dedff3aac40c74875ab3f2a1b96e16436
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/fraud_detection/fraud_detection.c
    M modules/fraud_detection/frd_stats.h
    M ut.h

  Log Message:
  -----------
  fraud_detection: Fix sequential_calls stat

Fixes #888


  Commit: a485de0cbb2487723d6f0765a4f048fb66a9091f
      https://github.com/OpenSIPS/opensips/commit/a485de0cbb2487723d6f0765a4f048fb66a9091f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M async.c

  Log Message:
  -----------
  Extend 8ea908 fix to the async support via core.

Assume ASYNC_DONE also when forcibly resuming async operations


  Commit: 493bbec038d3056d57475e4bfed3e615b86f6f0e
      https://github.com/OpenSIPS/opensips/commit/493bbec038d3056d57475e4bfed3e615b86f6f0e
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M db/db_ut.c

  Log Message:
  -----------
  [db datetime parsing] parse only date if date-time format parsing fails


  Commit: 5d4462e06d0ca77adc396d71facc6846def5a9be
      https://github.com/OpenSIPS/opensips/commit/5d4462e06d0ca77adc396d71facc6846def5a9be
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/rabbitmq/rmq_servers.c

  Log Message:
  -----------
  rabbitmq: more verbose error reporting


  Commit: 794479f95d939279b63808ffff5f77f56214e233
      https://github.com/OpenSIPS/opensips/commit/794479f95d939279b63808ffff5f77f56214e233
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rabbitmq/rmq_servers.c

  Log Message:
  -----------
  rabbitmq: prevent crash if vhost not specified


  Commit: ea9337d98d5fb5d205ed442e85d3278e2fa639e4
      https://github.com/OpenSIPS/opensips/commit/ea9337d98d5fb5d205ed442e85d3278e2fa639e4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/rtpproxy_admin.xml
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: add default_set mod param

This allows you to specify a default set to be used when not explicitly
specifying it in the rtpproxy_*() functions, or in the socket
definition.

References #1105


  Commit: f611d26ac81a60c8b682cadfbd4d50a99e1d214a
      https://github.com/OpenSIPS/opensips/commit/f611d26ac81a60c8b682cadfbd4d50a99e1d214a
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/nat_traversal/nat_traversal.c

  Log Message:
  -----------
  Added support for RFC6598 private address range


  Commit: f629281f7fc11ad3a2be2c20e08b32fb759b3897
      https://github.com/OpenSIPS/opensips/commit/f629281f7fc11ad3a2be2c20e08b32fb759b3897
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_hep/proto_hep.c

  Log Message:
  -----------
  [proto_hep] use homer5 format by default


  Commit: fa86e98425f3e804598633254b238c8ab57d890d
      https://github.com/OpenSIPS/opensips/commit/fa86e98425f3e804598633254b238c8ab57d890d
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M xlog.c

  Log Message:
  -----------
  [xlog] fix add xlog level as event key


  Commit: 77939bd623970ec172a8dd111dcbc8d0c7412267
      https://github.com/OpenSIPS/opensips/commit/77939bd623970ec172a8dd111dcbc8d0c7412267
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_hep/hep.c
    M modules/proto_hep/hep.h
    M modules/proto_hep/hep_cb.c
    M modules/proto_hep/hep_cb.h
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  [sipcapture] fix homer6 incompatibilities for report_capture and sip_capture

* export homer version via proto_hep to sipcapture
* fix report_capture columns depending on version
* use extra_correlation chunk for sip_capture if homer6 used


  Commit: 650c14afc0fe7746a03211abfbcc6eec1f79c1e2
      https://github.com/OpenSIPS/opensips/commit/650c14afc0fe7746a03211abfbcc6eec1f79c1e2
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  [siptrace] fix extra corelation key name from trans to net


  Commit: 6472b6005217ac5ce1370dc9999a66ca3afde90b
      https://github.com/OpenSIPS/opensips/commit/6472b6005217ac5ce1370dc9999a66ca3afde90b
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_hep/hep.c
    M trace_api.h

  Log Message:
  -----------
  [proto_hep]set different addresses if none specified for source and destination


  Commit: 5ac269b97b5d2354f130f7b2bad6fe003a51a835
      https://github.com/OpenSIPS/opensips/commit/5ac269b97b5d2354f130f7b2bad6fe003a51a835
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_hep/hep.c

  Log Message:
  -----------
  [proto_hep] fix transport identfier from trans to net


  Commit: d5d517544720f32fbf5fda2c3e3e21e9088d3720
      https://github.com/OpenSIPS/opensips/commit/d5d517544720f32fbf5fda2c3e3e21e9088d3720
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_hep/README
    M modules/proto_hep/doc/proto_hep_admin.xml
    M modules/sipcapture/README
    M modules/sipcapture/doc/sipcapture_admin.xml

  Log Message:
  -----------
  Document homer5_on from proto_hep influence on report_capture function


  Commit: 0bf83ad3f26788c4aa866704d3b83a30880989cf
      https://github.com/OpenSIPS/opensips/commit/0bf83ad3f26788c4aa866704d3b83a30880989cf
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    A modules/sipcapture/sql/report5capture.sql
    A modules/sipcapture/sql/report6capture.sql
    R modules/sipcapture/sql/rtcpcapture.sql

  Log Message:
  -----------
  [sipcapture] report capture table samples for HOMER5 and HOMER6


  Commit: c538a073faac06c42bdcca1589f4701e7f7d0b02
      https://github.com/OpenSIPS/opensips/commit/c538a073faac06c42bdcca1589f4701e7f7d0b02
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cgrates/cgrates_acc.c

  Log Message:
  -----------
  cgrates: add mandatory Destination for CDRs


  Commit: c108fa1008aebc584809c2c880b6eb408e474880
      https://github.com/OpenSIPS/opensips/commit/c108fa1008aebc584809c2c880b6eb408e474880
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cgrates/cgrates_common.c

  Log Message:
  -----------
  cgrates: increase debugging in case of error


  Commit: aca092e78ac6cd330cce67cca48281a37f231640
      https://github.com/OpenSIPS/opensips/commit/aca092e78ac6cd330cce67cca48281a37f231640
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cgrates/cgrates_common.c

  Log Message:
  -----------
  cgrates: check for both result and error on replies


  Commit: 44cd0180727b2bfbc86250269903050471db9f2f
      https://github.com/OpenSIPS/opensips/commit/44cd0180727b2bfbc86250269903050471db9f2f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cgrates/README
    M modules/cgrates/cgrates_auth.c
    M modules/cgrates/doc/cgrates_admin.xml

  Log Message:
  -----------
  cgrates: rename MaxUsage to GetMaxUsage function


  Commit: b4da6cc427b7a4b542eb4c58032d2b1fefc98c94
      https://github.com/OpenSIPS/opensips/commit/b4da6cc427b7a4b542eb4c58032d2b1fefc98c94
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  [usrloc] fix contact removal in DB_ONLY mode


  Commit: c812f686296c9caf2f95c51147b9eed958998e9f
      https://github.com/OpenSIPS/opensips/commit/c812f686296c9caf2f95c51147b9eed958998e9f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cgrates/cgrates_acc.c

  Log Message:
  -----------
  cgrates: suppress SESSION_NOT_FOUND error on TerminateSession

this might happen all the time when using postpaid billing


  Commit: fc7cf65305cda32008f8cc5b007d7195ff9e0981
      https://github.com/OpenSIPS/opensips/commit/fc7cf65305cda32008f8cc5b007d7195ff9e0981
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  [usrloc] remove unnecessary condition; minor naming fixes


  Commit: aec79511e90e7daf785807e0ecd732be3ef85819
      https://github.com/OpenSIPS/opensips/commit/aec79511e90e7daf785807e0ecd732be3ef85819
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cgrates/README
    M modules/cgrates/doc/cgrates_admin.xml

  Log Message:
  -----------
  cgrates: fix readme cgrate(s) typo


  Commit: 25efa3dab86e5e915ba29b7d023ca09e3b24560c
      https://github.com/OpenSIPS/opensips/commit/25efa3dab86e5e915ba29b7d023ca09e3b24560c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M forward.h

  Log Message:
  -----------
  net: print destination when msg_send() fails


  Commit: 26d8b9cbb4d69be8a23407d0af30ba15411ea7b3
      https://github.com/OpenSIPS/opensips/commit/26d8b9cbb4d69be8a23407d0af30ba15411ea7b3
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M db/schema/tls_mgm.xml
    M modules/tls_mgm/tls_config.c
    M modules/tls_mgm/tls_config.h
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_params.c
    M modules/tls_mgm/tls_params.h
    M scripts/db_berkeley/opensips/tls_mgm
    M scripts/dbtext/opensips/tls_mgm
    M scripts/mysql/tls_mgm-create.sql
    M scripts/oracle/tls_mgm-create.sql
    M scripts/postgres/tls_mgm-create.sql
    M scripts/sqlite/tls_mgm-create.sql

  Log Message:
  -----------
  tls_mgm: properly get the domain name and address from the corresponing DB columns

Previously, the value of the domain column was only an id and the actual domain name
was taken from the address column when it's value was not in the "ip:port" format.
This was somewhat misleading and consequently the domain column now expects the
domain name, and the address column an ip address and port.
Also drop the not null constraint from the domain and address DB columns, as server
domains only need and address and client domains can be either socket or name based.


  Commit: a60274bea82afbe691b121294783fad44cfa6745
      https://github.com/OpenSIPS/opensips/commit/a60274bea82afbe691b121294783fad44cfa6745
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_domain.h
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_params.c

  Log Message:
  -----------
  tls_mgm: allow defining TLS domains both from DB and script


  Commit: 1395cb623f600c3097d6d476ef17d312bb5bc322
      https://github.com/OpenSIPS/opensips/commit/1395cb623f600c3097d6d476ef17d312bb5bc322
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_domain.h
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_params.c
    M modules/tls_mgm/tls_params.h

  Log Message:
  -----------
  tls_mgm: allow defining default TLS domains in DB


  Commit: cf73d4393792791a118a68b2c622841616ac16d8
      https://github.com/OpenSIPS/opensips/commit/cf73d4393792791a118a68b2c622841616ac16d8
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M db/schema/tls_mgm.xml
    M modules/db_mysql/db_mysql.c
    M modules/tls_mgm/api.h
    M modules/tls_mgm/tls_config_helper.h
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_domain.h
    M modules/tls_mgm/tls_helper.h
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_params.c
    M modules/tls_mgm/tls_params.h
    M scripts/db_berkeley/opensips/tls_mgm
    M scripts/db_berkeley/opensips/version
    M scripts/dbtext/opensips/tls_mgm
    M scripts/dbtext/opensips/version
    M scripts/mysql/tls_mgm-create.sql
    M scripts/oracle/tls_mgm-create.sql
    M scripts/postgres/tls_mgm-create.sql
    M scripts/sqlite/tls_mgm-create.sql

  Log Message:
  -----------
  tls_mgm: use the domain name as an unique identifier for a TLS domain specificiation (both from DB and script)

The 'domain' DB column is now mandatory and represents the domain name and identifier.
When defining a domain through the script parameters 'server_domain' or 'client_domain'
the syntax is now 'domain_name=IP:port' with the address part optional for client domains.
Also, improve loading of default domains from DB and fix some issues: overriding script
domains with DB domains at startup, crash when defining clients domains without address.


  Commit: 4a7ca87c42c8e558315cb7f64b3073021eb59dd6
      https://github.com/OpenSIPS/opensips/commit/4a7ca87c42c8e558315cb7f64b3073021eb59dd6
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/tls_mgm.xml
    M modules/tls_mgm/doc/tls_mgm_admin.xml

  Log Message:
  -----------
  tls_mgm: update docs


  Commit: baa7c10fc03493599ddd16155065247314e058c2
      https://github.com/OpenSIPS/opensips/commit/baa7c10fc03493599ddd16155065247314e058c2
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M db/schema/tls_mgm.xml
    M modules/tls_mgm/tls_mgm.c
    M scripts/db_berkeley/opensips/version
    M scripts/dbtext/opensips/version
    M scripts/mysql/tls_mgm-create.sql
    M scripts/oracle/tls_mgm-create.sql
    M scripts/postgres/tls_mgm-create.sql
    M scripts/sqlite/tls_mgm-create.sql

  Log Message:
  -----------
  tls_mgm: revert table version increase


  Commit: 57b7b4156917b187a75f1a6d5a9408f919ab3112
      https://github.com/OpenSIPS/opensips/commit/57b7b4156917b187a75f1a6d5a9408f919ab3112
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_ws/proto_ws.c
    M modules/proto_wss/proto_wss.c
    M net/proto_tcp/tcp_common.h

  Log Message:
  -----------
  fix transport hep identifier from net to trans


  Commit: 492544d2d3958b23bb7c00296d6893bcb4022dd3
      https://github.com/OpenSIPS/opensips/commit/492544d2d3958b23bb7c00296d6893bcb4022dd3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/presence/presence.c

  Log Message:
  -----------
  presence: remove useless NOTICE at the beginning of child init


  Commit: 3e708b58a4396a17768c3233b7c4b365e1c93d86
      https://github.com/OpenSIPS/opensips/commit/3e708b58a4396a17768c3233b7c4b365e1c93d86
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/acc.c

  Log Message:
  -----------
  acc: fix uninitialized variable


  Commit: 9ad579840b96a2cbd7bb2a21ef7f910ac948d70c
      https://github.com/OpenSIPS/opensips/commit/9ad579840b96a2cbd7bb2a21ef7f910ac948d70c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/lookup.c
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix insertion issues in mirror mode

Reported by @volga629
Fixes #1094


  Commit: b610a2ac4d499bc9ac7e9b33f98f0616900a03a7
      https://github.com/OpenSIPS/opensips/commit/b610a2ac4d499bc9ac7e9b33f98f0616900a03a7
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_hep/proto_hep.c

  Log Message:
  -----------
  [proto_hep] fix handling tcp requests coming in multiple chunks

	This commit fixes 2 bugs:
	1) fixes not reading second part of a single TCP request
because of bad parsed pointer update;
	2) fixes major bug that was causing packets to be processed
infinite times by hep callback when one message + some part of a
second message came in a chunk and in the second chunk it was the
second part of the second message; the tcp request structure was
not updated(complete was not set to 0 after first message was
processed) causing the second message to be processed an infinte amount
of times into the database;


  Commit: 2e53fd524ece0c658e5ba27d29c0b9f826288a93
      https://github.com/OpenSIPS/opensips/commit/2e53fd524ece0c658e5ba27d29c0b9f826288a93
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tm/async.c

  Log Message:
  -----------
  tm: fix uninitialized variable to make travis happy


  Commit: 5c79e1580893da30b1ea189e6da61f4d1f5baf10
      https://github.com/OpenSIPS/opensips/commit/5c79e1580893da30b1ea189e6da61f4d1f5baf10
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/aaa_radius/Makefile

  Log Message:
  -----------
  [aaa_radius] fix Makefile if pkg-config doesn't find the lib


  Commit: f7e8cb01d1f3400c2bbd5eec6a8593808c4f52f9
      https://github.com/OpenSIPS/opensips/commit/f7e8cb01d1f3400c2bbd5eec6a8593808c4f52f9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M scripts/opensipsctl.pgsql

  Log Message:
  -----------
  Proper fix for PostgreSQL login

Submitted by @volga629


  Commit: 1c8d9c448c90bd0ca90a1ca2664ec4712c3d4abd
      https://github.com/OpenSIPS/opensips/commit/1c8d9c448c90bd0ca90a1ca2664ec4712c3d4abd
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/tls_mgm_admin.xml

  Log Message:
  -----------
  tls_mgm: some doc fixes and improvements

* fix client domain AVP usage example
* document default TLS settings for any domain when not set
* fix some default values for module parameters


  Commit: bfd8d7702e8a798db4d6de6ef37b3b432b8484bc
      https://github.com/OpenSIPS/opensips/commit/bfd8d7702e8a798db4d6de6ef37b3b432b8484bc
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M db/schema/tls_mgm.xml
    M scripts/db_berkeley/opensips/tls_mgm
    M scripts/mysql/tls_mgm-create.sql
    M scripts/oracle/tls_mgm-create.sql
    M scripts/postgres/tls_mgm-create.sql
    M scripts/sqlite/tls_mgm-create.sql

  Log Message:
  -----------
  tls_mgm: db_schema: same default values for verify_cert and require_cert when taken from DB as from script


  Commit: ef71fae7cf429827c7a0b66e50ec8a661abe8160
      https://github.com/OpenSIPS/opensips/commit/ef71fae7cf429827c7a0b66e50ec8a661abe8160
  Author: Ovidiu Sas <osas at voipembedded.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    A lib/sliblist.c
    A lib/sliblist.h
    R sliblist.c
    R sliblist.h

  Log Message:
  -----------
  lib: move sliblist from core to lib


  Commit: 8276ac02774e2952f463f2c60c549debc8938c35
      https://github.com/OpenSIPS/opensips/commit/8276ac02774e2952f463f2c60c549debc8938c35
  Author: Ovidiu Sas <osas at voipembedded.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/httpd/httpd_proc.c
    M modules/uac_registrant/reg_records.h

  Log Message:
  -----------
  sliblist: complete file relocation from core to lib


  Commit: 7c771461d4ea99ca51cacaf8b049640201068b98
      https://github.com/OpenSIPS/opensips/commit/7c771461d4ea99ca51cacaf8b049640201068b98
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: fix uninitialized variable


  Commit: f70bf9160fbf932db3f0b631671cea70589fc777
      https://github.com/OpenSIPS/opensips/commit/f70bf9160fbf932db3f0b631671cea70589fc777
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/usrloc/udomain.c

  Log Message:
  -----------
  usrloc: fix event trigger when no socket is used

Without this fix, opensips crashes when trying to add a contact from MI
or when loading a user from DB without a socket or with an unknown
socket.

Reported by Cindy Leung on mailing list


  Commit: 68cd8b7d31b3f10fc9ece4a1761db2aa4e307223
      https://github.com/OpenSIPS/opensips/commit/68cd8b7d31b3f10fc9ece4a1761db2aa4e307223
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/nathelper/README
    M modules/nathelper/doc/nathelper_admin.xml

  Log Message:
  -----------
  Fix doc formating and improve some description


  Commit: 06abcf7e3dfaa873148d2a74cad7f7d7fc0db733
      https://github.com/OpenSIPS/opensips/commit/06abcf7e3dfaa873148d2a74cad7f7d7fc0db733
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/nat_traversal/nat_traversal.c

  Log Message:
  -----------
  fix $source_uri pvar when using IPv6

This fix encloses the IPv6 address in square brackets in the resulted
URI

Reported by Ankur Gupta on mailing list


  Commit: b5b5f541475345cd242e636a28b425d2048049f1
      https://github.com/OpenSIPS/opensips/commit/b5b5f541475345cd242e636a28b425d2048049f1
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/acc_extra.c

  Log Message:
  -----------
  [acc] allow multiple rows extra/leg fields definition


  Commit: d8e80cbe47b66bb9fd35e265b14d9a8b6f1bf6af
      https://github.com/OpenSIPS/opensips/commit/d8e80cbe47b66bb9fd35e265b14d9a8b6f1bf6af
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/dialog/dlg_profile.c

  Log Message:
  -----------
  dialog: Fix possible crash in "profile_get_values" MI command


  Commit: 5cbd60b604cb55016153eb5debeb3e1cf5f3f3ec
      https://github.com/OpenSIPS/opensips/commit/5cbd60b604cb55016153eb5debeb3e1cf5f3f3ec
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: Fix possible crash when disabling "accept_replicated_profiles"

Avoid processing received replicated profiles when "accept_replicated_profiles"
is disabled. In this case, the profile handling code will be optimized and will
break if attempting to run replicated profiles through it.


  Commit: cd6d0031ae45ee53b7fa40bfca7fbb6fede61fed
      https://github.com/OpenSIPS/opensips/commit/cd6d0031ae45ee53b7fa40bfca7fbb6fede61fed
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M resolve.h

  Log Message:
  -----------
  str2ip(): Do not reject IPs with leading '0' byte

This is useful in some code areas (e.g. allowing 0.0.0.0/0 "catch-all"
networks in the permissions module)


  Commit: c2f8c02cfc3ebf35601d5d0d287a85b665e4f49d
      https://github.com/OpenSIPS/opensips/commit/c2f8c02cfc3ebf35601d5d0d287a85b665e4f49d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rtpengine/README
    M modules/rtpengine/doc/rtpengine_admin.xml
    M modules/rtpengine/rtpengine.c
    A modules/rtpengine/rtpengine.c.orig

  Log Message:
  -----------
  rtpengine: add in-iface and out-iface params

These new params can be used to specify rtpengine interface in bridge
mode


  Commit: 3b727c5b3cb1c6482af07035ea09589f610ab5ac
      https://github.com/OpenSIPS/opensips/commit/3b727c5b3cb1c6482af07035ea09589f610ab5ac
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    R modules/rtpengine/rtpengine.c.orig

  Log Message:
  -----------
  rtpengine: remove .orig file


  Commit: 9cd5c47e021f1a3f023f2c39463d430647218629
      https://github.com/OpenSIPS/opensips/commit/9cd5c47e021f1a3f023f2c39463d430647218629
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M mem/shm_mem.h

  Log Message:
  -----------
  mem: allow custom alocators to specify file


  Commit: f2b472e0e7a5375035832276ac907023631bfc4f
      https://github.com/OpenSIPS/opensips/commit/f2b472e0e7a5375035832276ac907023631bfc4f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tls_mgm/tls.h

  Log Message:
  -----------
  tls_mgm: use os_free with line and file indication


  Commit: b2436077971775105cec7e8218aac72084935e7d
      https://github.com/OpenSIPS/opensips/commit/b2436077971775105cec7e8218aac72084935e7d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: add version and adapt to newer 1.1.0 interface


  Commit: 762a1a9952c8e135308112beb5d22e7ae9c092a4
      https://github.com/OpenSIPS/opensips/commit/762a1a9952c8e135308112beb5d22e7ae9c092a4
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/acc_mod.c

  Log Message:
  -----------
  [acc] don't start if extra values defined but no aaa/db url defined


  Commit: 421631da5ae73331d1d084ba6fac58b88940ac1b
      https://github.com/OpenSIPS/opensips/commit/421631da5ae73331d1d084ba6fac58b88940ac1b
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/acc_extra.c

  Log Message:
  -----------
  [acc] null terminate leg/extra values when storing them

* problems appeared when the name of the AVP was given to radius
backend which expected null terminated strings


  Commit: 40e21d5048be7ede83b1aa72e726e3917e23c9f3
      https://github.com/OpenSIPS/opensips/commit/40e21d5048be7ede83b1aa72e726e3917e23c9f3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cgrates/cgrates_common.c

  Log Message:
  -----------
  cgrates: fix error detection for different libjson version

This is a rework on interpreting the error reports in the cgrates
replies.

Reported by DigiDaz
Fixes #1122


  Commit: b8f2cac959f708ca3b46efda1114049510589502
      https://github.com/OpenSIPS/opensips/commit/b8f2cac959f708ca3b46efda1114049510589502
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  Fix free space calculation.

Improper computing of the available buffer space lead to false errors in writing down the dialog HASH and ID (only when using the D flag - dialog ID in contact username)

(cherry picked from commit 43764b66adec9b6c4468c368fb584a7637b4bbf9)


  Commit: 9a6a4d79e50a097bfb4e0ec85e7fe74001529c9a
      https://github.com/OpenSIPS/opensips/commit/9a6a4d79e50a097bfb4e0ec85e7fe74001529c9a
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/acc_vars.c

  Log Message:
  -----------
  [acc extra] fix overwriting right-operand value when setting acc extra/leg


  Commit: 1f32e17c35796496c0d07dac70d14250c3c1e805
      https://github.com/OpenSIPS/opensips/commit/1f32e17c35796496c0d07dac70d14250c3c1e805
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/acc.c

  Log Message:
  -----------
  [acc] fix adding extra when doing CDRs


  Commit: 40c9f2abbefb60fdec6a7e683d904b229e3ca53a
      https://github.com/OpenSIPS/opensips/commit/40c9f2abbefb60fdec6a7e683d904b229e3ca53a
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/acc.c

  Log Message:
  -----------
  [acc extra] fix leg index when doing CDRs


  Commit: 984ef2bfeffff43c7d25471ce460c249622d52a3
      https://github.com/OpenSIPS/opensips/commit/984ef2bfeffff43c7d25471ce460c249622d52a3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rtpproxy/timeout_process.c

  Log Message:
  -----------
  rtpproxy: allow multiple servers on same machine

Before this fix, rtpproxy was accepting a single connection from a
specific IP. This prevented multiple rtpproxy servers on the same
machine (or behind the same NAT) to send timeout notifications
simultaneously.
Using this fix each rtpproxy provisioned can have on connection to
opensips.
This commit also adds some extra debugging.

Reported and debugged by Flavio Goncalves.
Fix #865


  Commit: f7fdc352f398f705a2b0ad7a27a33106fd274d38
      https://github.com/OpenSIPS/opensips/commit/f7fdc352f398f705a2b0ad7a27a33106fd274d38
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/dialog/README
    M modules/dialog/doc/dialog_admin.xml

  Log Message:
  -----------
  dialog: update documentation for triggered event

Updated documentation for the event triggered when the state is changed


  Commit: 7db1af53721ab1576ed5859de8cb4d7e52d2ad04
      https://github.com/OpenSIPS/opensips/commit/7db1af53721ab1576ed5859de8cb4d7e52d2ad04
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_hep/hep.c

  Log Message:
  -----------
  Make free_hep_message() safe to partially allocated HEP messages.

(cherry picked from commit 8e8988183ba0af301087a44296d99f4b5658af4d)


  Commit: 74d63bef0ead4992575956c53a3ef88ac965ee09
      https://github.com/OpenSIPS/opensips/commit/74d63bef0ead4992575956c53a3ef88ac965ee09
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_hep/hep.c

  Log Message:
  -----------
  Proper OOM handling and reporting in add_hep_payload()

(cherry picked from commit 83c286573e5355688e7a77bf1c7061f1162512bb)


  Commit: 1ecd5d85019fd070ffc075bec6127ef016d19c8c
      https://github.com/OpenSIPS/opensips/commit/1ecd5d85019fd070ffc075bec6127ef016d19c8c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  Proper free of HEP message if building fails

(cherry picked from commit 84c33d1842a0ba3e14453120fe2151b3e22a4603)


  Commit: f2fafd2cb0c68231693360593ca1d6dad71cf8b8
      https://github.com/OpenSIPS/opensips/commit/f2fafd2cb0c68231693360593ca1d6dad71cf8b8
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M net/trans_trace.c

  Log Message:
  -----------
  Free the HEP message in case of send failure too

(cherry picked from commit 9bba5954cb86bc56f81887087f0dc4ff20923e74)


  Commit: ca5cb01b6868b38cfe57d307b1f0a4dd423d5625
      https://github.com/OpenSIPS/opensips/commit/ca5cb01b6868b38cfe57d307b1f0a4dd423d5625
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_tls/proto_tls.c
    M modules/proto_ws/proto_ws.c
    M modules/proto_wss/proto_wss.c

  Log Message:
  -----------
  Better reset the freed pointers.

(cherry picked from commit 2b93469b135a5033e2d2eab5e58a00eafd3ce59e)


  Commit: dcf26a6dc701b17f8ffd2a3b8bcc916c7916a8ad
      https://github.com/OpenSIPS/opensips/commit/dcf26a6dc701b17f8ffd2a3b8bcc916c7916a8ad
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  Proper HEP free upon failures in sip_context_trace_impl()

(cherry picked from commit 1fea1d71f90df306b60932ce5a2454f6e33644d9)


  Commit: 3ed7523ec210ff9eac61d04b190298148c418fdf
      https://github.com/OpenSIPS/opensips/commit/3ed7523ec210ff9eac61d04b190298148c418fdf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M mi/mi_trace.c

  Log Message:
  -----------
  Proper HEP free upon failures

(cherry picked from commit eb0e47129c5e09615090cc9a41230904390c2919)


  Commit: cb5bca4ed64f3baacc757955ad8a96ac130ad8e8
      https://github.com/OpenSIPS/opensips/commit/cb5bca4ed64f3baacc757955ad8a96ac130ad8e8
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_hep/hep.c

  Log Message:
  -----------
  Fix memory leak for HEPv12.

Do not add formated payload or extra correlation IDs in HEP version 1 or 2 packets as they are not used and it generate a mem leak.


  Commit: b1876fd7335e97a9065880862fa5afb615390533
      https://github.com/OpenSIPS/opensips/commit/b1876fd7335e97a9065880862fa5afb615390533
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/sql_cacher_admin.xml

  Log Message:
  -----------
  Fixed examples in docs


  Commit: 9074b18980ad764e8297a5f706c17d8ff3c2a8d4
      https://github.com/OpenSIPS/opensips/commit/9074b18980ad764e8297a5f706c17d8ff3c2a8d4
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M cachedb/example/example_cachedb.c
    M main.c
    M modules/aaa_radius/aaa_radius.c
    M modules/acc/acc_mod.c
    M modules/alias_db/alias_db.c
    M modules/auth/auth_mod.c
    M modules/auth_aaa/authaaa_mod.c
    M modules/auth_db/authdb_mod.c
    M modules/avpops/avpops.c
    M modules/b2b_entities/b2b_entities.c
    M modules/b2b_logic/b2b_logic.c
    M modules/b2b_sca/b2b_sca.c
    M modules/benchmark/benchmark.c
    M modules/cachedb_cassandra/cachedb_cassandra.c
    M modules/cachedb_couchbase/cachedb_couchbase.c
    M modules/cachedb_local/cachedb_local.c
    M modules/cachedb_memcached/cachedb_memcached.c
    M modules/cachedb_mongodb/cachedb_mongodb.c
    M modules/cachedb_redis/cachedb_redis.c
    M modules/cachedb_sql/cachedb_sql.c
    M modules/call_center/call_center.c
    M modules/call_control/call_control.c
    M modules/carrierroute/carrierroute.c
    M modules/cfgutils/cfgutils.c
    M modules/cgrates/cgrates.c
    M modules/clusterer/clusterer_mod.c
    M modules/compression/compression.c
    M modules/cpl_c/cpl.c
    M modules/db_berkeley/db_berkeley.c
    M modules/db_cachedb/db_cachedb.c
    M modules/db_flatstore/flatstore_mod.c
    M modules/db_http/db_http.c
    M modules/db_mysql/db_mysql.c
    M modules/db_oracle/db_oracle.c
    M modules/db_perlvdb/perlvdb.c
    M modules/db_postgres/db_postgres.c
    M modules/db_sqlite/db_sqlite.c
    M modules/db_text/dbtext.c
    M modules/db_unixodbc/db_unixodbc.c
    M modules/db_virtual/db_virtual.c
    M modules/dialog/dialog.c
    M modules/dialplan/dialplan.c
    M modules/dispatcher/dispatcher.c
    M modules/diversion/diversion.c
    M modules/dns_cache/dns_cache.c
    M modules/domain/domain_mod.c
    M modules/domainpolicy/domainpolicy_mod.c
    M modules/drouting/drouting.c
    M modules/emergency/emergency_methods.c
    M modules/enum/enum_mod.c
    M modules/event_datagram/event_datagram.c
    M modules/event_flatstore/event_flatstore.c
    M modules/event_rabbitmq/event_rabbitmq.c
    M modules/event_route/event_route.c
    M modules/event_routing/event_routing.c
    M modules/event_virtual/event_virtual.c
    M modules/event_xmlrpc/event_xmlrpc.c
    M modules/exec/exec_mod.c
    M modules/fraud_detection/fraud_detection.c
    M modules/freeswitch/fs_mod.c
    M modules/gflags/gflags.c
    M modules/group/group_mod.c
    M modules/h350/h350_mod.c
    M modules/httpd/httpd.c
    M modules/identity/identity.c
    M modules/imc/imc.c
    M modules/jabber/jabber.c
    M modules/json/json.c
    M modules/ldap/ldap_mod.c
    M modules/load_balancer/load_balancer.c
    M modules/lua/siplua.c
    M modules/mangler/mangler.c
    M modules/mathops/mathops.c
    M modules/maxfwd/maxfwd.c
    M modules/mediaproxy/mediaproxy.c
    M modules/mi_datagram/mi_datagram.c
    M modules/mi_fifo/mi_fifo.c
    M modules/mi_http/mi_http.c
    M modules/mi_json/mi_json.c
    M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c
    M modules/mid_registrar/mid_registrar.c
    M modules/mmgeoip/mmgeoip.c
    M modules/msilo/msilo.c
    M modules/nat_traversal/nat_traversal.c
    M modules/nathelper/nathelper.c
    M modules/options/mod_options.c
    M modules/osp/osp_mod.c
    M modules/path/path_mod.c
    M modules/peering/peering.c
    M modules/perl/perl.c
    M modules/permissions/permissions.c
    M modules/pi_http/pi_http.c
    M modules/pike/pike.c
    M modules/presence/presence.c
    M modules/presence_callinfo/presence_callinfo.c
    M modules/presence_dialoginfo/presence_dialoginfo.c
    M modules/presence_mwi/presence_mwi.c
    M modules/presence_xcapdiff/presence_xcapdiff.c
    M modules/presence_xml/presence_xml.c
    M modules/proto_bin/proto_bin.c
    M modules/proto_hep/proto_hep.c
    M modules/proto_sctp/proto_sctp.c
    M modules/proto_tls/proto_tls.c
    M modules/proto_ws/proto_ws.c
    M modules/proto_wss/proto_wss.c
    M modules/pua/pua.c
    M modules/pua_bla/pua_bla.c
    M modules/pua_dialoginfo/pua_dialoginfo.c
    M modules/pua_mi/pua_mi.c
    M modules/pua_usrloc/pua_usrloc.c
    M modules/pua_xmpp/pua_xmpp.c
    M modules/python/python_mod.c
    M modules/qos/qos.c
    M modules/rabbitmq/rabbitmq.c
    M modules/ratelimit/ratelimit.c
    M modules/regex/regex_mod.c
    M modules/registrar/reg_mod.c
    M modules/rest_client/rest_client.c
    M modules/rls/rls.c
    M modules/rr/rr_mod.c
    M modules/rtpengine/rtpengine.c
    M modules/rtpproxy/rtpproxy.c
    M modules/script_helper/script_helper.c
    M modules/seas/seas.c
    M modules/signaling/signaling.c
    M modules/sip_i/sip_i.c
    M modules/sipcapture/sipcapture.c
    M modules/sipmsgops/sipmsgops.c
    M modules/siptrace/siptrace.c
    M modules/sl/sl.c
    M modules/sms/sms.c
    M modules/sngtc/sngtc.c
    M modules/snmpstats/snmpstats.h
    M modules/speeddial/speeddial.c
    M modules/sql_cacher/sql_cacher.c
    M modules/sst/sst.c
    M modules/statistics/statistics.c
    M modules/stun/stun.c
    M modules/textops/textops.c
    M modules/tls_mgm/tls_mgm.c
    M modules/tm/tm.c
    M modules/topology_hiding/topology_hiding.c
    M modules/uac/uac.c
    M modules/uac_auth/uac_auth.c
    M modules/uac_redirect/redirect.c
    M modules/uac_registrant/registrant.c
    M modules/uri/uri_mod.c
    M modules/userblacklist/userblacklist.c
    M modules/usrloc/ul_mod.c
    M modules/xcap/xcap_mod.c
    M modules/xcap_client/xcap_client.c
    M modules/xml/xml.c
    M modules/xmpp/xmpp.c
    M net/proto_tcp/proto_tcp.c
    M net/proto_udp/proto_udp.c
    M sr_module.c
    M sr_module.h
    M transformations.c
    M transformations.h

  Log Message:
  -----------
  Allow modules to export script transformations.

This is done by including an array of transformation classes (with parsing and evaluation functions for each class) in the module exports structure.


  Commit: cea261df5a0871db4f939c0b0f74008c4b194468
      https://github.com/OpenSIPS/opensips/commit/cea261df5a0871db4f939c0b0f74008c4b194468
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/nat_traversal/nat_traversal.c

  Log Message:
  -----------
  Fix typo in nat_traversal module exports initialization: no ',' after transformations.


  Commit: 5cb043d03b50254c8499888138a3bb4df0915b2a
      https://github.com/OpenSIPS/opensips/commit/5cb043d03b50254c8499888138a3bb4df0915b2a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rabbitmq/rmq_servers.c

  Log Message:
  -----------
  rabbitmq: provide errno in case of socket error


  Commit: c54312b4d4da7bee64e4f4d03058bdb09258b573
      https://github.com/OpenSIPS/opensips/commit/c54312b4d4da7bee64e4f4d03058bdb09258b573
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  dialog: don't flush in db unnecessary flag values


  Commit: 3b6532f6749c56441d2e40149de48f80d876e67c
      https://github.com/OpenSIPS/opensips/commit/3b6532f6749c56441d2e40149de48f80d876e67c
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  Fix script transformations cleanup.


  Commit: aa318209bd416b1dfe2a15a7a94635643e928eef
      https://github.com/OpenSIPS/opensips/commit/aa318209bd416b1dfe2a15a7a94635643e928eef
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/sip_i/README
    M modules/sip_i/doc/sip_i_admin.xml
    M modules/sip_i/sip_i.c
    M modules/sip_i/sip_i.h

  Log Message:
  -----------
  sip_i: export script transformations that allow access to the parsed ISUP parameters and subfields.


  Commit: 1cbc4dc24fe09a183cc00597bcb14978082daab5
      https://github.com/OpenSIPS/opensips/commit/1cbc4dc24fe09a183cc00597bcb14978082daab5
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M script_var.c

  Log Message:
  -----------
  Fix assignment for $var when right operand is a binary buffer: duplicate entire buffer including zeros.


  Commit: 6328d0d77e484d244306639e9582ffc79c7a0475
      https://github.com/OpenSIPS/opensips/commit/6328d0d77e484d244306639e9582ffc79c7a0475
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cachedb_mongodb/Makefile

  Log Message:
  -----------
  cachedb_mongodb: Fix pkg-config errors with missing libraries


  Commit: 7c332da2a642286709d857aa31b8206ef26dbf7b
      https://github.com/OpenSIPS/opensips/commit/7c332da2a642286709d857aa31b8206ef26dbf7b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cgrates/cgrates.c
    M modules/cgrates/cgrates_common.c
    M modules/cgrates/cgrates_common.h

  Log Message:
  -----------
  cgrates: add id in request

Add an identifier for the requests done to cgrates.
Requested by cgrates/cgrates#674


  Commit: 5a60be306925d67ec395bdb7e910d3d51057f026
      https://github.com/OpenSIPS/opensips/commit/5a60be306925d67ec395bdb7e910d3d51057f026
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Remove unused module parameters


  Commit: c960bc00c3396e3372fb6e2fc8e5aaa497598e82
      https://github.com/OpenSIPS/opensips/commit/c960bc00c3396e3372fb6e2fc8e5aaa497598e82
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cachedb_mongodb/README
    M modules/cachedb_mongodb/doc/cachedb_mongodb.xml
    M modules/cachedb_mongodb/doc/cachedb_mongodb_admin.xml

  Log Message:
  -----------
  cachedb_mongodb: Update documentation


  Commit: 0ec9ec3c1a6b3825910aae9f3bc8163fc6235938
      https://github.com/OpenSIPS/opensips/commit/0ec9ec3c1a6b3825910aae9f3bc8163fc6235938
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/usrloc/ureplication.c

  Log Message:
  -----------
  Fixed mem leaks and bogus err logs during contact replication.

Reported by sekil on IRC.


  Commit: ed9b6e13b817dc33d13255181f2bca330645372b
      https://github.com/OpenSIPS/opensips/commit/ed9b6e13b817dc33d13255181f2bca330645372b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cgrates/cgrates_common.c

  Log Message:
  -----------
  cgrates: use an integer unique id rather than string


  Commit: 15f6abd506e6aab69ad84d5ec67024aafbcbb872
      https://github.com/OpenSIPS/opensips/commit/15f6abd506e6aab69ad84d5ec67024aafbcbb872
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cgrates/cgrates_common.c

  Log Message:
  -----------
  cgrates: switch id from long to int for backward compatibility


  Commit: 2dfecea8f8b28d095b2b866e0b0dc39ad18f3f0e
      https://github.com/OpenSIPS/opensips/commit/2dfecea8f8b28d095b2b866e0b0dc39ad18f3f0e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/ratelimit/README
    M modules/ratelimit/doc/ratelimit_admin.xml

  Log Message:
  -----------
  ratelimit: clarify limits scope for timer_interval

Reported by Max Mühlbronner on mailing list


  Commit: 463b61ed63ddd7b25738f3a56f51d633bb7786eb
      https://github.com/OpenSIPS/opensips/commit/463b61ed63ddd7b25738f3a56f51d633bb7786eb
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M Makefile.conf.template

  Log Message:
  -----------
  Add proper listing for XML module.

Not being listed with full description make the menuconfig to ignore it.

(cherry picked from commit 5ecf882c65b66bae762d1b436e9329f7b29864a3)


  Commit: 7811757f7aa1e84a5548f32523a029f0e748e897
      https://github.com/OpenSIPS/opensips/commit/7811757f7aa1e84a5548f32523a029f0e748e897
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M net/proto_tcp/proto_tcp.c

  Log Message:
  -----------
  Intercept ECONNRESET and  silently handle it as EOF


  Commit: bbb6f04cf174290ef27dc81a571473680d4c75f8
      https://github.com/OpenSIPS/opensips/commit/bbb6f04cf174290ef27dc81a571473680d4c75f8
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M net/proto_udp/proto_udp.c

  Log Message:
  -----------
  Do not log EINTR and EAGAIN as errors during UDP write.


  Commit: 1da62927dcc96c662e7e19cff100b9fdc577ab73
      https://github.com/OpenSIPS/opensips/commit/1da62927dcc96c662e7e19cff100b9fdc577ab73
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M net/proto_tcp/proto_tcp.c

  Log Message:
  -----------
  Just code identation.


  Commit: 6ce9089b35130e8d25ae71d3fc385f848abfcecb
      https://github.com/OpenSIPS/opensips/commit/6ce9089b35130e8d25ae71d3fc385f848abfcecb
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cgrates/cgrates_common.c
    M modules/proto_hep/proto_hep.c
    M modules/proto_ws/ws_tcp.c

  Log Message:
  -----------
  Intercept ECONNRESET and silently handle it as EOF


  Commit: be82e4a47782b7ef9dd349b6402d7494e6ff3fcf
      https://github.com/OpenSIPS/opensips/commit/be82e4a47782b7ef9dd349b6402d7494e6ff3fcf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_hep/proto_hep.c

  Log Message:
  -----------
  Fix missing braken (introduced with previous commit)


  Commit: 394940247cde6784038c5cca397042d7c0f154ca
      https://github.com/OpenSIPS/opensips/commit/394940247cde6784038c5cca397042d7c0f154ca
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M cfg.y

  Log Message:
  -----------
  Do not exit startup sequences with unusable HP_MALLOC params


  Commit: 672a5c3404d60c1194983765478e9b0bed7d7fd9
      https://github.com/OpenSIPS/opensips/commit/672a5c3404d60c1194983765478e9b0bed7d7fd9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M net/proto_tcp/proto_tcp.c

  Log Message:
  -----------
  Intercept ECONNRESET and silently handle it as EOF


  Commit: 359c5c72a09796ddf33a7e9a20a0c1c662644547
      https://github.com/OpenSIPS/opensips/commit/359c5c72a09796ddf33a7e9a20a0c1c662644547
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M io_wait_loop.h

  Log Message:
  -----------
  Added auto-healing for reactor.

If the epoll() fires a fd with a removed fd_map, better do not trigger the handler and remove the fd from epoll and fd_array


  Commit: ee97619c1c4a153cb0d8979fda24f43165627bb8
      https://github.com/OpenSIPS/opensips/commit/ee97619c1c4a153cb0d8979fda24f43165627bb8
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/presence/README
    M modules/presence/doc/presence_admin.xml
    M modules/presence/presence.c

  Log Message:
  -----------
  presence: improve subs_phtable_list MI command

* optionally filter listed subscriptions by "From" and "To" URIs
* include Contact and first proxy from Record-Route in output


  Commit: e60fdb09c84b771743f9fb0eacbf30a25f368ca3
      https://github.com/OpenSIPS/opensips/commit/e60fdb09c84b771743f9fb0eacbf30a25f368ca3
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Fix memory leak in do_routing()

(cherry picked from commit 3c0df80d3b5ec8dfb5e54e78cd84153266fbf0f7)
(cherry picked from commit df9c76f216b190e12d2eccd57e3eb1be1196094c)


  Commit: c8690554a018748ea218e8663017f63525a5df2e
      https://github.com/OpenSIPS/opensips/commit/c8690554a018748ea218e8663017f63525a5df2e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M statistics.c

  Log Message:
  -----------
  core statistics: Fix a bad logical condition

(regression from e90ac3e937de8)


  Commit: 7ad06181bf290818de039b62c4800ad993e563e6
      https://github.com/OpenSIPS/opensips/commit/7ad06181bf290818de039b62c4800ad993e563e6
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/clusterer/node_info.c

  Log Message:
  -----------
  clusterer: properly init node info structures(memset to 0)


  Commit: 78b1996ec2bcef187d97fbf48eea01766ddaff51
      https://github.com/OpenSIPS/opensips/commit/78b1996ec2bcef187d97fbf48eea01766ddaff51
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/clusterer/clusterer_mod.c

  Log Message:
  -----------
  clusterer: start even if unable to load provisioning info from DB


  Commit: c161d785ac58d37878f2f12414148500a688e723
      https://github.com/OpenSIPS/opensips/commit/c161d785ac58d37878f2f12414148500a688e723
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/exec/exec.c
    M modules/exec/kill.c

  Log Message:
  -----------
  exec: Fix incorrect pclose() calls on standard I/O streams

Many thanks to Walter Doekes for detailing this issue

(also including some minor code improvements)


  Commit: c68799015e10d5213136a63218b8e93425a9434b
      https://github.com/OpenSIPS/opensips/commit/c68799015e10d5213136a63218b8e93425a9434b
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/node_info.c
    M modules/clusterer/node_info.h

  Log Message:
  -----------
  clusterer: start only if DB info is invalid, shutdown for other errors when loading from DB


  Commit: d3f92e5f4e1c997db5eec2d18208a568db7d68b6
      https://github.com/OpenSIPS/opensips/commit/d3f92e5f4e1c997db5eec2d18208a568db7d68b6
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Fix leak in use_next_gw()

The leak occurs only when doing fallback between rules.

(cherry picked from commit 911478b102576eb73e8c08989a0f6beb109821d9)


  Commit: e801ef4d626a2c5d86a346a42b6744d6333aa180
      https://github.com/OpenSIPS/opensips/commit/e801ef4d626a2c5d86a346a42b6744d6333aa180
  Author: Chad Attermann <chad at broadmind.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  Required CRLF missing in 200 OK response
Addition of CRLF was mistakenly placed inside of check for Contact expires paramtere. Moved outside so that CRLF is always appended after last Contact header.

(cherry picked from commit 78eaed807adf636a9448a3a0f9f0a77b4c879096)


  Commit: 1aca414f88af71744a1989bfb02944d73ef6ed1a
      https://github.com/OpenSIPS/opensips/commit/1aca414f88af71744a1989bfb02944d73ef6ed1a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M io_wait.h
    M io_wait_loop.h

  Log Message:
  -----------
  Added extra code for sanity checks over reactor data


  Commit: c79698a5464769c86d2df03c9004effa09fa327a
      https://github.com/OpenSIPS/opensips/commit/c79698a5464769c86d2df03c9004effa09fa327a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M io_wait.h
    M io_wait_loop.h

  Log Message:
  -----------
  Fix prev commit - data may be null for valid fd maps (like timer jobs)


  Commit: d70572fb63361f0d648c1541cae78348858e7421
      https://github.com/OpenSIPS/opensips/commit/d70572fb63361f0d648c1541cae78348858e7421
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M io_wait.h
    M io_wait_loop.h

  Log Message:
  -----------
  Fix for prev+1 commit - fd=0 should be consider unset (as -1)


  Commit: 35a58a3250f690fb7428849b2725a46aede4bc90
      https://github.com/OpenSIPS/opensips/commit/35a58a3250f690fb7428849b2725a46aede4bc90
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M io_wait.h
    M io_wait_loop.h

  Log Message:
  -----------
  Flag reset fixed; print flags as hexa


  Commit: 5740adee2dd9db3aa7f337106b88d41f294addb0
      https://github.com/OpenSIPS/opensips/commit/5740adee2dd9db3aa7f337106b88d41f294addb0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/dialplan/dp_db.c

  Log Message:
  -----------
  dialplan: proper error when no partition is defined


  Commit: bf5ca7bc09a0fde52874fe42feadda7429503b0f
      https://github.com/OpenSIPS/opensips/commit/bf5ca7bc09a0fde52874fe42feadda7429503b0f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/dialplan/dp_db.c

  Log Message:
  -----------
  dialplan: fix typo in previous commit


  Commit: 28cb92789e383de811154562cce07be19bb62d53
      https://github.com/OpenSIPS/opensips/commit/28cb92789e383de811154562cce07be19bb62d53
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M packaging/debian/stretch/control

  Log Message:
  -----------
  debian: add libbson-dev dependency

Reported by Nick Altman


  Commit: 265a06082f015be12f25e3da39ca866b86ec0294
      https://github.com/OpenSIPS/opensips/commit/265a06082f015be12f25e3da39ca866b86ec0294
  Author: Chad Attermann <chad at broadmind.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/mid_registrar.c

  Log Message:
  -----------
  Parameter "use_domain" not imported from usrloc
Variable reg_use_domain is initialized to 0, but not imported from usrloc module as eluded in docs. Added import of "use_domain" parameter from usrloc module to initialize reg_use_domain (taken from registrar module).

(cherry picked from commit a182a9445fcbc1679a7627bcc786c085fc304221)


  Commit: 67ab51b199f36da2548729fc474312501f8c6913
      https://github.com/OpenSIPS/opensips/commit/67ab51b199f36da2548729fc474312501f8c6913
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M net/net_tcp.c
    M net/net_tcp_proc.c

  Log Message:
  -----------
  TCP engine: Fix ref counting bug in async writes

TCP writes done by TCP workers were subject to an extra
dereferencing operation, potentially leading to memory corruption
due to SHM overwriting on freed tcp_connection structs.

This patch eliminates the extra dereferening operation, while also
taking care not to break the code for non-TCP worker writers, which
will now have their passed connections dereferenced by TCP main.


  Commit: c696c4a4807140cc2cb24ace8cedade58594c635
      https://github.com/OpenSIPS/opensips/commit/c696c4a4807140cc2cb24ace8cedade58594c635
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M net/net_tcp_proc.c

  Log Message:
  -----------
  TCP engine: Fix a race condition related to con lifetime management

Connections which received a read event concurrently with their
expiration time could trigger an indefinitely long, CPU wasteful, rapid
succession of back-forth passing of the connection object between TCP Main
and a TCP worker process.

The fix involves adding a TCP connection lifetime update in the TCP worker
just after receiving the connection object from TCP Main (this is correct
- there is some pending data, the connection is non-idle), before the
expiration check is done.

Thanks to Bogdan for helping with troubleshooting


  Commit: 7bbe081b11117630adfe22ea58bfeae4b0a1308d
      https://github.com/OpenSIPS/opensips/commit/7bbe081b11117630adfe22ea58bfeae4b0a1308d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M Makefile
    M Makefile.conf.template
    M Makefile.sources
    A lib/dbg/struct_hist.c
    A lib/dbg/struct_hist.h

  Log Message:
  -----------
  Add support for generic struct troubleshooting

Optionally includible via the -DDBG_STRUCT_HIST compile flag


  Commit: b31cfd60a202d9a893feaf73d9f8159d13a74b92
      https://github.com/OpenSIPS/opensips/commit/b31cfd60a202d9a893feaf73d9f8159d13a74b92
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tm/h_table.h

  Log Message:
  -----------
  tm: Remove unused/redundant tm_list_entry() macro


  Commit: d7f4f86c83c531d16b8faf4c6e8f5ca1a8a57b0e
      https://github.com/OpenSIPS/opensips/commit/d7f4f86c83c531d16b8faf4c6e8f5ca1a8a57b0e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M Makefile.conf.template
    M net/net_tcp.c
    M net/net_tcp.h
    A net/net_tcp_dbg.h
    M net/net_tcp_proc.c
    M net/proto_tcp/proto_tcp.c
    M net/tcp_conn_defs.h

  Log Message:
  -----------
  Add optional TCP connection debugging code

To include this code, both -DDBG_STRUCT_HIST and -DDBG_TCPCON compile
flags must be defined under Makefile.conf


  Commit: 18b269b37d6f9a7d63c41c6a400e519fb32851d3
      https://github.com/OpenSIPS/opensips/commit/18b269b37d6f9a7d63c41c6a400e519fb32851d3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M re.c

  Log Message:
  -----------
  regex transformation: Fix a double free bug

Supplying a bad regular expression to {re.subst} would lead to
a double pkg_free().

Credits to Nick Altmann for reporting / helping with troubleshooting


  Commit: b4b83a7b4d49508ab345d44099828a674666d7ab
      https://github.com/OpenSIPS/opensips/commit/b4b83a7b4d49508ab345d44099828a674666d7ab
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  Fixed MI printing of tid (trace ID) URLs.

Discard on-stack buffer and use formated printing for IP + port.
Use MI_DUP_VALUE flag for adding the DB URL


  Commit: b367a370572dce1bd7362117c4f1bdc049df4f2a
      https://github.com/OpenSIPS/opensips/commit/b367a370572dce1bd7362117c4f1bdc049df4f2a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Do not replicate if not configured so

Test if replication was set before trying to replicate the change of carrier status


  Commit: fea4733cc3cb9fa8b7a829eca5f3145d6ecb34eb
      https://github.com/OpenSIPS/opensips/commit/fea4733cc3cb9fa8b7a829eca5f3145d6ecb34eb
  Author: Chad Attermann <chad at broadmind.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  Skipping proxy ip:port append when use_domain enabled
In aor-throttling mode, when usrloc use_domain is enabled the aor already includes the domain so there is no need to append the proxy ip:port to the aor in the Contact header that is relayed to the main registrar.

(cherry picked from commit 4fb1581a42735483dc24658a6a7ba12d53ef20ab)


  Commit: 07f23eaa68231379ace063fdda2811aa8b5def0b
      https://github.com/OpenSIPS/opensips/commit/07f23eaa68231379ace063fdda2811aa8b5def0b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M net/net_tcp_proc.c

  Log Message:
  -----------
  net/tcp: do not reset conn proc_no as a writer

when releasing a conn as a writer, do not reset the process owner of the
conn, otherwise a reader will have to re-take it back.


  Commit: 7e414730555b7892aa14d80b78c70354b1ef0fcc
      https://github.com/OpenSIPS/opensips/commit/7e414730555b7892aa14d80b78c70354b1ef0fcc
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M io_wait_loop.h

  Log Message:
  -----------
  Triggered fds with no fd_map are reported and removed from epoll

If epoll triggers on a fd that has a cleared (removed) fd_map, remove it from epoll.


  Commit: 7433a833cb2ee37216e331edf28cda7254be31b3
      https://github.com/OpenSIPS/opensips/commit/7433a833cb2ee37216e331edf28cda7254be31b3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  TCP engine: Fix misleading logs


  Commit: 7899b02774f9e4198704037c528a31e6b718e242
      https://github.com/OpenSIPS/opensips/commit/7899b02774f9e4198704037c528a31e6b718e242
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M net/net_tcp_proc.c
    M net/tcp_conn.h

  Log Message:
  -----------
  TCP engine: Fix the TCP worker duplicate connection check


  Commit: fe6285658660a9ca9f4fd7e2631b24b70eb47814
      https://github.com/OpenSIPS/opensips/commit/fe6285658660a9ca9f4fd7e2631b24b70eb47814
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: properly start up even if there are invalid TLS domain definitions in DB


  Commit: fd234ff1995466ae46dfe9a1f7ae9cd63320e1ab
      https://github.com/OpenSIPS/opensips/commit/fd234ff1995466ae46dfe9a1f7ae9cd63320e1ab
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M trim.h

  Log Message:
  -----------
  Fix a bug in is_ws()

Reported by Răzvan


  Commit: c0b2fef64fc6fc0de6e4ccac8832a2ee05a4b3af
      https://github.com/OpenSIPS/opensips/commit/c0b2fef64fc6fc0de6e4ccac8832a2ee05a4b3af
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_bin/proto_bin.c
    M modules/proto_hep/proto_hep.c
    M net/proto_tcp/proto_tcp.c

  Log Message:
  -----------
  TCP engine: Fix incorrect returned bytes on async writes

This isn't actually as bad of a bug as it would seem. By occasionally
reporting _less_ written bytes than normal, the TCP write flow may trigger
some false async write requests to TCP MAIN. The connection will
eventually end up in a writer which simply sends it back, as it does not
contain any chunks which require writing.


  Commit: f6ec68f5e9a0e8fdfb1e05b26468bdc149c9cbe9
      https://github.com/OpenSIPS/opensips/commit/f6ec68f5e9a0e8fdfb1e05b26468bdc149c9cbe9
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: fix skipping invalid TLS domain definitions in the script


  Commit: 98485611f0ae158846c6ff46126ffd3bc59fc9a8
      https://github.com/OpenSIPS/opensips/commit/98485611f0ae158846c6ff46126ffd3bc59fc9a8
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/sip_i/sip_i.c
    M transformations.c

  Log Message:
  -----------
  All script transformations now return NULL instead of empty string for unsuccessful operation or errors.

Also allow NULL as input in order to support chaining transformations.


  Commit: 54b98043fbfd48a7b128a420e3c1e6d527f2ab0c
      https://github.com/OpenSIPS/opensips/commit/54b98043fbfd48a7b128a420e3c1e6d527f2ab0c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/rtpproxy_admin.xml
    M modules/rtpproxy/rtpproxy.c
    M modules/rtpproxy/rtpproxy.h

  Log Message:
  -----------
  rtpproxy: allow module to specify the name of the recording

This also allows rtpproxy to stream media to a remote destination.


  Commit: 871de9611dbdfd4835eeb1720521ae610a41eaed
      https://github.com/OpenSIPS/opensips/commit/871de9611dbdfd4835eeb1720521ae610a41eaed
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tm/sip_msg.c

  Log Message:
  -----------
  Set proper UPDATED flag upon cloning.

IF the cloning is full (with the updatable part too), set the UPDATED flag too


  Commit: e5146212a040472bd7851e7d88dd02ca729d09b7
      https://github.com/OpenSIPS/opensips/commit/e5146212a040472bd7851e7d88dd02ca729d09b7
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/b2b_entities/dlg.c
    M modules/b2b_sca/sca_logic.c
    M modules/tm/t_lookup.c

  Log Message:
  -----------
  Do not expose the transaction when t_newtran() detects a retransmission

It is much safer and consistent to avoid exposing the transaction when retransmision is detected; t_newtran() anyhow is automatically taking care of the retransmission handling, so makes no sense to expose the transaction further.


  Commit: cb44cf969fd94b94c23601e84a1ee365f8dfa60e
      https://github.com/OpenSIPS/opensips/commit/cb44cf969fd94b94c23601e84a1ee365f8dfa60e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M scripts/opensipsdbctl.pgsql

  Log Message:
  -----------
  Fix granting permissions on the PK of location table.

As the PK column has a custom name "contact_id", it needs special handling when granting permissions upon PSQL DB creation.


  Commit: b399864e65dc8494529d7c040ef44265c29ccc32
      https://github.com/OpenSIPS/opensips/commit/b399864e65dc8494529d7c040ef44265c29ccc32
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M scripts/opensipsdbctl.pgsql

  Log Message:
  -----------
  Related to prev fix - dialog table has no PK


  Commit: 77540847f8643e16f98c56bf9f802a7eb2fdc0c2
      https://github.com/OpenSIPS/opensips/commit/77540847f8643e16f98c56bf9f802a7eb2fdc0c2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M cfg.y

  Log Message:
  -----------
  cfg parser: Fix underflow with an empty mpath


  Commit: c8d0685cebdf4ac71d036039ab8367df1c0dd384
      https://github.com/OpenSIPS/opensips/commit/c8d0685cebdf4ac71d036039ab8367df1c0dd384
  Author: Ovidiu Sas <osas at voipembedded.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tls_mgm/tls_params.c

  Log Message:
  -----------
  tls_mgm: fix warning: ‘port’ may be used uninitialized in this function [-Wmaybe-uninitialized]


  Commit: 9cedd12948a069a72118ebe315c726ab80bc5894
      https://github.com/OpenSIPS/opensips/commit/9cedd12948a069a72118ebe315c726ab80bc5894
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/exec/README
    M modules/exec/doc/exec_admin.xml

  Log Message:
  -----------
  exec: Improve docs for "time_to_kill"

Reported by Tito Cumpen


  Commit: 21cd24db68dacef2feaf796a9b42606b7f279c92
      https://github.com/OpenSIPS/opensips/commit/21cd24db68dacef2feaf796a9b42606b7f279c92
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M io_wait_loop.h

  Log Message:
  -----------
  Downgrade severity and extra loging on epoll self healing


  Commit: ef1f1d485dc828aba88487f79ceb788893892e4a
      https://github.com/OpenSIPS/opensips/commit/ef1f1d485dc828aba88487f79ceb788893892e4a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/acc_logic.c

  Log Message:
  -----------
  acc: fix substitutions typo


  Commit: 2b1b97ab4f2ca52fc0ca6ec212e8daf3de78e443
      https://github.com/OpenSIPS/opensips/commit/2b1b97ab4f2ca52fc0ca6ec212e8daf3de78e443
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer_mod.c

  Log Message:
  -----------
  clusterer: prevent crash when calling send_to after destroy

(cherry picked from commit 5928e4606f21522736f42874b251452ac1e2e24e)


  Commit: 09c55737bdd6bbc77d1c23dfb9e172551ae36024
      https://github.com/OpenSIPS/opensips/commit/09c55737bdd6bbc77d1c23dfb9e172551ae36024
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M main.c

  Log Message:
  -----------
  Allow config file to be read from stdin

Via the "-f -" command-line option


  Commit: ca91f916a6b0a3083e3d9fadbf0508436efb9552
      https://github.com/OpenSIPS/opensips/commit/ca91f916a6b0a3083e3d9fadbf0508436efb9552
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M io_wait.h

  Log Message:
  -----------
  Set some default value for "already", to avoid bogus printing.

Reported by Ovidiu Sas

(cherry picked from commit e1497271f02966736de834c35bf5943d0fd9ef0b)


  Commit: 8303d025e68d6677bbcb9c688f8e8be637925406
      https://github.com/OpenSIPS/opensips/commit/8303d025e68d6677bbcb9c688f8e8be637925406
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M parser/parse_uri.c

  Log Message:
  -----------
  Remove bogus auto conversion from SIP uri to TEL uri

For ancient reasons, a SIP URI with user=phone was automatically converted to a TEL URI. Such conversion, automatically done, is dangerous - there is nothing in the RFC3261 stating something like this. Even more, the conversion is not complete - besides moving the username parameters to URI parameters, the domain is not stripped and the TEL not added.


  Commit: 5db08e5428b8be017dfe7b03f5785e804b1e2301
      https://github.com/OpenSIPS/opensips/commit/5db08e5428b8be017dfe7b03f5785e804b1e2301
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M lib/dbg/struct_hist.c

  Log Message:
  -----------
  struct history tracker: Improve log flushing behavior


  Commit: eb24f50a8bf75e05ef07937b3e6172d61a0505f8
      https://github.com/OpenSIPS/opensips/commit/eb24f50a8bf75e05ef07937b3e6172d61a0505f8
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M lib/dbg/struct_hist.c
    M lib/dbg/struct_hist.h
    M net/net_tcp.c

  Log Message:
  -----------
  struct history tracker: Include object name in API


  Commit: ede700c4fbb5209860fcbeee27f8ef81c2b61428
      https://github.com/OpenSIPS/opensips/commit/ede700c4fbb5209860fcbeee27f8ef81c2b61428
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M lib/dbg/struct_hist.c

  Log Message:
  -----------
  struct history tracker: Fix some subtle locking bugs

    * possible memory corruption due to unsafe mem writes
    * deadlock on oom


  Commit: aa68887c843e3c8ade9b82fd76e0fe2f9373845b
      https://github.com/OpenSIPS/opensips/commit/aa68887c843e3c8ade9b82fd76e0fe2f9373845b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_tls/proto_tls.c
    M modules/proto_wss/proto_wss.c

  Log Message:
  -----------
  Fix tracing race condition on SSL based connects

When performing a connects (required by a write op) for a SSL enabled connection, the returning handshake make lead to a concurent read on the same connection.
And the read op will try to dump the traced data aquired by the write (connect) op -> different processes, different memory chuncks
To avoid such probles, the "connect" tracing will be flushed on write (a connect is always trigger by a write need) and the "accept" tracing will be flushed only on read (an accept is always followed by a read).


  Commit: c0c4b8db751c69b0de16d2fc3c823f4724575c04
      https://github.com/OpenSIPS/opensips/commit/c0c4b8db751c69b0de16d2fc3c823f4724575c04
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_tls/proto_tls.c

  Log Message:
  -----------
  Fixed memory leak on proto TLS tracing.

Free the tracing data (if any) when the TLS connection is destroyed


  Commit: 3abf643bd03b57aa4b4ec37a23f19d47a87115ba
      https://github.com/OpenSIPS/opensips/commit/3abf643bd03b57aa4b4ec37a23f19d47a87115ba
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_wss/proto_wss.c

  Log Message:
  -----------
  Destroy the TCP conn even if the WS link has missing data.

Perform full conn destroy (in the TCP network layer) even if the WS link doesn't have (very unlikely) the proto-specific data attached.


  Commit: a527387c48336595bb36f15568ea83a620576b0e
      https://github.com/OpenSIPS/opensips/commit/a527387c48336595bb36f15568ea83a620576b0e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/pua/send_publish.c

  Log Message:
  -----------
  pua: Fix several locking & memory access bugs

Several issues with publ_cback_func():
    * 1 x extra lock release upon breaking "send publish" loop
    * N x extra lock releases inside the loop, per each failed publish
    * invalid memory access on "presentity" ptr after send_publish_int()


  Commit: f225ba1361c697b2332bf7181b85887da4116b3b
      https://github.com/OpenSIPS/opensips/commit/f225ba1361c697b2332bf7181b85887da4116b3b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M lib/dbg/struct_hist.c
    M lib/dbg/struct_hist.h

  Log Message:
  -----------
  struct history tracker: Rework verb defining and printing

Thanks to Răzvan for suggesting the sweet cpp trick


  Commit: 77a6f6bf5aaf89084f42db978c0a2977c7a52cd9
      https://github.com/OpenSIPS/opensips/commit/77a6f6bf5aaf89084f42db978c0a2977c7a52cd9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c

  Log Message:
  -----------
  freeswitch: Mitigate effects of the shutdown cleanup problem

Since the FS conn manager process is often polling _after_ having
acquired a read lock, any standard OpenSIPS shutdown while the FS module
is enabled would have a high chance of deadlocking the attendant.


  Commit: 6b5f2c77a2e0064aefb71b9b37e3038e86155ecb
      https://github.com/OpenSIPS/opensips/commit/6b5f2c77a2e0064aefb71b9b37e3038e86155ecb
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M action.c
    M cfg.lex
    M cfg.y
    M route.c
    M route_struct.c
    M route_struct.h

  Log Message:
  -----------
  Remove core value "myself" and offer approximately the same features via a new core function "is_myself".


  Commit: 2c5e3956883435b262cc1f3908c4514fbebaafe4
      https://github.com/OpenSIPS/opensips/commit/2c5e3956883435b262cc1f3908c4514fbebaafe4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M lib/dbg/struct_hist.c
    M lib/dbg/struct_hist.h

  Log Message:
  -----------
  struct history tracker: Several logging improvements

    * fix potentially missed logs
    * allow logs to be matched in highly concurrent environments


  Commit: 0adb47332501c83a9170de1abdac8dbf8e19a484
      https://github.com/OpenSIPS/opensips/commit/0adb47332501c83a9170de1abdac8dbf8e19a484
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M cfg.lex
    M cfg.y
    M route.c
    M route_struct.c
    M route_struct.h

  Log Message:
  -----------
  Remove core keywords related to URIs: "uri", "from_uri" and "to_uri".


  Commit: cafdfe8dafbae721f4264c1a09a1487b9561d441
      https://github.com/OpenSIPS/opensips/commit/cafdfe8dafbae721f4264c1a09a1487b9561d441
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M action.c
    M cfg.y
    M route.c

  Log Message:
  -----------
  Second parameter of "is_myself" is now also a quoted string that should contain a pvar or port number.


  Commit: f666a47d151f1d7d66862433f7407986e452a485
      https://github.com/OpenSIPS/opensips/commit/f666a47d151f1d7d66862433f7407986e452a485
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M lib/dbg/struct_hist.c
    M lib/dbg/struct_hist.h

  Log Message:
  -----------
  struct history: Fix the support for memory-only logging


  Commit: 0e11971520074705b8b48f5bb97fe4c1016d65fc
      https://github.com/OpenSIPS/opensips/commit/0e11971520074705b8b48f5bb97fe4c1016d65fc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M lib/dbg/struct_hist.c

  Log Message:
  -----------
  struct history: Fix mem leak


  Commit: 73b91939c1a9043106c76fc19e878e86799c4453
      https://github.com/OpenSIPS/opensips/commit/73b91939c1a9043106c76fc19e878e86799c4453
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/acc_logic.c

  Log Message:
  -----------
  acc: restore new_uri in case an error occurs on reply


  Commit: b3116a2af3d1549067923d8949dca3bc3732a967
      https://github.com/OpenSIPS/opensips/commit/b3116a2af3d1549067923d8949dca3bc3732a967
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/mid_registrar.c
    M modules/mid_registrar/mid_registrar.h
    M modules/mid_registrar/save.c
    M modules/mid_registrar/ulcb.c

  Log Message:
  -----------
  mid_registrar: Fix authenticated registrations

This applies to both throttling modes (contact and AOR).

Closes #1156


  Commit: 448f614645173f9cc624ccf980a6cce42057f25e
      https://github.com/OpenSIPS/opensips/commit/448f614645173f9cc624ccf980a6cce42057f25e
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M cfg.lex
    M cfg.y
    M route.c
    M route_struct.c
    M route_struct.h

  Log Message:
  -----------
  Remove "src_ip", "dst_ip", "src_port" and "dst_port" keywords and allow any script variable to be compared wih IPs and netmasks.


  Commit: d6965bca6587bdd998606a82a6ab62fac1cc606a
      https://github.com/OpenSIPS/opensips/commit/d6965bca6587bdd998606a82a6ab62fac1cc606a
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/clusterer/clusterer_mod.c

  Log Message:
  -----------
  clusterer: prevent crash when calling module destroy function before initializing DB handler.


  Commit: 77f6a1f9ded11e3ad9d6a540f4add042ab6374c1
      https://github.com/OpenSIPS/opensips/commit/77f6a1f9ded11e3ad9d6a540f4add042ab6374c1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: fix parameters specifications for gw detection functions


  Commit: 38e1388b031542a88766ad60db499fabc02bdd6a
      https://github.com/OpenSIPS/opensips/commit/38e1388b031542a88766ad60db499fabc02bdd6a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M lib/dbg/struct_hist.c
    M lib/dbg/struct_hist.h

  Log Message:
  -----------
  struct history tracker: Optimize memory allocations

Especially useful when used with QM_MALLOC.


  Commit: 620c4a29389019d6729cf75d8a722b9292929b1a
      https://github.com/OpenSIPS/opensips/commit/620c4a29389019d6729cf75d8a722b9292929b1a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M lib/dbg/struct_hist.h

  Log Message:
  -----------
  struct history tracker: Add API docs


  Commit: 70aef66dc338f8ff59e3d92000cf19ced91f4680
      https://github.com/OpenSIPS/opensips/commit/70aef66dc338f8ff59e3d92000cf19ced91f4680
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M cfg.lex
    M cfg.y
    M pvar.c
    M pvar.h
    M route.c
    M route_struct.h

  Log Message:
  -----------
  Replace "af" keyword with "$af" script variable.


  Commit: 26b7aa0e37208d1b13f0c7682f5181030257a31b
      https://github.com/OpenSIPS/opensips/commit/26b7aa0e37208d1b13f0c7682f5181030257a31b
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M cfg.lex
    M cfg.y
    M route.c
    M route_struct.c
    M route_struct.h

  Log Message:
  -----------
  Remove keywords "method", "msg:len", "proto", "max_len".


  Commit: 5a92247c01005cafe5a0c388d20d20c4b37760f8
      https://github.com/OpenSIPS/opensips/commit/5a92247c01005cafe5a0c388d20d20c4b37760f8
  Author: Bradley Jokinen <bradley.jokinen at gmail.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cgrates/cgrates_acc.c

  Log Message:
  -----------
  cgrates: add DisconnectCause for CDRs


  Commit: 348bec2cb883ee561b9e596732f4c979f771bf5e
      https://github.com/OpenSIPS/opensips/commit/348bec2cb883ee561b9e596732f4c979f771bf5e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M utils/vim/opensips.vim

  Log Message:
  -----------
  opensips.vim: Update syntax


  Commit: f836d54ad8c1842fe80d4f4d9be114e7ef6b2a56
      https://github.com/OpenSIPS/opensips/commit/f836d54ad8c1842fe80d4f4d9be114e7ef6b2a56
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  Fix incorrect bug log.

A missing tracing context in the SL_reply_out callback is perfectly valid - if you send from script a reply (se_send_reply) without doing any sip_trace() before.

(cherry picked from commit 5a4550b23deb137db33c50fb6fcf773392d31940)


  Commit: 865ccaf541ce1d6b20d7d1865b2123e41795ad46
      https://github.com/OpenSIPS/opensips/commit/865ccaf541ce1d6b20d7d1865b2123e41795ad46
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/usrloc/ureplication.c

  Log Message:
  -----------
  Fix replicating NULL socket in contact

A contact added by ul_add MI contact has a NULL contact, so take care on this during contact replication. Also, when receiving a replicated contact with NULL socket, do not discard it, but simply set NULL socket.

Reported by Samusenko Andrej on user mailing list


  Commit: dd8727edc8653280a6e3e3bb497d915e056d2f10
      https://github.com/OpenSIPS/opensips/commit/dd8727edc8653280a6e3e3bb497d915e056d2f10
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M etc/opensips.cfg
    M menuconfig/configs/opensips_residential.m4

  Log Message:
  -----------
  Remove core keywords from default configuration scripts.


  Commit: de55013e53272fc39133092cc20880d91429f8e2
      https://github.com/OpenSIPS/opensips/commit/de55013e53272fc39133092cc20880d91429f8e2
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/doc/acc_admin.xml
    M modules/cpl_c/doc/cpl_c_admin.xml
    M modules/db_text/doc/db_text.cfg
    M modules/event_rabbitmq/doc/event_rabbitmq.cfg
    M modules/identity/doc/identity_admin.xml
    M modules/imc/doc/imc_admin.xml
    M modules/jabber/doc/jabber.cfg
    M modules/jabber/doc/jabberx.cfg
    M modules/mangler/doc/mangler_admin.xml
    M modules/msilo/doc/msilo.cfg
    M modules/nat_traversal/doc/nat_traversal_admin.xml
    M modules/options/doc/options_admin.xml
    M modules/osp/doc/osp_admin.xml
    M modules/perl/doc/perl_admin.xml
    M modules/permissions/doc/permissions_admin.xml
    M modules/pike/doc/pike_admin.xml
    M modules/presence/doc/presence_admin.xml
    M modules/pua/doc/pua_admin.xml
    M modules/pua_bla/doc/pua_bla_admin.xml
    M modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml
    M modules/pua_usrloc/doc/pua_usrloc_admin.xml
    M modules/pua_xmpp/doc/pua_xmpp_admin.xml
    M modules/qos/doc/qos_admin.xml
    M modules/rls/doc/rls_admin.xml
    M modules/seas/doc/seas_admin.xml
    M modules/speeddial/doc/speeddial.cfg
    M modules/speeddial/doc/speeddial_admin.xml
    M modules/sst/doc/sst_admin.xml
    M modules/tls_mgm/doc/tls_mgm_admin.xml
    M modules/tm/doc/tm_admin.xml
    M modules/uac_redirect/doc/uac_redirect_admin.xml

  Log Message:
  -----------
  Update module docs for keywords removal.


  Commit: c82bd9b493add44ee0501f4eee9ef57bcde4a15d
      https://github.com/OpenSIPS/opensips/commit/c82bd9b493add44ee0501f4eee9ef57bcde4a15d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M menuconfig/configs/opensips_residential.m4

  Log Message:
  -----------
  menuconfig template: Fix typos / improve TCP detection logic


  Commit: 2763c8f8eba4df213238a9e7466b9c0a81e90f69
      https://github.com/OpenSIPS/opensips/commit/2763c8f8eba4df213238a9e7466b9c0a81e90f69
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/exec/exec_mod.c

  Log Message:
  -----------
  exec: Improve environment AVP typing

Reported by Tito Cumpen


  Commit: bffcc2d9cc41021427f06c88bf00f182ab542cb9
      https://github.com/OpenSIPS/opensips/commit/bffcc2d9cc41021427f06c88bf00f182ab542cb9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/exec/README
    M modules/exec/doc/exec_admin.xml

  Log Message:
  -----------
  exec: Improve documentation

    * fix incorrect AVP example
    * clarify the line-oriented nature of "stdout" and "stderr"


  Commit: 2f4ce7bdce807d5c64fe9ea05c82434cafa1a71a
      https://github.com/OpenSIPS/opensips/commit/2f4ce7bdce807d5c64fe9ea05c82434cafa1a71a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M packaging/debian/common/rules
    M packaging/debian/jessie/rules
    M packaging/debian/stretch/rules
    M packaging/debian/wheezy/rules

  Log Message:
  -----------
  Debian packaging: Add a global INSTALL_PREFIX


  Commit: 486fda4adbcf681d1987524959a965daa3e64ac0
      https://github.com/OpenSIPS/opensips/commit/486fda4adbcf681d1987524959a965daa3e64ac0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  Debian packaging: Fix source tarball name for "dev" sources


  Commit: 7cb871db5bc6a35878338c46a18c5f0726f01b51
      https://github.com/OpenSIPS/opensips/commit/7cb871db5bc6a35878338c46a18c5f0726f01b51
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M packaging/debian/common/opensips.init
    M packaging/debian/common/rules
    M packaging/debian/jessie/rules
    M packaging/debian/stretch/rules
    M packaging/debian/wheezy/rules

  Log Message:
  -----------
  Debian packaging: Improve INSTALL_PREFIX logic

    * now also alters the install paths of configuration files
    * "dh_usrlocal" is now automatically overriden, if needed
	(i.e. if INSTALL_PREFIX begins with "/usr/local/")
    * the "opensips.init" script paths are now properly updated


  Commit: b13e9f0371190d94706c793d10e5b93848d4cc93
      https://github.com/OpenSIPS/opensips/commit/b13e9f0371190d94706c793d10e5b93848d4cc93
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siptrace/siptrace.c
    M modules/tm/t_cancel.c
    M modules/tm/t_fwd.c
    M modules/tm/t_hooks.h
    M modules/tm/t_lookup.c
    M modules/tm/t_reply.c
    M modules/tm/timer.c

  Log Message:
  -----------
  Fixed missing traced SIP messages.

The following SIP messages were not traced by SIP trace:
* 100 trying generated by OpenSIPS
* incoming ACK for negative replies
* outgoing ACK to negative replies
* incoming replies to CANCEL requests
* incoming request retransmissions
* outgoing request retransmissions
* outgoing reply retransmissions

The fix introduced two new TM callback to get access to the lowest level in TM message handling:
	* matching a SIP message to the transaction
	* sending a SIP message related to the transaction


  Commit: d42fe6cfb12e06d9e159dd1c8f1aee6b83b0c2bd
      https://github.com/OpenSIPS/opensips/commit/d42fe6cfb12e06d9e159dd1c8f1aee6b83b0c2bd
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: fix b2b key memory leak


  Commit: e2b888d79045971b29db4dd395e3988f1a746834
      https://github.com/OpenSIPS/opensips/commit/e2b888d79045971b29db4dd395e3988f1a746834
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  Add siptrace contact for in request (needed by ACK handling)


  Commit: 3c1f8bd22acd5b616d86b1e24c0f6e8f0cbbaee0
      https://github.com/OpenSIPS/opensips/commit/3c1f8bd22acd5b616d86b1e24c0f6e8f0cbbaee0
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  Increase amount of debug produced by the rtpproxy module when
read() or recv() from the rtpproxy fails to also include relevant
errno. This is to debug sporadic errors during the module
initialization phase, such as:

Jul 24 21:53:41 [21066] ERROR:rtpproxy:send_rtpp_command: can't read reply from a RTP proxy
Jul 24 21:53:41 [21058] ERROR:rtpproxy:send_rtpp_command: can't read reply from a RTP proxy
Jul 24 21:53:41 [21058] ERROR:rtpproxy:send_rtpp_command: proxy <unix:/home/travis/build/sippy/voiptests/rtpproxy.sock> does not respond, disable it
Jul 24 21:53:41 [21066] ERROR:rtpproxy:send_rtpp_command: proxy <unix:/home/travis/build/sippy/voiptests/rtpproxy.sock> does not respond, disable it
Jul 24 21:53:41 [21066] WARNING:rtpproxy:rtpp_test: RTP proxy went down during version query
Jul 24 21:53:41 [21066] WARNING:rtpproxy:rtpp_test: support for RTP proxy <unix:/home/travis/build/sippy/voiptests/rtpproxy.sock> has been disabled temporarily
Jul 24 21:53:41 [21066] ERROR:core:tcp_start_processes: failed to send 0 status code
Jul 24 21:53:41 [21067] ERROR:rtpproxy:send_rtpp_command: can't read reply from a RTP proxy
Jul 24 21:53:41 [21067] ERROR:rtpproxy:send_rtpp_command: proxy <unix:/home/travis/build/sippy/voiptests/rtpproxy.sock> does not respond, disable it
Jul 24 21:53:41 [21067] WARNING:rtpproxy:rtpp_test: RTP proxy went down during version query
Jul 24 21:53:41 [21067] WARNING:rtpproxy:rtpp_test: support for RTP proxy <unix:/home/travis/build/sippy/voiptests/rtpproxy.sock> has been disabled temporarily


  Commit: 5548bebc229db5b4695852ef2515234992f857fa
      https://github.com/OpenSIPS/opensips/commit/5548bebc229db5b4695852ef2515234992f857fa
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_tls/proto_tls.c

  Log Message:
  -----------
  Add missed includes required on the *BSD systems to get
struct in_addr defined.


  Commit: 4a5c521afe82b568a2b01cc1029ae3cf555e39bc
      https://github.com/OpenSIPS/opensips/commit/4a5c521afe82b568a2b01cc1029ae3cf555e39bc
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M lib/list.h
    M modules/cgrates/cgrates.c
    M modules/rabbitmq/rmq_servers.c

  Log Message:
  -----------
  Rename LIST_HEAD() macro into OSIPS_LIST_HEAD() to avoid
collision with the BSD's sys/queue.h that declares macro with
the same name. That include is pulled in by some other  system
includes and that breaks the build.


  Commit: b5fee1dbf0f3b782bdc076483d86e33e595c5758
      https://github.com/OpenSIPS/opensips/commit/b5fee1dbf0f3b782bdc076483d86e33e595c5758
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M menuconfig/configs/opensips_loadbalancer.m4
    M menuconfig/configs/opensips_residential.m4
    M menuconfig/configs/opensips_trunking.m4

  Log Message:
  -----------
  Fixed wrong TLS parameters.

TLS configuration parameters were moved from proto_tls to tls_mgm module.
Credits to Mike Tesliuk for reporting this.


  Commit: 3f4eb22792409f62320de2c8e29cb7b68076c52b
      https://github.com/OpenSIPS/opensips/commit/3f4eb22792409f62320de2c8e29cb7b68076c52b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/ratelimit/README
    M modules/ratelimit/doc/ratelimit_admin.xml

  Log Message:
  -----------
  ratelimit: fix documentation typo


  Commit: 3b3cf121613ac194a51a93f254903b80e34644b9
      https://github.com/OpenSIPS/opensips/commit/3b3cf121613ac194a51a93f254903b80e34644b9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M pvar.c

  Log Message:
  -----------
  Allow multi-line "pvar list" strings

This directly improves avp_db_query() and cache_raw_query(),
allowing the following (notice param #2):

    avp_db_query("
  SELECT
      table_name,
      table_version
  FROM
      version",
  "$avp(tn),
   $avp(tv)");


  Commit: c8e845abe804020f5b0f7374eda8c6b74fcb9f7b
      https://github.com/OpenSIPS/opensips/commit/c8e845abe804020f5b0f7374eda8c6b74fcb9f7b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rest_client/README
    M modules/rest_client/doc/rest_client_admin.xml

  Log Message:
  -----------
  rest_client: Update documentation

Reported by Tito Cumpen


  Commit: d9494f5a76062977b3f20500ae7056d28b24487b
      https://github.com/OpenSIPS/opensips/commit/d9494f5a76062977b3f20500ae7056d28b24487b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/mid_registrar.c

  Log Message:
  -----------
  mid_registrar: Add a useful startup error case


  Commit: 262198dff3974e8e9471b0e6900ab3a21d6ce185
      https://github.com/OpenSIPS/opensips/commit/262198dff3974e8e9471b0e6900ab3a21d6ce185
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/usrloc/udomain.c

  Log Message:
  -----------
  Fixed branch flags propagation to the event


  Commit: 64997c7f4ca5934a92a7940f74b5d866429fc9f3
      https://github.com/OpenSIPS/opensips/commit/64997c7f4ca5934a92a7940f74b5d866429fc9f3
  Author: root <root at dell02.xipx.local>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M lib/reg/sip_msg.c
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  Gracefully handling missing or malformed Expires header in REGISTER request.

(cherry picked from commit 747dcdb6f245316ff6103b4f3fe44a1014c8eb1b)


  Commit: d7afe9b61cdd55235d429ef59d4d80699058ef16
      https://github.com/OpenSIPS/opensips/commit/d7afe9b61cdd55235d429ef59d4d80699058ef16
  Author: root <root at dell02.xipx.local>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/mid_registrar.c
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  Gracefully handling missing or malformed Contact and Expires headers in REGISTER requests.

(cherry picked from commit 605098bb0697f78f3ae41eb50c8360d6ff6d6092)


  Commit: e665918ce49fa7b265f1823fd2a3593f81345861
      https://github.com/OpenSIPS/opensips/commit/e665918ce49fa7b265f1823fd2a3593f81345861
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  Avoid locking during shutdown

Do not do locking when running the destroy handler, as we may get into a deadlock (if a worker process got killed while holding the lock).


  Commit: 82a528b586959b2a552ae56a574b1ac58e54caee
      https://github.com/OpenSIPS/opensips/commit/82a528b586959b2a552ae56a574b1ac58e54caee
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M cfg.lex
    M cfg.y

  Log Message:
  -----------
  Remove some deprecated script grammar rules

The following types of statements no longer have any meaning/purpose
after the removal of core keywords - the script should not allow
them anymore.

$var(foo) = bar123;
if ($var(foo) == BAR123) ...


  Commit: 87337cd4134a55ca330d9121f9a068181e2caa43
      https://github.com/OpenSIPS/opensips/commit/87337cd4134a55ca330d9121f9a068181e2caa43
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/lookup.c
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix some AoR throttling bugs

    * prevent AoR throttling lookups from using "rid"
    * always mangle contacts in AoR throttling, regardless
      of "insertion_mode". This prevents lookup issues in "Path"
      insertion mode with clients that are using auto-generated
      Contact usernames.


  Commit: 2a9841050aa55631c8ade8528c15f2ffa23a4ad9
      https://github.com/OpenSIPS/opensips/commit/2a9841050aa55631c8ade8528c15f2ffa23a4ad9
  Author: Augusto Caringi <acaringi at redhat.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/db_mysql/my_con.c

  Log Message:
  -----------
  db_mysql: fix build against MariaDB 10.2

Fixes the following build error while building against MariaDB 10.2
library:

my_con.c: In function 'db_mysql_connect':
my_con.c:68:10: error: 'MYSQL {aka struct st_mysql}' has no member named
'reconnect'
ptr->con->reconnect = 0;
    ^~

In this new version of the library the reconnect field was moved to
another struct. Setting it through API seems to be a better approach.


  Commit: 945f110c4acbdd72268e170eef402694d3090a19
      https://github.com/OpenSIPS/opensips/commit/945f110c4acbdd72268e170eef402694d3090a19
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Code refactoring


  Commit: 260f9964e050f27f19683a9611ff82d0e1e1aca3
      https://github.com/OpenSIPS/opensips/commit/260f9964e050f27f19683a9611ff82d0e1e1aca3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix some AoR throttling bugs #2

    * report proper expiration time back to the UAC when the
      main registrar shortens the lifetime on the virtual Contact

    * properly handle auth'ed registrations (completes commit aa5366796)


  Commit: f6f0793e0fbd9cf72d42c168d6f503a5bb7788a4
      https://github.com/OpenSIPS/opensips/commit/f6f0793e0fbd9cf72d42c168d6f503a5bb7788a4
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/clusterer/README
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer.h
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml

  Log Message:
  -----------
  clusterer: Add module functions for sending generic clusterer messages at script level.

Also introduce the events: E_CLUSTERER_REQ_RECEIVED and E_CLUSTERER_RPL_RECEIVED,
corresponding to two types of messages, request-like and reply-like, in order to
handle received messages.


  Commit: 1ed43596578c4d265d0518250756b226a60b03e6
      https://github.com/OpenSIPS/opensips/commit/1ed43596578c4d265d0518250756b226a60b03e6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix broken "Path:" URIs when using domains

The module now properly handles usrloc's "use_domain = 1".


  Commit: b7ed0cfa5af74bfe31643bf0f104023744c88c83
      https://github.com/OpenSIPS/opensips/commit/b7ed0cfa5af74bfe31643bf0f104023744c88c83
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M dprint.h
    M main.c

  Log Message:
  -----------
  Allow memory dumps to be enabled at runtime

Memory dumps and full memory logging can now also be enabled by setting
"log_level = 14" and "log_level = 15", respectively, without having to
restart OpenSIPS and set a proper value for "memdump" / "memlog".


  Commit: fd36fce755735daeb8bbf3f6590386f75794b1a4
      https://github.com/OpenSIPS/opensips/commit/fd36fce755735daeb8bbf3f6590386f75794b1a4
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  Revert 0f7e72efcd879ef0d11bf133c132140f80bc841d

A following fix will address this particular problem in a more generic way


  Commit: 14680bf8787207c4a69bc157517c1fcae36b73ba
      https://github.com/OpenSIPS/opensips/commit/14680bf8787207c4a69bc157517c1fcae36b73ba
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siptrace/siptrace.c
    M modules/siptrace/siptrace.h

  Log Message:
  -----------
  Propagate the tracing context via function param.

Inside SIPtrace module propagate the tracing context as function param instead of relying on the processing context - there are cases were we have no processing context (like retransmissions).


  Commit: 3bfee02f73df4b6944d559359a17a976707584aa
      https://github.com/OpenSIPS/opensips/commit/3bfee02f73df4b6944d559359a17a976707584aa
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Normalize registration expiries in AoR throttling


  Commit: b8c2571620f2a32d6e4da16c2046f442a3fa7ef1
      https://github.com/OpenSIPS/opensips/commit/b8c2571620f2a32d6e4da16c2046f442a3fa7ef1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M timer.c

  Log Message:
  -----------
  Fix missing handling on LAUNCH triggering in extra timer proc.


  Commit: a352dc42f7757819e57b16e04d7621c7bb03de2d
      https://github.com/OpenSIPS/opensips/commit/a352dc42f7757819e57b16e04d7621c7bb03de2d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tm/t_cancel.c
    M modules/tm/t_hooks.h
    M modules/tm/t_reply.c
    M modules/tm/timer.c

  Log Message:
  -----------
  Run TMCB_MSG_SENT_OUT callbacks only if the msg was successfully sent out.

This fix prevents tracing SIP messages which were actually not set out (due network related issues).


  Commit: 0852222534276fb8e779f48e5704dc71eb6b8d2e
      https://github.com/OpenSIPS/opensips/commit/0852222534276fb8e779f48e5704dc71eb6b8d2e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cgrates/cgrates_acc.c

  Log Message:
  -----------
  cgrates: return OK as a successful result

Before that it was returning 0, which was not consistent to what cgrates
was expecting


  Commit: 2348ee88c7598c72a4d0f787165e273b635a4b8e
      https://github.com/OpenSIPS/opensips/commit/2348ee88c7598c72a4d0f787165e273b635a4b8e
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M examples/acc-mysql.cfg
    M examples/acc.cfg
    M examples/exec_s5.cfg
    M examples/fork.cfg
    M examples/msilo.cfg
    M examples/nathelper.cfg
    M examples/pstn.cfg
    M examples/redirect.cfg
    M examples/replicate.cfg
    M examples/serial_183.cfg
    M modules/aaa_radius/README
    M modules/acc/README
    M modules/avpops/README
    M modules/call_center/README
    M modules/cgrates/README
    M modules/cpl_c/README
    M modules/db_mysql/README
    M modules/db_text/README
    M modules/dialog/README
    M modules/dns_cache/README
    M modules/event_rabbitmq/README
    M modules/event_routing/README
    M modules/identity/README
    M modules/imc/README
    M modules/mangler/README
    M modules/mangler/mangler.cfg
    M modules/mi_datagram/README
    M modules/msilo/README
    M modules/nat_traversal/README
    M modules/nathelper/README
    M modules/nathelper/examples/4to6.cfg
    M modules/nathelper/examples/alg.cfg
    M modules/nathelper/nathelper.cfg
    M modules/nathelper/nathelper_rtpp.cfg
    M modules/options/README
    M modules/osp/README
    M modules/osp/etc/sample-osp-opensips.cfg
    M modules/perl/README
    M modules/permissions/README
    M modules/pike/README
    M modules/presence/README
    M modules/proto_tls/README
    M modules/proto_ws/README
    M modules/proto_wss/README
    M modules/pua/README
    M modules/pua_bla/README
    M modules/pua_dialoginfo/README
    M modules/pua_usrloc/README
    M modules/pua_xmpp/README
    M modules/qos/README
    M modules/rabbitmq/README
    M modules/ratelimit/README
    M modules/registrar/README
    M modules/rls/README
    M modules/rtpengine/README
    M modules/rtpproxy/README
    M modules/rtpproxy/examples/4to6.cfg
    M modules/rtpproxy/examples/alg.cfg
    M modules/seas/README
    M modules/sipcapture/examples/opensips.cfg
    M modules/sipmsgops/README
    M modules/siptrace/README
    M modules/speeddial/README
    M modules/sst/README
    M modules/tls_mgm/README
    M modules/tm/README
    M modules/topology_hiding/README
    M modules/uac_redirect/README
    M modules/usrloc/README
    M modules/xml/README
    M net/proto_tcp/README
    M test/11.cfg
    M test/12.cfg
    M test/13.cfg
    M test/14.cfg
    M test/19.cfg
    M test/20.cfg
    M test/21.cfg
    M test/26.cfg
    M test/30.cfg
    M test/35.cfg
    M test/5.cfg
    M test/7.cfg
    M test/presence.cfg

  Log Message:
  -----------
  Fix more references to deprecated keywords in example cfgs and READMEs.


  Commit: e469195d4a3355e8e8bc9b44dbaae674df201a98
      https://github.com/OpenSIPS/opensips/commit/e469195d4a3355e8e8bc9b44dbaae674df201a98
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/event_xmlrpc/xmlrpc_send.c

  Log Message:
  -----------
  event_xmlrpc: rebuild buffer for each event

This prenvets crashes when multiple xmlrpc subscribers are used


  Commit: b69e8feb5d0c5d7a868d09974e9e206382c156c7
      https://github.com/OpenSIPS/opensips/commit/b69e8feb5d0c5d7a868d09974e9e206382c156c7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/acc.c
    M parser/msg_parser.c

  Log Message:
  -----------
  Improve some logs


  Commit: e175b9633cfa5d8727448b31f25f6df2806f1ad9
      https://github.com/OpenSIPS/opensips/commit/e175b9633cfa5d8727448b31f25f6df2806f1ad9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/README
    M modules/acc/doc/acc_admin.xml

  Log Message:
  -----------
  acc: Improve documentation


  Commit: 7160c2e336941fa4a4c3754ab7757fff379f2471
      https://github.com/OpenSIPS/opensips/commit/7160c2e336941fa4a4c3754ab7757fff379f2471
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/clusterer/README
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer.h
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml

  Log Message:
  -----------
  clusterer: add new clusterer MI commands for dispatching any other MI command in a cluster.

The "cluster_send_mi" command dispatches an MI command to be executed on specified node.
"cluster_broadcast_mi" dispatches a command to the entire cluster and also runs it locally.


  Commit: 8701cac4540e35c267763686e02c6fd40450114d
      https://github.com/OpenSIPS/opensips/commit/8701cac4540e35c267763686e02c6fd40450114d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.h
    M modules/cachedb_mongodb/cachedb_mongodb_json.c

  Log Message:
  -----------
  cachedb_mongodb: Fix several issues

    * fix startup crash when libmongoc is compiled with
	--disable-automatic-init-and-cleanup
    * add silent startup dependency with tls_mgm module, since
	both modules attempt to perform TLS initialization
    * add proper handling for NULL and ObjectID types
    * fix a bson iteration bug, causing find() to skip 1st doc
    * fix a bug in kvo_to_bson(), causing OpenSIPS to crash
    * fix compile errors on some platforms due to "str" var names

Based on an original report+patch provided by @jalung on GitHub.

Closes #1135
Closes #1163


  Commit: c715ba3c9ea6efe58db9d5f18ed3cf57518a8ef4
      https://github.com/OpenSIPS/opensips/commit/c715ba3c9ea6efe58db9d5f18ed3cf57518a8ef4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/usrloc/ucontact.c

  Log Message:
  -----------
  usrloc: Fix contact matching with db_cachedb

Based on an original report+patch provided by @jalung on GitHub.


  Commit: 847c83e008ae39fa7214511729a11eb5c61ae63f
      https://github.com/OpenSIPS/opensips/commit/847c83e008ae39fa7214511729a11eb5c61ae63f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/registrar/save.c

  Log Message:
  -----------
  registrar: Fix possible crash with remove()

When using usrloc "use_domain = 1", the registrar remove() function
could cause OpenSIPS to crash due to some uninitialized struct.

Based on an original report+patch provided by @jalung on GitHub.


  Commit: 2d0425af9aa5a14b9c20da08bcc64e5744476e20
      https://github.com/OpenSIPS/opensips/commit/2d0425af9aa5a14b9c20da08bcc64e5744476e20
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M cachedb/cachedb.c

  Log Message:
  -----------
  cachedb: Improve error reporting for bad connect strings

Based on an original report+patch provided by @jalung on GitHub.


  Commit: df5c05fd840fbb31eb798a914209f32284e72925
      https://github.com/OpenSIPS/opensips/commit/df5c05fd840fbb31eb798a914209f32284e72925
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb.c

  Log Message:
  -----------
  cachedb_mongodb: Avoid redundant mongoc_init() calls

mongoc_init() is using pthread_once() anyway, so we might as well
avoid calling it multiple times.


  Commit: 1ca1c5c4dbe2fd22bea11f04609a3f4048dd28ef
      https://github.com/OpenSIPS/opensips/commit/1ca1c5c4dbe2fd22bea11f04609a3f4048dd28ef
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/tm/t_funcs.c
    M modules/tm/t_fwd.c
    M modules/tm/t_fwd.h
    M modules/tm/t_reply.c
    M modules/tm/tm.c

  Log Message:
  -----------
  Fixed deadlock in CANCEL handling.

Reported by Maxim Sobolev


  Commit: 9b5c6fc59dc0eb7eda0f8d58ede0c8b4a1682c84
      https://github.com/OpenSIPS/opensips/commit/9b5c6fc59dc0eb7eda0f8d58ede0c8b4a1682c84
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  sipcapture: Fix primary key issues with PostgreSQL

Postgres handles zero-value auto-increment columns which are part of
composite primary keys differently than MySQL. Omitting the column
altogether from the INSERT statements rather than setting it to
zero leads to the expected behavior on both platforms
(i.e. "always try to insert a unique id").

Thanks to Jennifer Hashimoto for reporting and troubleshooting


  Commit: e9b63ab3500165be88c95a9ec747a610972d96d1
      https://github.com/OpenSIPS/opensips/commit/e9b63ab3500165be88c95a9ec747a610972d96d1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/statistics/stats_funcs.c

  Log Message:
  -----------
  statistics: Improve the stat group parser

Although we break backwards-compatibility, we actually fix the logic to be
closer to what users would expect. For example, a "method:register:auth"
statistic is more naturally interpreted as:

{ "group": "method", "stat": "register:auth" } (new behavior)

rather than:

{ "group": "method:register", "stat": "auth" } (old behavior).


  Commit: a3aea864f49dfbc4952c2b1f3a28fd512d847817
      https://github.com/OpenSIPS/opensips/commit/a3aea864f49dfbc4952c2b1f3a28fd512d847817
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/mid_registrar.c
    M modules/mid_registrar/ulcb.c

  Log Message:
  -----------
  mid_registrar: Improve resilience in some corner-case scenarios

    * do not crash with usrloc replication (although it's not supported)
    * handle registrar + mid_registrar concurrently

Fixes #1172
Fixes #1183


  Commit: 06f3ce43a3bac09a5eaa4577a2b7b14d0c717245
      https://github.com/OpenSIPS/opensips/commit/06f3ce43a3bac09a5eaa4577a2b7b14d0c717245
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  sipcapture: Fix segfault when proto_hep is not loaded


  Commit: 2af83651c18fa5e1532f0c30395426552520ec7a
      https://github.com/OpenSIPS/opensips/commit/2af83651c18fa5e1532f0c30395426552520ec7a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/sipcapture/README
    M modules/sipcapture/doc/sipcapture_admin.xml
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  sipcapture: Fix uneditable "custom_fieldX" columns

This allows the script writer to optionally provide data for the
"custom_field1", "custom_field2" and "custom_field3" columns using
sip_capture().


  Commit: 4419aa1ef480ff851eea441a05a8ae23b838e4e3
      https://github.com/OpenSIPS/opensips/commit/4419aa1ef480ff851eea441a05a8ae23b838e4e3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/acc_logic.c

  Log Message:
  -----------
  acc: prevent multiple CDRs in case of retransmissions


  Commit: 2f4cb1a869c2c180a2a2745eb62a19b2811c1ba4
      https://github.com/OpenSIPS/opensips/commit/2f4cb1a869c2c180a2a2745eb62a19b2811c1ba4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/dialog/dlg_cb.c

  Log Message:
  -----------
  dialog: do not allow callbacks in state DELETED

If these callbacks would have been registered, they will be never ran,
but the free function will still be called. This breaks some modules
(such as acc), which rely the function will be called.


  Commit: 6409a0a7337c1ae83817c540f4a70cf510e7ee30
      https://github.com/OpenSIPS/opensips/commit/6409a0a7337c1ae83817c540f4a70cf510e7ee30
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/sipmsgops/codecs.c
    M parser/sdp/sdp.c

  Log Message:
  -----------
  sipmsgops: Adapt SDP iteration code to the new format

Reported by Denis <denis7979 at mail.ru>

Fixes #1181


  Commit: aa54ce6bfb38b4466b089562f39503ecd855d26a
      https://github.com/OpenSIPS/opensips/commit/aa54ce6bfb38b4466b089562f39503ecd855d26a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix un-initialized global variable


  Commit: 5f7174dd984db62d164f858cd5fda075fc1f3f6b
      https://github.com/OpenSIPS/opensips/commit/5f7174dd984db62d164f858cd5fda075fc1f3f6b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/mid_registrar.h
    M modules/mid_registrar/save.c
    M modules/mid_registrar/ulcb.c

  Log Message:
  -----------
  mid_registrar: Improve De-REGISTER behavior in mode = 2

Do not auto-reply to de-registrations for the last contact in AoR throttling
mode, but forward them to main registrar first.

Additionally, avoid auto-generating De-REGISTER messages for contacts
that were deleted through a De-REGISTER to begin with (and did not
expire or get deleted through the remove() script function).


  Commit: 5b73dc527976f7e9256b0449a80cbf63e59ffdda
      https://github.com/OpenSIPS/opensips/commit/5b73dc527976f7e9256b0449a80cbf63e59ffdda
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix missing expiry values in mode = 2

Proper handling when forwarding REGISTER requests with missing Expires hf.


  Commit: 1f2892bcddda1b7b8db59223968fff59fcd6eb35
      https://github.com/OpenSIPS/opensips/commit/1f2892bcddda1b7b8db59223968fff59fcd6eb35
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix mem corruption on SIP retransmissions

The TMCB_RESPONSE_IN function gets called once per each retransmission,
and we want to avoid this in the mid_registrar code. Since the callbacks
themselves are mutually exclusive, we can get away with zeroizing our own
parameter after the first run.

A better way of fixing this would be to extend the tm callback API to
include SIP retransmission preferences.


  Commit: d8c907e283053c649bed093bfb8281bcca6ff7b3
      https://github.com/OpenSIPS/opensips/commit/d8c907e283053c649bed093bfb8281bcca6ff7b3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Properly update timestamps on usrloc inserts

This avoids a buggy forward of the 2nd REGISTER to the main registrar,
after which behavior would correct itself anyway. Affected modes: 1 and
2.

Also refactor a small code block.


  Commit: f334754416e64c01117356715fbdd33814ce471e
      https://github.com/OpenSIPS/opensips/commit/f334754416e64c01117356715fbdd33814ce471e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/mid_registrar.c
    M modules/mid_registrar/mid_registrar.h
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix a tm callback race condition

Commit f522b0ef089 is incomplete, since the tm's TMCB_RESPONSE_IN callbacks
are actually not mutually exclusive. We fix this by protecting the
tm parameter read/overwriting with an SHM'ized rw lock.

Reported by Chad Attermann <attermann at gmail.com>


  Commit: d5c2ff8e87513f8fba201056ee56a7e6e054a6a2
      https://github.com/OpenSIPS/opensips/commit/d5c2ff8e87513f8fba201056ee56a7e6e054a6a2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/mid_registrar.c
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Avoid some memory leaks on parsing errors

Also improve mri_free(): avoid redundant checks on non-NULL fields.

Suggested by Chad Attermann <attermann at gmail.com>


  Commit: e9d0e0d34c86df95749739bd1690bc2f52e1a09e
      https://github.com/OpenSIPS/opensips/commit/e9d0e0d34c86df95749739bd1690bc2f52e1a09e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/ratelimit/ratelimit.c

  Log Message:
  -----------
  ratelimit: fix buffer overflow when using SBT algorithm

Make sure the window doesn't overflow
Fixes #1176


  Commit: 4e7c05f3b392480ad28c02b7ef76cf5bd55c6477
      https://github.com/OpenSIPS/opensips/commit/4e7c05f3b392480ad28c02b7ef76cf5bd55c6477
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  siptrace: fix type for message DB column value, str instead of blob

(cherry picked from commit 36f43169e238a53f7c077832f4d968ca8be38b4f)


  Commit: 540dfa1e0dfbb6d3767a91b1eb6172d78b4ee7df
      https://github.com/OpenSIPS/opensips/commit/540dfa1e0dfbb6d3767a91b1eb6172d78b4ee7df
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/freeswitch/fs_api.h

  Log Message:
  -----------
  freeswitch: Update the assumed heartbeat interval

Assuming a 1 second heartbeat interval setting on the FS boxes (the minimum)
is a good compromise between performance and near-realtime rate of update for
the balancing weights.

(cherry picked from commit 2778a511646dc6e90f2320985bc159476a83639a)


  Commit: b6b4f7cf6b1040f2f9498224fb3f8ded346cd87f
      https://github.com/OpenSIPS/opensips/commit/b6b4f7cf6b1040f2f9498224fb3f8ded346cd87f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix commit 496e2dcc

Suggested by Chad Attermann <attermann at gmail.com>

Fixes #1178
Fixes #1187
Fixes #1184


  Commit: abf75aa7f3077f89a2de95236ae66751bb18e677
      https://github.com/OpenSIPS/opensips/commit/abf75aa7f3077f89a2de95236ae66751bb18e677
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis: add IRC notifications


  Commit: e77363d3cafe6c68d9adc8a0055d8cf67accc720
      https://github.com/OpenSIPS/opensips/commit/e77363d3cafe6c68d9adc8a0055d8cf67accc720
  Author: Eric Tamme <eric.tamme at onsip.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cpl_c/cpl_db.c

  Log Message:
  -----------
  free db_hdl and res after doing a db write - memory leak


  Commit: 53d3d8d0ae52818059ad59688b9d56ecfea9493c
      https://github.com/OpenSIPS/opensips/commit/53d3d8d0ae52818059ad59688b9d56ecfea9493c
  Author: Eric Tamme <eric.tamme at onsip.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cpl_c/cpl_db.c

  Log Message:
  -----------
  add back missing return


  Commit: 2e75c4a0dae69a9e1965e6efb8a33be285fbe776
      https://github.com/OpenSIPS/opensips/commit/2e75c4a0dae69a9e1965e6efb8a33be285fbe776
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_tls/proto_tls.c
    M modules/proto_wss/proto_wss.c
    M modules/tls_mgm/tls_conn_server.h

  Log Message:
  -----------
  proto_wss: write all TLS chunks under a single lock

Reported by Eric Tamme from OnSIP


  Commit: d4f4343a4eefbea7ee8a7b1f6508756a31bb1016
      https://github.com/OpenSIPS/opensips/commit/d4f4343a4eefbea7ee8a7b1f6508756a31bb1016
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M parser/parse_fline.c

  Log Message:
  -----------
  parse_fline: fix implicit cast sign


  Commit: ce567a0529aaa9a77f13a335d84de5dda575a7b4
      https://github.com/OpenSIPS/opensips/commit/ce567a0529aaa9a77f13a335d84de5dda575a7b4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_wss/proto_wss.c

  Log Message:
  -----------
  proto_wss: release lock even if write fails

Detected and fixed by Eric Tamme from OnSIP


  Commit: f80a2af28a9cb564914d68dad18b82cda16a8667
      https://github.com/OpenSIPS/opensips/commit/f80a2af28a9cb564914d68dad18b82cda16a8667
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M scripts/opensipsdbctl

  Log Message:
  -----------
  Fix bogus error message (probabaly copy paste error)

Credits for the fix go to Michael Mavroudis.

(cherry picked from commit 9e497ea4ab03c67cb073bdf0dccef2b16bff80e2)


  Commit: 248b256d95cd3cabce9304efea4adfb958bd783b
      https://github.com/OpenSIPS/opensips/commit/248b256d95cd3cabce9304efea4adfb958bd783b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  siptrace: allow capturing on any port

reported by Eric Tamme from OnSIP


  Commit: ac7d013f84f34ea1a91757e766fb4498e05c55f6
      https://github.com/OpenSIPS/opensips/commit/ac7d013f84f34ea1a91757e766fb4498e05c55f6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M packaging/debian/jessie/rules
    M packaging/debian/wheezy/rules

  Log Message:
  -----------
  add sqlite for jessie and wheezy

Fix provided by Nick Altman


  Commit: d8bb5ee3823b2ba5fd14400b8921f9586c6bf869
      https://github.com/OpenSIPS/opensips/commit/d8bb5ee3823b2ba5fd14400b8921f9586c6bf869
  Author: Eric Tamme <eric.tamme at onsip.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  check if trace id node exists before de-reference (fix segfault)


  Commit: b8358b3b2ea9e2e2399be22d42f9e1425370035c
      https://github.com/OpenSIPS/opensips/commit/b8358b3b2ea9e2e2399be22d42f9e1425370035c
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M db/schema/clusterer.xml
    M modules/clusterer/README
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer.h
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml
    M modules/clusterer/node_info.c
    M modules/clusterer/node_info.h
    M scripts/db_berkeley/opensips/clusterer
    M scripts/db_berkeley/opensips/version
    M scripts/dbtext/opensips/clusterer
    M scripts/dbtext/opensips/version
    M scripts/mysql/clusterer-create.sql
    M scripts/oracle/clusterer-create.sql
    M scripts/pi_http/clusterer-mod
    M scripts/pi_http/clusterer-table
    M scripts/pi_http/pi_framework.xml
    M scripts/postgres/clusterer-create.sql
    M scripts/sqlite/clusterer-create.sql

  Log Message:
  -----------
  clusterer: don't require any fields in the DB for the topology establishing mechanism


  Commit: addc4a96acb464ea59a17d18ca76e080e339e713
      https://github.com/OpenSIPS/opensips/commit/addc4a96acb464ea59a17d18ca76e080e339e713
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/clusterer/README
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer.h
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml
    M modules/clusterer/node_info.c
    M modules/clusterer/node_info.h

  Log Message:
  -----------
  clusterer: support dynamic topology discovery for nodes not provisioned in the DB.

For an instance running in non-DB mode, provisioning information about the current
node and other neighbours in the cluster should be defined in the script through
module parameters.


  Commit: b18261e5762b7aec742d071909587873fbb41a34
      https://github.com/OpenSIPS/opensips/commit/b18261e5762b7aec742d071909587873fbb41a34
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M mod_fix.c
    M modules/dialog/dialog.c
    M modules/dispatcher/dispatcher.c
    M modules/diversion/diversion.c
    M modules/drouting/drouting.c
    M modules/event_routing/event_routing.c
    M modules/load_balancer/load_balancer.c
    M modules/msilo/msilo.c
    M modules/nat_traversal/nat_traversal.c
    M modules/nathelper/nathelper.c

  Log Message:
  -----------
  Rework the integer fixup functions

The current integer fixup interface does not allow module developers to distinguish
between "missing integer parameter" and "zero value integer parameter".
This may lead to some unexpected/unintented behavior in some cases. For example,
this currently causes any type "0" drouting gateway to act as the special type "-1"
(global match).


  Commit: b867f6f9470b465490ad5594705d76a57cc7ec15
      https://github.com/OpenSIPS/opensips/commit/b867f6f9470b465490ad5594705d76a57cc7ec15
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: Fix mispelled error log


  Commit: 75788aeb79e171495996f054b6648578f0eaaca9
      https://github.com/OpenSIPS/opensips/commit/75788aeb79e171495996f054b6648578f0eaaca9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M mod_fix.c
    M mod_fix.h

  Log Message:
  -----------
  mod_fix: add fixup_free_spve functions


  Commit: d38e6270489938f948592fac46e2ddb9047d70ec
      https://github.com/OpenSIPS/opensips/commit/d38e6270489938f948592fac46e2ddb9047d70ec
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M msg_translator.c
    M msg_translator.h

  Log Message:
  -----------
  msg_translator: add contact_builder function


  Commit: cb6943162fb6289ec094f4daedf3e8bebae92561
      https://github.com/OpenSIPS/opensips/commit/cb6943162fb6289ec094f4daedf3e8bebae92561
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M parser/sdp/sdp.c
    M parser/sdp/sdp.h

  Log Message:
  -----------
  sdp: store msg body in streams and sessions


  Commit: 419330d3b89a47ea222fb1468587347a864751e0
      https://github.com/OpenSIPS/opensips/commit/419330d3b89a47ea222fb1468587347a864751e0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M msg_translator.c
    M msg_translator.h

  Log Message:
  -----------
  msg_translator: move OSS-boundary in header


  Commit: c3373592cb6ac54448b4a862ff39cf4c31b76556
      https://github.com/OpenSIPS/opensips/commit/c3373592cb6ac54448b4a862ff39cf4c31b76556
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    A modules/siprec/Makefile
    A modules/siprec/siprec.c
    A modules/siprec/src_logic.c
    A modules/siprec/src_logic.h
    A modules/siprec/src_sess.c
    A modules/siprec/src_sess.h
    A modules/siprec/srs_body.c
    A modules/siprec/srs_body.h
    A modules/siprec/srs_node.c
    A modules/siprec/srs_node.h

  Log Message:
  -----------
  siprec: initial poc

Only builds SDP from two different bodies


  Commit: 39012e3cb09fc96835b6a485e7821c4f1adcdf4a
      https://github.com/OpenSIPS/opensips/commit/39012e3cb09fc96835b6a485e7821c4f1adcdf4a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c
    A modules/rtpproxy/rtpproxy_load.h

  Log Message:
  -----------
  rtpproxy: add interface skeleton


  Commit: 80cb708bd8a070eb69967db011491cb0b2016756
      https://github.com/OpenSIPS/opensips/commit/80cb708bd8a070eb69967db011491cb0b2016756
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c
    M modules/siprec/src_logic.c
    M modules/siprec/src_logic.h
    M modules/siprec/srs_body.h

  Log Message:
  -----------
  siprec: use rtpproxy interface


  Commit: 1a121444f70ae6ea12ba38bd0cd26b4893d7c75e
      https://github.com/OpenSIPS/opensips/commit/1a121444f70ae6ea12ba38bd0cd26b4893d7c75e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c
    M modules/rtpproxy/rtpproxy_load.h

  Log Message:
  -----------
  rtpproxy: add start_recording command


  Commit: 2840e4ef127d1254d888b5fca688ce12a5b8955d
      https://github.com/OpenSIPS/opensips/commit/2840e4ef127d1254d888b5fca688ce12a5b8955d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M parser/sdp/sdp.c
    M parser/sdp/sdp.h

  Log Message:
  -----------
  sdp: store each attribute in stream and session


  Commit: 9e5f95f07114ba7997efc5992f2f1b08f6edd89b
      https://github.com/OpenSIPS/opensips/commit/9e5f95f07114ba7997efc5992f2f1b08f6edd89b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/rtpproxy_admin.xml
    M modules/rtpproxy/rtpproxy.c
    M modules/rtpproxy/rtpproxy_load.h

  Log Message:
  -----------
  rtpproxy: provide media stream to copy


  Commit: f0b555f4ff80ccc2bf421c00d40c784b769da00b
      https://github.com/OpenSIPS/opensips/commit/f0b555f4ff80ccc2bf421c00d40c784b769da00b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: fix typo in set checking


  Commit: 7b1e7d2c7b09a3578c6f3538134a66f86b2bcfea
      https://github.com/OpenSIPS/opensips/commit/7b1e7d2c7b09a3578c6f3538134a66f86b2bcfea
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/src_logic.c
    M modules/siprec/src_logic.h
    M modules/siprec/srs_body.c
    M modules/siprec/srs_body.h

  Log Message:
  -----------
  siprec: start recording for sessions


  Commit: 212f94e3784ba24c2edc28774d6c40547f397aff
      https://github.com/OpenSIPS/opensips/commit/212f94e3784ba24c2edc28774d6c40547f397aff
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c
    M modules/siprec/src_logic.c
    M modules/siprec/src_logic.h
    M modules/siprec/srs_body.c

  Log Message:
  -----------
  siprec: engage recording in initial request


  Commit: df5016faf16ba8841089a7c4bd9a2a1d10c8414d
      https://github.com/OpenSIPS/opensips/commit/df5016faf16ba8841089a7c4bd9a2a1d10c8414d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  utils: move base64 length compute to macros

This allows us to initialize data for static variables, such as uuid


  Commit: 88d998ffabd359975919f07ee574106cd7eb9084
      https://github.com/OpenSIPS/opensips/commit/88d998ffabd359975919f07ee574106cd7eb9084
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/Makefile
    M modules/siprec/siprec.c
    A modules/siprec/siprec_uuid.h
    M modules/siprec/src_logic.c
    M modules/siprec/src_sess.c
    M modules/siprec/src_sess.h
    M modules/siprec/srs_body.c
    M modules/siprec/srs_body.h

  Log Message:
  -----------
  siprec: add participants and uuids

Finished PoC


  Commit: 2108f12246f6bd2058b4c9ecbb3fc2bd75a7a97d
      https://github.com/OpenSIPS/opensips/commit/2108f12246f6bd2058b4c9ecbb3fc2bd75a7a97d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/src_logic.c
    M modules/siprec/src_sess.c
    M modules/siprec/src_sess.h

  Log Message:
  -----------
  siprec: move b2b key in shm


  Commit: 7be2c70260222d57678a7112bf6ddc325ff12d95
      https://github.com/OpenSIPS/opensips/commit/7be2c70260222d57678a7112bf6ddc325ff12d95
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c
    M modules/rtpproxy/rtpproxy_load.h

  Log Message:
  -----------
  rtpproxy: use a proxy instead of a set


  Commit: 20ee4807e8dc82b5b7cae4fd0d2828ab120b8ce4
      https://github.com/OpenSIPS/opensips/commit/20ee4807e8dc82b5b7cae4fd0d2828ab120b8ce4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c
    M modules/siprec/src_logic.c
    M modules/siprec/src_sess.c
    M modules/siprec/src_sess.h
    M modules/siprec/srs_body.c
    M modules/siprec/srs_body.h
    R modules/siprec/srs_node.c
    R modules/siprec/srs_node.h

  Log Message:
  -----------
  modules/siprec: use rtpproxy server instead of set


  Commit: a9d07a0efc555eb37aca0e5bbcac8a0604cc5caa
      https://github.com/OpenSIPS/opensips/commit/a9d07a0efc555eb37aca0e5bbcac8a0604cc5caa
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c
    M modules/siprec/src_logic.c
    M modules/siprec/src_sess.c
    M modules/siprec/src_sess.h
    M modules/siprec/srs_body.c

  Log Message:
  -----------
  siprec: add group support and caller/callee info


  Commit: 2da663884d079650976d74cf74eb8fe6d8a813cc
      https://github.com/OpenSIPS/opensips/commit/2da663884d079650976d74cf74eb8fe6d8a813cc
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c
    M modules/siprec/src_logic.c
    M modules/siprec/src_sess.c
    M modules/siprec/src_sess.h
    M modules/siprec/srs_body.c

  Log Message:
  -----------
  siprec: add ref logic to prevent session from being lost


  Commit: 3422903b1a0c08d9c7fb145f05ae37193e6765be
      https://github.com/OpenSIPS/opensips/commit/3422903b1a0c08d9c7fb145f05ae37193e6765be
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M mem/module_info.c
    M mem/shm_mem.c
    M mem/shm_mem.h

  Log Message:
  -----------
  memory: prevent crash at shutdown


  Commit: 339eb2f116e35d3db8a8857a33690624143cbde4
      https://github.com/OpenSIPS/opensips/commit/339eb2f116e35d3db8a8857a33690624143cbde4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/src_logic.c
    M modules/siprec/src_sess.c
    M modules/siprec/src_sess.h

  Log Message:
  -----------
  siprec: fix references


  Commit: a0f2dc2037a8dcb6ab14ee54770b661d374fc86c
      https://github.com/OpenSIPS/opensips/commit/a0f2dc2037a8dcb6ab14ee54770b661d374fc86c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c

  Log Message:
  -----------
  siprec: fix to checking


  Commit: ea916676d020c8289cec5ff8b2a5026c851dbfc3
      https://github.com/OpenSIPS/opensips/commit/ea916676d020c8289cec5ff8b2a5026c851dbfc3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c
    M modules/siprec/src_logic.c
    M modules/siprec/src_sess.c
    M modules/siprec/src_sess.h

  Log Message:
  -----------
  siprec: add socket support


  Commit: 0de2c241ddbaa82df576920ad3252ca14d0b5f54
      https://github.com/OpenSIPS/opensips/commit/0de2c241ddbaa82df576920ad3252ca14d0b5f54
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c

  Log Message:
  -----------
  siprec: fix modules dependencies


  Commit: c2ac22950be9e66f6c30fc6bbcdb77c3702a91db
      https://github.com/OpenSIPS/opensips/commit/c2ac22950be9e66f6c30fc6bbcdb77c3702a91db
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/src_logic.c

  Log Message:
  -----------
  siprec: fix dialog reference in case of error


  Commit: 4bdcac253e8e677847b8e651832d4da5ba02e575
      https://github.com/OpenSIPS/opensips/commit/4bdcac253e8e677847b8e651832d4da5ba02e575
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M bin_interface.c
    M bin_interface.h

  Log Message:
  -----------
  bin: build backet from buffer


  Commit: ed3698f62bd6f0a767b1afff77e95a286bb928a5
      https://github.com/OpenSIPS/opensips/commit/ed3698f62bd6f0a767b1afff77e95a286bb928a5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c
    M modules/siprec/src_logic.c
    M modules/siprec/src_logic.h
    M modules/siprec/src_sess.c
    M modules/siprec/src_sess.h
    M modules/siprec/srs_body.c
    M modules/siprec/srs_body.h

  Log Message:
  -----------
  siprec: make sessions restart persistent


  Commit: 3d7729c01649ba658f5504235e6c64ef2c800fc6
      https://github.com/OpenSIPS/opensips/commit/3d7729c01649ba658f5504235e6c64ef2c800fc6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c

  Log Message:
  -----------
  siprec: cleanup


  Commit: f3c1770240687900a0c2cb814e969a20ca2be39e
      https://github.com/OpenSIPS/opensips/commit/f3c1770240687900a0c2cb814e969a20ca2be39e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c
    M modules/siprec/src_logic.c
    M modules/siprec/src_logic.h
    M modules/siprec/src_sess.c
    M modules/siprec/src_sess.h
    M modules/siprec/srs_body.c
    M modules/siprec/srs_body.h

  Log Message:
  -----------
  siprec: add support for reinvites


  Commit: f98231883ea3c5f0ae5021e01be8d45bdbba9ebf
      https://github.com/OpenSIPS/opensips/commit/f98231883ea3c5f0ae5021e01be8d45bdbba9ebf
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c

  Log Message:
  -----------
  siprec: remove useless functions and stats


  Commit: dafb01d9f55fd516a828eaa6b683dfc876828ee3
      https://github.com/OpenSIPS/opensips/commit/dafb01d9f55fd516a828eaa6b683dfc876828ee3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c
    M modules/siprec/src_logic.c
    M modules/siprec/srs_body.c
    M modules/siprec/srs_body.h

  Log Message:
  -----------
  siprec: make media port configurable


  Commit: 3180cba5872ff1c4b1c56dc93acb28f51f356e0f
      https://github.com/OpenSIPS/opensips/commit/3180cba5872ff1c4b1c56dc93acb28f51f356e0f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c
    M modules/siprec/src_logic.c
    M modules/siprec/src_logic.h
    M modules/siprec/src_sess.c
    M modules/siprec/src_sess.h

  Log Message:
  -----------
  siprec: add failover logic


  Commit: 5ae4c7868edc24b3ea11ee0c7a3104e89f0687ae
      https://github.com/OpenSIPS/opensips/commit/5ae4c7868edc24b3ea11ee0c7a3104e89f0687ae
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec.c
    A modules/siprec/siprec_body.c
    A modules/siprec/siprec_body.h
    A modules/siprec/siprec_logic.c
    A modules/siprec/siprec_logic.h
    A modules/siprec/siprec_sess.c
    A modules/siprec/siprec_sess.h
    R modules/siprec/src_logic.c
    R modules/siprec/src_logic.h
    R modules/siprec/src_sess.c
    R modules/siprec/src_sess.h
    R modules/siprec/srs_body.c
    R modules/siprec/srs_body.h

  Log Message:
  -----------
  siprec: refactor files names


  Commit: 1245434a0682bc57fe1bd00b5a6f5b33071008e3
      https://github.com/OpenSIPS/opensips/commit/1245434a0682bc57fe1bd00b5a6f5b33071008e3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    A modules/siprec/README
    A modules/siprec/doc/siprec.xml
    A modules/siprec/doc/siprec_admin.xml

  Log Message:
  -----------
  siprec: add README file


  Commit: b6e28fac301935afcac3ffe84ff9a85d80b867c6
      https://github.com/OpenSIPS/opensips/commit/b6e28fac301935afcac3ffe84ff9a85d80b867c6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M .travis.yml
    M Makefile.conf.template

  Log Message:
  -----------
  siprec: add libuuid dependency


  Commit: 2b8825d509173e54a5d5b65b8d94eaadc98e5ec5
      https://github.com/OpenSIPS/opensips/commit/2b8825d509173e54a5d5b65b8d94eaadc98e5ec5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/Makefile
    M modules/siprec/siprec_uuid.h

  Log Message:
  -----------
  siprec: fix uuid lib path


  Commit: bfd1c3d99e6a2e04e4e9dec9f86062a9dfc7c844
      https://github.com/OpenSIPS/opensips/commit/bfd1c3d99e6a2e04e4e9dec9f86062a9dfc7c844
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/Makefile
    M modules/siprec/siprec_uuid.h

  Log Message:
  -----------
  Revert "siprec: fix uuid lib path"

This reverts commit aa2cb9a90afdfa51cfc7841a6c8d8de74281d4ab.


  Commit: b1b44ac4d645c7a374d741e750f4ab34052808f1
      https://github.com/OpenSIPS/opensips/commit/b1b44ac4d645c7a374d741e750f4ab34052808f1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M .travis.yml
    M Makefile.conf.template

  Log Message:
  -----------
  siprec: fix uuid lib dependency


  Commit: fd3ed392ff3f19726922388b7ddf44bc65d42dd6
      https://github.com/OpenSIPS/opensips/commit/fd3ed392ff3f19726922388b7ddf44bc65d42dd6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M packaging/debian/common/changelog
    M packaging/debian/common/control
    M packaging/debian/common/copyright
    M packaging/debian/common/rules
    M packaging/debian/jessie/control
    M packaging/debian/jessie/rules
    M packaging/debian/stretch/control
    M packaging/debian/stretch/rules
    M packaging/debian/wheezy/control
    M packaging/debian/wheezy/rules

  Log Message:
  -----------
  siprec: add packaging


  Commit: de2bf76427b4efa0ed052ceee6c89b7bcf995c99
      https://github.com/OpenSIPS/opensips/commit/de2bf76427b4efa0ed052ceee6c89b7bcf995c99
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/clusterer/clusterer.c

  Log Message:
  -----------
  clusterer: fix ID parameters for script message received events


  Commit: fdcf8f5b3740282e014bef5dd19f21173de088d7
      https://github.com/OpenSIPS/opensips/commit/fdcf8f5b3740282e014bef5dd19f21173de088d7
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  siprec: add rpm packaging


  Commit: 2353d42fb6f3b09ac713269cacc0d45b33190b85
      https://github.com/OpenSIPS/opensips/commit/2353d42fb6f3b09ac713269cacc0d45b33190b85
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/README
    M modules/siprec/doc/siprec_admin.xml

  Log Message:
  -----------
  siprec: remove passive recorder to avoid any confusion


  Commit: db7d5154174a1e48e19c4c381b20957a32ec525d
      https://github.com/OpenSIPS/opensips/commit/db7d5154174a1e48e19c4c381b20957a32ec525d
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/clusterer/README
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml

  Log Message:
  -----------
  clusterer: add script function to check if an IP address belongs to the cluster nodes


  Commit: a9b9ec7ec4c6f3ed11e28ac5ae9c390dfcb71dfd
      https://github.com/OpenSIPS/opensips/commit/a9b9ec7ec4c6f3ed11e28ac5ae9c390dfcb71dfd
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cachedb_redis/README
    M modules/cachedb_redis/cachedb_redis.c
    M modules/cachedb_redis/cachedb_redis_dbase.c
    M modules/cachedb_redis/cachedb_redis_dbase.h
    M modules/cachedb_redis/cachedb_redis_utils.c
    M modules/cachedb_redis/doc/cachedb_redis_admin.xml

  Log Message:
  -----------
  cachedb_redis: Do not abort startup if Redis is unreachable

This patch add the "shutdown_on_error" modparam, allowing the script
writer to control the startup behavior of OpenSIPS (ignore/abort) when
Redis is unreachable.

Many thanks to Bernard Buitenhuis for sponsoring this feature.


  Commit: c79890618211fce94c77074babb4e37e7acda6de
      https://github.com/OpenSIPS/opensips/commit/c79890618211fce94c77074babb4e37e7acda6de
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/acc_logic.c

  Log Message:
  -----------
  acc: fix possbile memory leak when calling do_accounting() on CANCEL while "report_cancels" modparam not set


  Commit: 4063540331229ab92ad03d78e2fb4a62e1020464
      https://github.com/OpenSIPS/opensips/commit/4063540331229ab92ad03d78e2fb4a62e1020464
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: Fix verbose log line


  Commit: 761bb011a961e05fb296621951f06c902ac4228c
      https://github.com/OpenSIPS/opensips/commit/761bb011a961e05fb296621951f06c902ac4228c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M lib/cJSON.c
    M lib/cJSON.h
    M modules/proto_hep/hep.c

  Log Message:
  -----------
  proto_hep: Fix pkg memory leaks


  Commit: 7f81c281e839f4d423efc581e569767a649bc816
      https://github.com/OpenSIPS/opensips/commit/7f81c281e839f4d423efc581e569767a649bc816
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/dns_cache/dns_cache.c

  Log Message:
  -----------
  dns_cache: Avoid incorrect error logs during startup


  Commit: c5aa7326dde63282c47dfe316c294630f2856b02
      https://github.com/OpenSIPS/opensips/commit/c5aa7326dde63282c47dfe316c294630f2856b02
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/auth/challenge.c
    M modules/drouting/drouting.c
    M modules/regex/regex_mod.c

  Log Message:
  -----------
  Integer fixups rework: Complete commit f37527dcf


  Commit: ab05a6c25192ca19538c1db29ea835e56339e90c
      https://github.com/OpenSIPS/opensips/commit/ab05a6c25192ca19538c1db29ea835e56339e90c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M db/schema/dialplan.xml
    M modules/dialplan/dp_repl.c
    M scripts/mysql/dialplan-create.sql
    M scripts/oracle/dialplan-create.sql
    M scripts/postgres/dialplan-create.sql
    M scripts/sqlite/dialplan-create.sql

  Log Message:
  -----------
  Increased the attr size for dialplan rules to 256

Also be more tolerent with long attr strings. Simply truncate them rather than spitting an error.
Reported by Pete Kelly
Closes #1131


  Commit: d0f405deec389bb67538130f0ac1e2b318a5d517
      https://github.com/OpenSIPS/opensips/commit/d0f405deec389bb67538130f0ac1e2b318a5d517
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/drouting/doc/drouting_admin.xml

  Log Message:
  -----------
  drouting docs: Clarify behavior for the gateway "type" parameter

(cherry picked from commit 9cf184ec74731bf6a4709ebdfacd09b0bc171365)


  Commit: 100dd9b914a0c5deba83038743a193cb524f2a1c
      https://github.com/OpenSIPS/opensips/commit/100dd9b914a0c5deba83038743a193cb524f2a1c
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_cb.c

  Log Message:
  -----------
  dialog: fix a runtime bug with DLGCB_LOADED callbacks

Relying on the fact that all modules that register dialog callbacks are initialised
after the dialog module (thanks to module dependencies), we can run all DLGCB_LOADED
callbacks at registration time and also keep them in a list for calling them later
(i.e reloading from database via MI cmd or receiving replicated dialog).

This fixes a series of bugs where the DLGCB_LOADED callback is not run during, e.g.
"dlg_db_sync" MI command or received replicated dialogs which do not have their
callbacks installed or run.


  Commit: b3896c51e85b23a579af48c3d890dc2ee30b9110
      https://github.com/OpenSIPS/opensips/commit/b3896c51e85b23a579af48c3d890dc2ee30b9110
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: also share module flags when replicating dialogs


  Commit: 065bce7e310ace76ef9a3dab1a696ae7fc89d731
      https://github.com/OpenSIPS/opensips/commit/065bce7e310ace76ef9a3dab1a696ae7fc89d731
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M strcommon.c

  Log Message:
  -----------
  Fix escaping URI parameters - skip alphanumerical chars.

Reported by Ben Newlin on "user" mailing list.


  Commit: 1ec4621c27ff85418bddd2914ed5e9121dbeaa2c
      https://github.com/OpenSIPS/opensips/commit/1ec4621c27ff85418bddd2914ed5e9121dbeaa2c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/proto_sctp/README
    M modules/proto_sctp/doc/proto_sctp_admin.xml
    M modules/proto_tls/README
    M modules/proto_tls/doc/proto_tls_admin.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/proto_ws_admin.xml
    M modules/proto_wss/README
    M modules/proto_wss/doc/proto_wss_admin.xml
    M net/proto_tcp/README
    M net/proto_tcp/doc/proto_tcp_admin.xml
    M net/proto_udp/README
    M net/proto_udp/doc/proto_udp_admin.xml

  Log Message:
  -----------
  Improved explanation on the "port" parameter.

The port parameter sets the default port for the protocol, affecting both listeners and sending URIs.


  Commit: 64136e8e9ae588d5a332566d0e077a0710210db1
      https://github.com/OpenSIPS/opensips/commit/64136e8e9ae588d5a332566d0e077a0710210db1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cachedb_redis/README

  Log Message:
  -----------
  Regenerate to cover the "shutdown_on_error" new parameter


  Commit: 854e0c79f80dc3fa5da6b5b24970c2c8dd5aa565
      https://github.com/OpenSIPS/opensips/commit/854e0c79f80dc3fa5da6b5b24970c2c8dd5aa565
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/alias_db/README
    M modules/auth_aaa/README
    M modules/b2b_entities/README
    M modules/b2b_logic/README
    M modules/b2b_sca/README
    M modules/cachedb_local/README
    M modules/cachedb_memcached/README
    M modules/cachedb_sql/README
    M modules/call_center/README
    M modules/call_control/README
    M modules/db_text/README
    M modules/dialog/README
    M modules/dispatcher/README
    M modules/diversion/README
    M modules/domainpolicy/README
    M modules/drouting/README
    M modules/emergency/README
    M modules/event_datagram/README
    M modules/event_rabbitmq/README
    M modules/event_route/README
    M modules/event_routing/README
    M modules/group/README
    M modules/load_balancer/README
    M modules/lua/README
    M modules/mathops/README
    M modules/mi_datagram/README
    M modules/nathelper/README
    M modules/peering/README
    M modules/perl/README
    M modules/permissions/README
    M modules/presence/README
    M modules/presence_callinfo/README
    M modules/presence_dialoginfo/README
    M modules/presence_xml/README
    M modules/pua/README
    M modules/pua_dialoginfo/README
    M modules/pua_mi/README
    M modules/ratelimit/README
    M modules/registrar/README
    M modules/rls/README
    M modules/rr/README
    M modules/rtpengine/README
    M modules/rtpproxy/README
    M modules/sipmsgops/README
    M modules/siprec/README
    M modules/textops/README
    M modules/tls_mgm/README
    M modules/tm/README
    M modules/uac/README
    M modules/uac_auth/README
    M modules/uac_redirect/README
    M modules/uri/README
    M modules/usrloc/README
    M modules/xcap_client/README

  Log Message:
  -----------
  README files regenerated


  Commit: 6fdfcc65ad7b8c13370c54909a1b99c570fb46d4
      https://github.com/OpenSIPS/opensips/commit/6fdfcc65ad7b8c13370c54909a1b99c570fb46d4
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  Fix init of the cachedb related module params

Init val_prefix, noval_prefix and size_prefix before general cachedb init.
Credits go to @Tinet-AaronAn
Closes #1203


  Commit: 78fc8ec6cb7b0dd779808d1a876fdbb618aab252
      https://github.com/OpenSIPS/opensips/commit/78fc8ec6cb7b0dd779808d1a876fdbb618aab252
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M db/db.c

  Log Message:
  -----------
  db: do not compute capabilities

Do not compute capabilities for modules that pre-populate them. This
fixes an issue where the db engine was overwriting the db capabilities
of db_virtual.

Thanks go to Jonathan Hulme for reporting and providing testing
environment


  Commit: c8f6a4abe8ffbe628079cc1f861baaeeb659737a
      https://github.com/OpenSIPS/opensips/commit/c8f6a4abe8ffbe628079cc1f861baaeeb659737a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/db_virtual/db_virtual.h

  Log Message:
  -----------
  db_virtual: provide DELETE capabilities for ROUND mode


  Commit: 80921c9c865a2195cc53dfe2b3d43b45a48694ae
      https://github.com/OpenSIPS/opensips/commit/80921c9c865a2195cc53dfe2b3d43b45a48694ae
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/db_virtual/db_virtual.h

  Log Message:
  -----------
  db_virtual: fix previous commit


  Commit: 186a3c87825a26246934d8b073f78efb8e31f7d5
      https://github.com/OpenSIPS/opensips/commit/186a3c87825a26246934d8b073f78efb8e31f7d5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix crash on missing Contact ";expires"

Correctly process contact expirations on 200 OK replies
in "db_mode = 1".

Reported by Jim DeVito.


  Commit: 4b1f6eacfee36538b1c5b4cd555bfb4ff8f4707e
      https://github.com/OpenSIPS/opensips/commit/4b1f6eacfee36538b1c5b4cd555bfb4ff8f4707e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/mid_registrar.c
    M modules/mid_registrar/mid_registrar.h
    M modules/mid_registrar/save.c
    M modules/mid_registrar/ulcb.c

  Log Message:
  -----------
  mid_registrar: Add "next hop" awareness

The mid_registrar must preserve the values of both $ru and $du, in
order to replicate the same behavior for its De-REGISTER requests.


  Commit: dc9ee5072d35cad9810300f369783561a4b209dc
      https://github.com/OpenSIPS/opensips/commit/dc9ee5072d35cad9810300f369783561a4b209dc
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  Fixed trace URI identification for the non-SIP protos.

In the e59a7399e982ef58a7a12ffb53d8aa8432f537ab commit, I broke the hash based matching logic, so tracing for non-sip (xlog, net, rest) was affected.


  Commit: f07c5b9e0ac086773842b93721aac0dac123141f
      https://github.com/OpenSIPS/opensips/commit/f07c5b9e0ac086773842b93721aac0dac123141f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: fix uninitialized warning


  Commit: 98807f37416a458b72de6bc9020528c2f8a6d017
      https://github.com/OpenSIPS/opensips/commit/98807f37416a458b72de6bc9020528c2f8a6d017
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: fix uninitialzied warning


  Commit: aecac00897853e3721ce9122658e191fdc9fe77e
      https://github.com/OpenSIPS/opensips/commit/aecac00897853e3721ce9122658e191fdc9fe77e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  mongodb: fix warning


  Commit: 0eff3bbca4e4fd721a00f4c34637cc146c80d99a
      https://github.com/OpenSIPS/opensips/commit/0eff3bbca4e4fd721a00f4c34637cc146c80d99a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/sst/sst_handlers.c

  Log Message:
  -----------
  sst: fix MIN-SE header printing


  Commit: 06032c20d7ec0a1e51f448c00af08663d79ae44f
      https://github.com/OpenSIPS/opensips/commit/06032c20d7ec0a1e51f448c00af08663d79ae44f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M packaging/debian/common/control

  Log Message:
  -----------
  debian: add libbson-dev dependency


  Commit: 78b451e605428db43cc1128231824a2ceb758d69
      https://github.com/OpenSIPS/opensips/commit/78b451e605428db43cc1128231824a2ceb758d69
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/sms/libsms_modem.c

  Log Message:
  -----------
  sms: increase pin buffer to avoid warnings


  Commit: 85f502cde320803c4db3ada65e90b409bfb265be
      https://github.com/OpenSIPS/opensips/commit/85f502cde320803c4db3ada65e90b409bfb265be
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/dialog/dlg_hash.c

  Log Message:
  -----------
  Fix creating the profiles list in the dlg_list_ctx MI command

The profiles are not array, but list as they have different names for the nodes.Reported by Vladimir Dubov (@vovad)
Closes #1166


  Commit: 41e766b1749b98151ed21d986daba75194586ebc
      https://github.com/OpenSIPS/opensips/commit/41e766b1749b98151ed21d986daba75194586ebc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/clusterer/clusterer_mod.c

  Log Message:
  -----------
  clusterer: Add "proto_bin" module dependency


  Commit: 2ccd86903064a35454a205abd645a4985e0750e2
      https://github.com/OpenSIPS/opensips/commit/2ccd86903064a35454a205abd645a4985e0750e2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M Makefile
    A packaging/debian/changelog
    R packaging/debian/common/changelog
    R packaging/debian/common/compat
    R packaging/debian/common/control
    R packaging/debian/common/copyright
    R packaging/debian/common/opensips.README.Debian
    R packaging/debian/common/opensips.default
    R packaging/debian/common/opensips.examples
    R packaging/debian/common/opensips.init
    R packaging/debian/common/opensips.lintian-overrides
    R packaging/debian/common/opensips.manpages
    R packaging/debian/common/opensips.postinst
    R packaging/debian/common/opensips.service
    R packaging/debian/common/opensips.tmpfile
    R packaging/debian/common/rules
    R packaging/debian/common/source/format
    R packaging/debian/common/watch
    A packaging/debian/compat
    A packaging/debian/control
    A packaging/debian/copyright
    R packaging/debian/jessie/control
    R packaging/debian/jessie/rules
    A packaging/debian/opensips-mongodb-module.preinst
    A packaging/debian/opensips.README.Debian
    A packaging/debian/opensips.default
    A packaging/debian/opensips.examples
    A packaging/debian/opensips.init
    A packaging/debian/opensips.lintian-overrides
    A packaging/debian/opensips.manpages
    A packaging/debian/opensips.postinst
    A packaging/debian/opensips.service
    A packaging/debian/opensips.tmpfile
    A packaging/debian/rules
    A packaging/debian/source/format
    R packaging/debian/stretch/control
    R packaging/debian/stretch/rules
    A packaging/debian/watch
    R packaging/debian/wheezy/control
    R packaging/debian/wheezy/rules

  Log Message:
  -----------
  move all debian files in a single directory


  Commit: bbc7a6dcf09030ba6ca59d528fcef46b12e65ef0
      https://github.com/OpenSIPS/opensips/commit/bbc7a6dcf09030ba6ca59d528fcef46b12e65ef0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siprec/siprec_sess.c

  Log Message:
  -----------
  siprec: remove quotes if used


  Commit: 077d132cafdfec1e77c69c1792a180b4b51c006e
      https://github.com/OpenSIPS/opensips/commit/077d132cafdfec1e77c69c1792a180b4b51c006e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M packaging/debian/control

  Log Message:
  -----------
  debian: add lsb-release dependency

Suggested by Nick Altmann to fix stretch and xenial build errros


  Commit: 293b870595cf4cd3afa89237b99544262d907284
      https://github.com/OpenSIPS/opensips/commit/293b870595cf4cd3afa89237b99544262d907284
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/dispatcher/README
    M modules/dispatcher/doc/dispatcher_admin.xml
    M modules/load_balancer/README
    M modules/load_balancer/doc/load_balancer_admin.xml

  Log Message:
  -----------
  doc: Fix formulas for FS-driven routing

Also add a useful example


  Commit: e053227b2b0f1ad3e5c53c179f97c0ab00d052a6
      https://github.com/OpenSIPS/opensips/commit/e053227b2b0f1ad3e5c53c179f97c0ab00d052a6
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M db/schema/dialplan.xml
    M scripts/mysql/dialplan-create.sql
    M scripts/oracle/dialplan-create.sql
    M scripts/postgres/dialplan-create.sql
    M scripts/sqlite/dialplan-create.sql

  Log Message:
  -----------
  Reduce char size to 255.

Old 256 size is loo large for char and blob should be used.
Reproted by @adivjoseph in the #8ce5a92 commit.


  Commit: b3be4636b0a692f1cfb556b7b3e14a0ba3008697
      https://github.com/OpenSIPS/opensips/commit/b3be4636b0a692f1cfb556b7b3e14a0ba3008697
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/db_sqlite/db_sqlite.c

  Log Message:
  -----------
  db_sqlite: let the DB interface determine the capabilities

This prevens the module from advertising bogus capabilities - in this
case the sqlite module was saying that it has the ASYNC RAW queries
support, although it didn't.

Reported by Wilhelm Lundgren on list


  Commit: 50d81dd277e0c8ef80f29cb5a46c90b3f51a5c4a
      https://github.com/OpenSIPS/opensips/commit/50d81dd277e0c8ef80f29cb5a46c90b3f51a5c4a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: do not use replace bson for delete

Prevent the module for using replace-* attributes for any other
operation than offer or answer. This allows you to use the
rtpengine_manage() function easier.

Reported by Edwin Hoff


  Commit: 7f74df93b383b48c3f7bae23255d21f1f87f64da
      https://github.com/OpenSIPS/opensips/commit/7f74df93b383b48c3f7bae23255d21f1f87f64da
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M Makefile.defs

  Log Message:
  -----------
  clang: Add "-Wall" flag


  Commit: aa8e489ea0fb67327a0e3361114b1c6389450226
      https://github.com/OpenSIPS/opensips/commit/aa8e489ea0fb67327a0e3361114b1c6389450226
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M mem/f_malloc.c
    M mem/hp_malloc.c
    M mem/module_info.c
    M mem/module_info.h
    M mem/q_malloc.c

  Log Message:
  -----------
  mod stats: Fix unhandled corner-case

Do not crash on NULL pointer input.


  Commit: 4ed59d58007324d516ccefd821ee5b7798652387
      https://github.com/OpenSIPS/opensips/commit/4ed59d58007324d516ccefd821ee5b7798652387
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/usrloc/udomain.c

  Log Message:
  -----------
  usrloc API: Make get_urecord() more robust

Zeroize the output pointer if record is not found.


  Commit: dd54c28705769abedda81b0998b4821fd362fd44
      https://github.com/OpenSIPS/opensips/commit/dd54c28705769abedda81b0998b4821fd362fd44
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/usrloc/dlist.c

  Log Message:
  -----------
  usrloc: Fix locking for contact_id-based deletion

The delete_ucontact_from_id(), get_ucontact_from_id() pair of functions
were masking possible code execution paths which would lead to unsafe memory
access. This, in turn, would cause the ping_checker_timer() job of nathelper to
occasionally crash and burn.

Reported by solo at astercc.org.


  Commit: e45eaaaf9449ec1f97818c26bd3958d9cadb91f3
      https://github.com/OpenSIPS/opensips/commit/e45eaaaf9449ec1f97818c26bd3958d9cadb91f3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  Fix int2str() function signature

Although implemented to be able to print 64-bit integers, int2str()
downcasted all of its parameters to an "unsigned long" type, thus
breaking behavior on 32-bit architectures.


  Commit: b842776a0dcc455304c194c9a1b66c46ee5a36e6
      https://github.com/OpenSIPS/opensips/commit/b842776a0dcc455304c194c9a1b66c46ee5a36e6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  Add str2int64() parsing function


  Commit: 99a91281adf976f20feb6c5938794a9f5c81024b
      https://github.com/OpenSIPS/opensips/commit/99a91281adf976f20feb6c5938794a9f5c81024b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/usrloc/udomain.h
    M modules/usrloc/urecord.c
    M modules/usrloc/urecord.h
    M modules/usrloc/usrloc.c
    M modules/usrloc/usrloc.h

  Log Message:
  -----------
  usrloc: Add some useful API functions

    * get_ucontact_from_id() - fetch both ct and rec from an id
    * next_contact_id() - fetch and advance the current ct counter


  Commit: dac52709707ee25364e7be8308134700ad2212dc
      https://github.com/OpenSIPS/opensips/commit/dac52709707ee25364e7be8308134700ad2212dc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  usrloc: Allow forced IDs during contact inserts


  Commit: 1294fc1c008d079feab6fd6b5642daac3bc5e149
      https://github.com/OpenSIPS/opensips/commit/1294fc1c008d079feab6fd6b5642daac3bc5e149
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/usrloc/udomain.c
    M modules/usrloc/urecord.c
    M modules/usrloc/urecord.h

  Log Message:
  -----------
  usrloc: Add urecord reference counting mechanism

This mechanism is required by the mid-registrar, which needs to
"reserve" contact IDs while the main registrar decides upon them.
This means that a blank urecord structure must be kept alive during
this process.

By reference counting the blank urecord structures, we prevent them
from being cleared by the timer before the outgoing registrations
get a chance to receive a reply.


  Commit: 0ae970b63adfadcb1974d110641f0a764ce88669
      https://github.com/OpenSIPS/opensips/commit/0ae970b63adfadcb1974d110641f0a764ce88669
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix possible crash in mirror mode


  Commit: f6bf4514e6d3d96d22e5b16c726d380cb295c28a
      https://github.com/OpenSIPS/opensips/commit/f6bf4514e6d3d96d22e5b16c726d380cb295c28a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/lookup.c
    M modules/mid_registrar/lookup.h
    M modules/mid_registrar/mid_registrar.c
    M modules/mid_registrar/mid_registrar.h
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix NAT issues in "contact" insertion mode

This patch completely reworks the saving/matching logic with regards
to the SIP contacts generated by the mid-registrar. It is only relevant
to working modes "0" (mirror) and "1" (contact throttling).

The former logic (encoding the requests's Contact as a URI parameter
of the outgoing contact) was somewhat stateless, as it would forward
requests to the mid-registrar's contacts directly to their actual Contact
URIs (UA side). When NAT comes into play, this no longer works well.

Fortunately, the user location already handles this problem. Thus, we
change the mid-registrar to advertise contact IDs instead of the device's
contact. As requests arrive for the contact IDs, we are easily able to
look up their corresponding user location AoR, contact, along with any
other useful information for NAT traversal.


  Commit: d1ee17c39958e1483886d380d4584f5f4b7d6e01
      https://github.com/OpenSIPS/opensips/commit/d1ee17c39958e1483886d380d4584f5f4b7d6e01
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/mid_registrar.h
    M modules/mid_registrar/save.c
    M modules/mid_registrar/ulcb.c

  Log Message:
  -----------
  mid_registrar: Fix CSeq handling for De-REGISTERs

Keep track of outgoing CSeq values and use this value during
self-generated de-registrations, rather than using the tm's built-in
default CSeq value of "13".


  Commit: 463d192bdee6e010982b0cd843abedeeadea98d0
      https://github.com/OpenSIPS/opensips/commit/463d192bdee6e010982b0cd843abedeeadea98d0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M cfg.y
    M modules/acc/acc.c
    M modules/acc/acc_logic.c
    M modules/avpops/avpops_impl.c
    M modules/exec/exec.c
    M modules/mi_json/http_fnc.c
    M modules/ratelimit/ratelimit_helper.c
    M modules/rtpproxy/rtpproxy.c
    M modules/seas/event_dispatcher.c
    M modules/seas/utils.c
    M modules/sipmsgops/sipmsgops.c
    M modules/usrloc/urecord.c
    M pvar.c
    M route.c
    M route.h
    M time_rec.c
    M ut.h

  Log Message:
  -----------
  Fix Clang "unused function" warnings

Also add a useful function/variable attribute, ALLOW_UNUSED.


  Commit: e5b5a9b6b74aa6cbd0ff56060c6b059cdb73eddb
      https://github.com/OpenSIPS/opensips/commit/e5b5a9b6b74aa6cbd0ff56060c6b059cdb73eddb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cgrates/cgrates_acc.c
    M modules/cgrates/cgrates_common.c
    M modules/cgrates/cgrates_engine.c
    M modules/db_perlvdb/perlvdbfunc.c
    M modules/perl/Makefile
    M modules/tls_mgm/tls_domain.c

  Log Message:
  -----------
  Fix Clang warnings for excluded modules

Completes commit 8bb5929d58


  Commit: f1c0d632a483ebc1ee34411d7e4d075a28355c93
      https://github.com/OpenSIPS/opensips/commit/f1c0d632a483ebc1ee34411d7e4d075a28355c93
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  usrloc: Fix bad logical condition

Reported by Răzvan Crainea.


  Commit: acdb18f2f957673419090c864b1e431e850fe4a4
      https://github.com/OpenSIPS/opensips/commit/acdb18f2f957673419090c864b1e431e850fe4a4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M packaging/debian/opensips.init

  Log Message:
  -----------
  debian/init:remove bogus value for pathextra


  Commit: fcc80206bb81f235579d3349e134b54d1aae25cb
      https://github.com/OpenSIPS/opensips/commit/fcc80206bb81f235579d3349e134b54d1aae25cb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M packaging/debian/opensips.init
    M packaging/debian/rules

  Log Message:
  -----------
  debian: fix EXTRA_PATH specification


  Commit: 9dd30f6f09b37cacee059562dcf726d20428aca4
      https://github.com/OpenSIPS/opensips/commit/9dd30f6f09b37cacee059562dcf726d20428aca4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    A packaging/debian/opensips-m4cfg
    M packaging/debian/opensips.service
    M packaging/debian/rules

  Log Message:
  -----------
  debian: add m4 support in systemctl


  Commit: 6de793196caf0a1c13a35caadfa16d21d420d2d0
      https://github.com/OpenSIPS/opensips/commit/6de793196caf0a1c13a35caadfa16d21d420d2d0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M packaging/debian/opensips-m4cfg
    M packaging/debian/opensips.service
    A packaging/redhat_fedora/opensips-m4cfg
    R packaging/redhat_fedora/opensips.m4cfg
    M packaging/redhat_fedora/opensips.service
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  packaging: sync debian and redhat_fedora service files

Thanks to Nick Altman's suggestions


  Commit: 0759cb92cb0d928e620458556b4d61cf24028422
      https://github.com/OpenSIPS/opensips/commit/0759cb92cb0d928e620458556b4d61cf24028422
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cachedb_couchbase/Makefile

  Log Message:
  -----------
  couchbase: fix LIBS in Makefile


  Commit: 83e7d323330422aca5b36a6e137c4f429e007575
      https://github.com/OpenSIPS/opensips/commit/83e7d323330422aca5b36a6e137c4f429e007575
  Author: Peter Lemenkov <lemenkov at gmail.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/db_mysql/dbase.c
    M modules/db_mysql/my_con.c

  Log Message:
  -----------
  Don't include <mysql/mysql_version.h> directly

It seems that this header shouldn't be included directly. And sometimes
it may cause compilation issues (depending on MariaDB/MySQL version,
compiler, etc). See build log for the example:

	make[1]: Entering directory '/builddir/build/BUILD/opensips-2.2.5/modules/db_mysql'
	Compiling row.c
	gcc -fPIC -DPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fgnu89-inline -Wcast-align -DMOD_NAME='db_mysql'  -I/usr/include/json-c -DPKG_MALLOC  -DSHM_MMAP  -DUSE_MCAST  -DDISABLE_NAGLE  -DSTATISTICS  -DHAVE_RESOLV_RES  -DF_MALLOC   -DNAME='"opensips"' -DVERSION='"2.2.5"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 7"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/etc/opensips/"'  -DUSE_FREERADIUS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/include -c row.c -o row.o
	Compiling my_con.c
	gcc -fPIC -DPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fgnu89-inline -Wcast-align -DMOD_NAME='db_mysql'  -I/usr/include/json-c -DPKG_MALLOC  -DSHM_MMAP  -DUSE_MCAST  -DDISABLE_NAGLE  -DSTATISTICS  -DHAVE_RESOLV_RES  -DF_MALLOC   -DNAME='"opensips"' -DVERSION='"2.2.5"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 7"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/etc/opensips/"'  -DUSE_FREERADIUS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/include -c my_con.c -o my_con.o
	Compiling val.c
	gcc -fPIC -DPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fgnu89-inline -Wcast-align -DMOD_NAME='db_mysql'  -I/usr/include/json-c -DPKG_MALLOC  -DSHM_MMAP  -DUSE_MCAST  -DDISABLE_NAGLE  -DSTATISTICS  -DHAVE_RESOLV_RES  -DF_MALLOC   -DNAME='"opensips"' -DVERSION='"2.2.5"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 7"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/etc/opensips/"'  -DUSE_FREERADIUS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/include -c val.c -o val.o
	In file included from my_con.c:25:0:
	/usr/include/mysql/mysql_version.h:3:2: warning: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp]
	 #warning This file should not be included by clients, include only <mysql.h>
	  ^~~~~~~
	/usr/include/mysql/mysql_version.h:5:10: fatal error: mariadb_version.h: No such file or directory
	 #include <mariadb_version.h>
		  ^~~~~~~~~~~~~~~~~~~
	compilation terminated.
	make[1]: *** [../../Makefile.rules:25: my_con.o] Error 1
	make[1]: *** Waiting for unfinished jobs....
	make[1]: Leaving directory '/builddir/build/BUILD/opensips-2.2.5/modules/db_mysql'
	make: *** [Makefile:201: modules] Error 2

See also kamailio/kamailio at c31535072a04273b52a5cbc015e7ed1423d5dc33

Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>


  Commit: cb153b1f8c0dbc599f1b223ee4729697ab35c760
      https://github.com/OpenSIPS/opensips/commit/cb153b1f8c0dbc599f1b223ee4729697ab35c760
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cachedb_couchbase/README
    M modules/cachedb_couchbase/cachedb_couchbase_dbase.c
    M modules/cachedb_couchbase/doc/cachedb_couchbase_admin.xml

  Log Message:
  -----------
  couchbase: fix multiple hosts usage

Closes #1216


  Commit: 0378ced204594143e0754355684d1d919898ad32
      https://github.com/OpenSIPS/opensips/commit/0378ced204594143e0754355684d1d919898ad32
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  integrate Coverity


  Commit: 5c12a15f8c8876825f436ec92a7f97a4093a09a7
      https://github.com/OpenSIPS/opensips/commit/5c12a15f8c8876825f436ec92a7f97a4093a09a7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M evi/event_interface.c

  Log Message:
  -----------
  evi: subs can never be NULL


  Commit: 8e6c7382843008908dec716e004eea7458e8a322
      https://github.com/OpenSIPS/opensips/commit/8e6c7382843008908dec716e004eea7458e8a322
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/acc/acc.c

  Log Message:
  -----------
  fixing coverity found defects - invalid memory access / memory corruptions

(cherry picked from commit c537cb8151e9436d88a9410e02ef11a093008ff0)

Conflicts:
	modules/dialog/dlg_tophiding.c

(cherry picked from commit 57a7bf02a54f91020e5163be82b0ac3cf09e0531)


  Commit: 02158a5161a08498b3735e2c22ad3edb4709ec13
      https://github.com/OpenSIPS/opensips/commit/02158a5161a08498b3735e2c22ad3edb4709ec13
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M daemonize.c
    M modules/mi_fifo/fifo_fnc.c

  Log Message:
  -----------
  fixing coverity found defects - resource leakage

(cherry picked from commit e09f09ae89aff31393b04e40b4f82632fd4f50ff)
(cherry picked from commit 21083e84ede0551ae937bb4cea7c6ddab44d86f1)


  Commit: e69970aefffdfec8f0e1335d6a82c8c9272aa266
      https://github.com/OpenSIPS/opensips/commit/e69970aefffdfec8f0e1335d6a82c8c9272aa266
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M evi/event_interface.c

  Log Message:
  -----------
  fixing coverity found defects - null dereference, break missing

(cherry picked from commit c004967f7c272e5b9043f5f3e330827f0682a009)

Conflicts:
	db/db.c

(cherry picked from commit ed699bfde4759434937349e198a694a4bab3f9ff)

Conflicts:
	modules/usrloc/dlist.c


  Commit: 133b7e6dae89afa2401394cccadd90147f69a7a4
      https://github.com/OpenSIPS/opensips/commit/133b7e6dae89afa2401394cccadd90147f69a7a4
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/ldap/iniparser.c
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  fixing coverity found defects - copying into fixed size buffer

(cherry picked from commit 92a7361eda2c6cd6e9ad637dab187cf87fefa987)
(cherry picked from commit c9aaae3ac63970e3f394f66e048a1c82b99774c7)


  Commit: d5b711aa6d6ba8dde530780b42e8ae44d0dbdf88
      https://github.com/OpenSIPS/opensips/commit/d5b711aa6d6ba8dde530780b42e8ae44d0dbdf88
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  fixing coverity found defects - null dereference

(cherry picked from commit b578dda307f24e56f456e5b02c0c7591ed6746a4)
(cherry picked from commit 19e518835dd0f88868613c5fe6fbf8fe19180252)


  Commit: 16a8b1faef5cb60fa3acd8545e0c8f95c831a2bb
      https://github.com/OpenSIPS/opensips/commit/16a8b1faef5cb60fa3acd8545e0c8f95c831a2bb
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/cachedb_local/cachedb_local.c

  Log Message:
  -----------
  fixing coverity found defects - null dereference

(cherry picked from commit 906bb9172b4ce0ab0e7bf4eca7da58211aa8ac5b)

Conflicts:
	cachedb/cachedb_id.c

(cherry picked from commit 37a7466c8b7c3e8ec979444c37c9f738bd0e43d8)


  Commit: 9d86c96ec592afdc67d3be93ff82cbb723e0b184
      https://github.com/OpenSIPS/opensips/commit/9d86c96ec592afdc67d3be93ff82cbb723e0b184
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mi_xmlrpc_ng/http_fnc.c
    M modules/siptrace/siptrace.c
    M net/proto_tcp/proto_tcp.c

  Log Message:
  -----------
  integrate with clang and fix warnings


  Commit: c25e36889ae5ba121b2532edb46bbe0572d3a6ae
      https://github.com/OpenSIPS/opensips/commit/c25e36889ae5ba121b2532edb46bbe0572d3a6ae
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: fix possible crash for REGISTER messages without contact

Fixes Coverity CID #163986


  Commit: b352a582af880140e084932bf28ad61fe19d90f7
      https://github.com/OpenSIPS/opensips/commit/b352a582af880140e084932bf28ad61fe19d90f7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M daemonize.c
    M evi/event_interface.c
    M modules/acc/acc.c
    M modules/cachedb_local/cachedb_local.c
    M modules/ldap/iniparser.c
    M modules/mi_fifo/fifo_fnc.c
    M modules/mi_xmlrpc_ng/http_fnc.c
    M modules/mid_registrar/save.c
    M modules/siptrace/siptrace.c
    M net/proto_tcp/proto_tcp.c
    M packaging/debian/control
    M packaging/debian/rules

  Log Message:
  -----------
  sync coverity_scan with master branch


Compare: https://github.com/OpenSIPS/opensips/compare/22e7b078ac7e...b352a582af88


More information about the Devel mailing list