From razvan at opensips.org  Wed Nov  1 04:40:19 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 01 Nov 2017 01:40:19 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 069a8f: debian: add
	lsb-release dependency
Message-ID: <59f98873a2727_a1f3f89337c9c405967@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 069a8f6d187b8b714da40783554d02db31d8319e
      https://github.com/OpenSIPS/opensips/commit/069a8f6d187b8b714da40783554d02db31d8319e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-01 (Wed, 01 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



From liviu at opensips.org  Wed Nov  1 07:06:58 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 01 Nov 2017 04:06:58 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 18e95e: doc: Fix formulas for
	FS-driven routing
Message-ID: <59f9aad2e98df_fa13f8c0c001c341008e@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 18e95e6e96cb01a1c261eef635ae89a2d5edd9b1
      https://github.com/OpenSIPS/opensips/commit/18e95e6e96cb01a1c261eef635ae89a2d5edd9b1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-01 (Wed, 01 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



From liviu at opensips.org  Wed Nov  1 07:07:28 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 01 Nov 2017 04:07:28 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7581bd: doc: Fix formulas for
	FS-driven routing
Message-ID: <59f9aaf0cd54_4c93f7fb9823c3c14817@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7581bd575b5feb9d6abb2b8d3803a3c1ed204ee1
      https://github.com/OpenSIPS/opensips/commit/7581bd575b5feb9d6abb2b8d3803a3c1ed204ee1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-01 (Wed, 01 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

(cherry picked from commit 18e95e6e96cb01a1c261eef635ae89a2d5edd9b1)



From bogdan at opensips.org  Wed Nov  1 13:16:12 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 1 Nov 2017 19:16:12 +0200
Subject: [OpenSIPS-Devel] Introducing OpenSIPS 2.4
Message-ID: <972d9f71-89d4-89f1-9183-f7fc0f1c506a@opensips.org>

One more year, one more evolution cycle, one more OpenSIPS major 
release. So let me introduce you the upcoming OpenSIPS 2.4 .

For the OpenSIPS 2.4 release we decided to focus on the */clustering 
abilities/*. Today’s VoIP world is getting more and more dynamic, 
services are moving into Clouds and more and more flexibility is needed 
for the application to fully exploit such environments. But let’s pin 
point the main reasons for going for a clustered approach :

  * scaling up with the processing/traffic load
  * geographical distribution
  * redundancy and High-Availability

For the OpenSIPS 2.4 we laid down a roadmap that addresses the 
clustering both from the clustering engine itself (the underlayer) and 
from the functionalities that will perform on top of the clustering 
layer, to share data and state.

With OpenSIPS 2.4, it will never be easier to built a consistent and 
powerful clustered solution:

  * *clustering engine* – enhances the capabilities of controlling the
    cluster topology, like re-routing for bypassing broken links,
    dynamic joining of new nodes, support for multiple capabilities per
    node, data syncing between nodes and many more;
  * *distributed user location* – this is a very complex topic as it
    exceeds the simple concept of data sharing. By the nature of the
    data (the user registrations), you may have different constraints on
    how data is roaming in a cluster – registrations may be tied to a
    node due NAT or TCP constraints. Even more, a sharding aspect must
    be addressed when looking at distributing the pinging effort across
    the cluster. So, multiple solutions are viable here, depending on
    what is to be achieved (scaling, redundancy) and what are the
    network constraints – see a detailed presentation
    <https://www.opensips.org/Development/Design-Distributed-User-Location>
    of the available solutions;
  * *distributed presence server* – quite similar (but less complex) as
    the distributed user location, a distributed presence server
    provides a consistent, but distributed way of sharing presence
    information – SIP entities may publish data via different nodes in
    the SIP cluster, while the subscribers may fetch presence data via
    multiple various nodes. Two approaches are under work : (a) a
    cluster built around a noSQL DB based as primary data storage and
    (b) a cluster exclusively relying on OpenSIPS for data sharing;
  * *anycast support* – to be able to build a fully-flavored anycast
    support (addressing both redundancy and balancing) requires OpenSIPS
    to replicate/share transaction state across the nodes in the cluster
    (nodes sharing the same anycast IP). Depending on the nature of the
    replication (full transaction versus transaction meta-data) a full
    anycast and light anycast support will be available – here is a
    detailed description on the anycast
    <https://docs.google.com/presentation/d/1q6FuBcS_mippQl8ABa2DcrhxRDRHGthvHXe1SlMF6e4/edit?usp=sharing>
    support;
  * *clustered media relays* – as OpenSIPS has the ability to work
    together with several flavors of media relays (such as RTPproxy,
    RTPEngine, MediaProxy), the clustering support will help OpenSIPS do
    distributed load-balancing over the relays – even if a relay is used
    by multiple nodes in the cluster, all the nodes will share
    information on the load on the relay, to avoid overloading or idle time;
  * *distributed call center* – an agent is able to register with
    multiple queues on different nodes on a cluster. Still, all the
    queues do share the status / availability of the agent and its
    statistics for call distribution;
  * *custom clustering* – the OpenSIPS clustering underlayer provides at
    script level the ability to broadcast (in the cloud) or send to a
    given node a custom message/action (with replying possibility) –
    this is a very flexible and powerful way to build your custom
    distributed functionality directly at script level.

And because we started on the integration path with OpenSIPS 2.3, and 
because we did it well, we decided to push forward on this path with the 
2.4 version as well:

  * more *Homer integration *to be able to report TCP statistics, DB
    events and media relay events via HEP;
  * *SIPREC integration* for standard call recording. The new SIPREC
    module <http://www.opensips.org/Documentation/Tutorials-SIPREC-2-4>
    provides a standard and transparent (for the call parties) way to do
    call recording against an external recorder like Oreka
    <http://oreka.sourceforge.net/> provided by Orecx
    <http://www.orecx.com>;
  * more *FreeSWITCH integration* in order to capture the call-events
    (DTMFs, call status) from FreeSWITCH into OpenSIPS script or for
    being able to control a FreeSWITCH call from OpenSIPS script via ESL
  * *Asterisk flavored* Load-Balancing for a more realistic and accurate
    traffic balancing over Asterisk clusters (as the load information is
    fetched in realtime from Asterisk);

------------------------------------------------------------------------

The timeline for OpenSIPS 2.4 is:

  * Beta Release – 12-16 March 2018
  * Stable Release – 23-27 April 2018
  * General Availability – 1st of May 2018, during OpenSIPS Summit 2018
    <http://www.opensips.org/events/Summit-2018Amsterdam/>

To talk more about the features of this new release, a public audio 
conference <https://www.uberconference.com/opensips> will be 
available on 21st of November 2017, 4 pm GMT 
<https://www.timeanddate.com/worldclock/fixedtime.html?msg=Introducing+OpenSIPS+2.4&iso=20171121T18&p1=49&ah=1> , thanks to 
the kind sponsorship of UberConference <https://www.uberconference.com>. 
Anyone is welcome to join to find out more details or to ask questions 
about OpenSIPS <http://opensips.org/> 2.4 .

This is a public and open conference, so no registration is needed, but 
if you want to announce your intention to participate, please let us 
know here:

http://blog.opensips.org/2017/11/01/introducing-opensips-2-4/


Best regards,

-- 
Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer
   http://www.opensips-solutions.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20171101/babcbdea/attachment.html>

From bogdan at opensips.org  Fri Nov  3 07:05:48 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Fri, 03 Nov 2017 04:05:48 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 830d2b: Reduce char size to
	255.
Message-ID: <59fc4d8cccf87_625c3fa00dce3c3065572@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 830d2b4f54527695f5df05eb2a16fc4e142d5c74
      https://github.com/OpenSIPS/opensips/commit/830d2b4f54527695f5df05eb2a16fc4e142d5c74
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-03 (Fri, 03 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.



From razvan at opensips.org  Wed Nov  8 11:32:17 2017
From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=)
Date: Wed, 8 Nov 2017 18:32:17 +0200
Subject: [OpenSIPS-Devel] [BLOG] Call Recording in OpenSIPS 2.4 using SIPREC
Message-ID: <bbf98051-a504-9d16-2c1a-3a700d3806c4@opensips.org>

Hi, Everyone!

Find out how you can do call recording in OpenSIPS using the SIPREC 
protocol:

https://blog.opensips.org/2017/11/08/call-recording-in-opensips-2-4-using-siprec/

Best regards,

-- 
Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com



From razvan at opensips.org  Thu Nov  9 03:17:11 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 09 Nov 2017 00:17:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b9ca13: db_sqlite: let the DB
 interface determine the capa...
Message-ID: <5a040f07b703a_30763fdbd3057c304212b@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b9ca13a643e4c21aeba1fa9d88c57a054a290f64
      https://github.com/OpenSIPS/opensips/commit/b9ca13a643e4c21aeba1fa9d88c57a054a290f64
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-09 (Thu, 09 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



From razvan at opensips.org  Thu Nov  9 03:17:35 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 09 Nov 2017 00:17:35 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b72d22: db_sqlite: let the DB
 interface determine the capa...
Message-ID: <5a040f1f9b4fb_41133fafd4ec1c3888341@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b72d2272a381ea5e050752ee3745ee74e24de7fe
      https://github.com/OpenSIPS/opensips/commit/b72d2272a381ea5e050752ee3745ee74e24de7fe
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-09 (Thu, 09 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

(cherry picked from commit b9ca13a643e4c21aeba1fa9d88c57a054a290f64)



From razvan at opensips.org  Thu Nov  9 03:17:52 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 09 Nov 2017 00:17:52 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3bc837: db_sqlite: let the DB
 interface determine the capa...
Message-ID: <5a040f30a093e_19e3fc90912bc38582ec@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3bc8378d08d5b10c81b1e8cca9af79dbac0b7589
      https://github.com/OpenSIPS/opensips/commit/3bc8378d08d5b10c81b1e8cca9af79dbac0b7589
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-09 (Thu, 09 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

(cherry picked from commit b9ca13a643e4c21aeba1fa9d88c57a054a290f64)



From razvan at opensips.org  Thu Nov  9 03:25:53 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 09 Nov 2017 00:25:53 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d67fbb: rtpengine: do not use
 replace bson for delete
Message-ID: <5a04111195716_1cd03fe73747bc3468138@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d67fbb9809427cc4087563bbbebf556420f1f330
      https://github.com/OpenSIPS/opensips/commit/d67fbb9809427cc4087563bbbebf556420f1f330
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-09 (Thu, 09 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



From razvan at opensips.org  Thu Nov  9 03:26:04 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 09 Nov 2017 00:26:04 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 93eb65: rtpengine: do not use
 replace bson for delete
Message-ID: <5a04111c3813d_3c663f898b413c3864170@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 93eb6599e5736d525b15fda146b43953a5ff3cda
      https://github.com/OpenSIPS/opensips/commit/93eb6599e5736d525b15fda146b43953a5ff3cda
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-09 (Thu, 09 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

(cherry picked from commit d67fbb9809427cc4087563bbbebf556420f1f330)



From razvan at opensips.org  Thu Nov  9 03:28:50 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 09 Nov 2017 00:28:50 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 108495: rtpengine: do not use
 replace bson for delete
Message-ID: <5a0411c2bfd60_7a283f8df72a5c3c10814c@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 10849522cfcdd57af3aab2c41e7e96f4698b47b3
      https://github.com/OpenSIPS/opensips/commit/10849522cfcdd57af3aab2c41e7e96f4698b47b3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-09 (Thu, 09 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

(cherry picked from commit d67fbb9809427cc4087563bbbebf556420f1f330)



From liviu at opensips.org  Wed Nov 15 10:11:23 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 15 Nov 2017 07:11:23 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 63c1a8: clang: Add "-Wall" flag
Message-ID: <5a0c591b8f9d2_792c3f8fd2179c3c82563@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 63c1a844b702d6f86db1ee9e59262b7e01bcb19a
      https://github.com/OpenSIPS/opensips/commit/63c1a844b702d6f86db1ee9e59262b7e01bcb19a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-13 (Mon, 13 Nov 2017)

  Changed paths:
    M Makefile.defs

  Log Message:
  -----------
  clang: Add "-Wall" flag


  Commit: 7585f88cca82e915fc6a5407dead04f0cca01013
      https://github.com/OpenSIPS/opensips/commit/7585f88cca82e915fc6a5407dead04f0cca01013
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-13 (Mon, 13 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: d4967201bf4243646eef0a92be1c37dff0aba29d
      https://github.com/OpenSIPS/opensips/commit/d4967201bf4243646eef0a92be1c37dff0aba29d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-14 (Tue, 14 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: 18a93c89aa1c32498689a6f6dd09911272c18896
      https://github.com/OpenSIPS/opensips/commit/18a93c89aa1c32498689a6f6dd09911272c18896
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-14 (Tue, 14 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: a5d633924fc78cd4d9999a727ab529cb1bf50405
      https://github.com/OpenSIPS/opensips/commit/a5d633924fc78cd4d9999a727ab529cb1bf50405
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 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: e9be01680557a030c5fd6346299f5db663467018
      https://github.com/OpenSIPS/opensips/commit/e9be01680557a030c5fd6346299f5db663467018
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 Nov 2017)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  Add str2int64() parsing function


  Commit: 15a5067b2d493c273842b723199d42c695a1b93f
      https://github.com/OpenSIPS/opensips/commit/15a5067b2d493c273842b723199d42c695a1b93f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 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: 7d4894943ad522406d1f2cb9231821c91f423562
      https://github.com/OpenSIPS/opensips/commit/7d4894943ad522406d1f2cb9231821c91f423562
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 Nov 2017)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  usrloc: Allow forced IDs during contact inserts


  Commit: ad274fad9a6fd072737d45230a0c297d0e4b9329
      https://github.com/OpenSIPS/opensips/commit/ad274fad9a6fd072737d45230a0c297d0e4b9329
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 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: 8c46ab3cad07029a1e78fdb1d57300247c00c4eb
      https://github.com/OpenSIPS/opensips/commit/8c46ab3cad07029a1e78fdb1d57300247c00c4eb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix possible crash in mirror mode


  Commit: 7e190a8b1cdcdfe66afe9eea4b0be4c75f275a89
      https://github.com/OpenSIPS/opensips/commit/7e190a8b1cdcdfe66afe9eea4b0be4c75f275a89
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 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: 016da2f7f31b764da5dcce1d4189b8f9ef77b5cb
      https://github.com/OpenSIPS/opensips/commit/016da2f7f31b764da5dcce1d4189b8f9ef77b5cb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 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: 48cb7a78970b6ffebbcd93ef17f5d83d24cf5a87
      https://github.com/OpenSIPS/opensips/commit/48cb7a78970b6ffebbcd93ef17f5d83d24cf5a87
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 Nov 2017)

  Changed paths:
    M Makefile.defs
    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
    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
    M modules/mid_registrar/ulcb.c
    M modules/usrloc/dlist.c
    M modules/usrloc/udomain.c
    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
    M ut.h

  Log Message:
  -----------
  Merge branch 'bugfix/mid-registrar-store-contacts-as-aors'


Compare: https://github.com/OpenSIPS/opensips/compare/d67fbb980942...48cb7a78970b

From liviu at opensips.org  Wed Nov 15 14:13:09 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 15 Nov 2017 11:13:09 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8bb592: Fix Clang "unused
	function" warnings
Message-ID: <5a0c91c543a08_7c103f941afb9c384177a@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8bb5929d58a0e39a1d19fcec092ed5ffbc5b1efb
      https://github.com/OpenSIPS/opensips/commit/8bb5929d58a0e39a1d19fcec092ed5ffbc5b1efb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 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.



From liviu at opensips.org  Thu Nov 16 04:45:12 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 16 Nov 2017 01:45:12 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 049815: Fix Clang warnings for
	excluded modules
Message-ID: <5a0d5e2871ce_167a3f8c82e39c2c6233e@hookshot-fe-92cdb05.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0498151bb37db137f860959dc7c238501473d941
      https://github.com/OpenSIPS/opensips/commit/0498151bb37db137f860959dc7c238501473d941
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-16 (Thu, 16 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



From liviu at opensips.org  Thu Nov 16 05:12:26 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 16 Nov 2017 02:12:26 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a644f1: usrloc: Fix bad
	logical condition
Message-ID: <5a0d648ad9652_a2a3f96754abc4413458b@hookshot-fe-92cdb05.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a644f1b370d61e60b2f4de20c9728564d8d8a06d
      https://github.com/OpenSIPS/opensips/commit/a644f1b370d61e60b2f4de20c9728564d8d8a06d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-16 (Thu, 16 Nov 2017)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  usrloc: Fix bad logical condition

Reported by Răzvan Crainea.



From liviu at opensips.org  Thu Nov 16 05:13:26 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 16 Nov 2017 02:13:26 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 823044: usrloc: Fix bad
	logical condition
Message-ID: <5a0d64c6ebc76_d1203feac702fc3c1290ad@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 823044b45f24630cd558d019a2f9358b72bd1aed
      https://github.com/OpenSIPS/opensips/commit/823044b45f24630cd558d019a2f9358b72bd1aed
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-16 (Thu, 16 Nov 2017)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  usrloc: Fix bad logical condition

Reported by Răzvan Crainea.

(cherry picked from commit a644f1b370d61e60b2f4de20c9728564d8d8a06d)



From liviu at opensips.org  Thu Nov 16 05:14:35 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 16 Nov 2017 02:14:35 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 77df0c: usrloc: Fix locking
 for contact_id-based deletion
Message-ID: <5a0d650b6dda8_5123fe314797c3c11958b@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 77df0c04a36b5b06a46797e3c73385e7dec737d9
      https://github.com/OpenSIPS/opensips/commit/77df0c04a36b5b06a46797e3c73385e7dec737d9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-16 (Thu, 16 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.

(cherry picked from commit 18a93c89aa1c32498689a6f6dd09911272c18896)


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

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  usrloc: Fix bad logical condition

Reported by Răzvan Crainea.

(cherry picked from commit a644f1b370d61e60b2f4de20c9728564d8d8a06d)


Compare: https://github.com/OpenSIPS/opensips/compare/10849522cfcd...0fcf5710b6e5

From razvan at opensips.org  Fri Nov 17 04:22:31 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Fri, 17 Nov 2017 01:22:31 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9be7ff: debian/init:remove
 bogus value for pathextra
Message-ID: <5a0eaa57d33bc_727f3f982bc6fc34107665@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9be7ffc06b68ff665a54e3611b068e973ca1f2f7
      https://github.com/OpenSIPS/opensips/commit/9be7ffc06b68ff665a54e3611b068e973ca1f2f7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-17 (Fri, 17 Nov 2017)

  Changed paths:
    M packaging/debian/opensips.init

  Log Message:
  -----------
  debian/init:remove bogus value for pathextra



From razvan at opensips.org  Fri Nov 17 05:21:50 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Fri, 17 Nov 2017 02:21:50 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f6845f: debian: fix EXTRA_PATH
	specification
Message-ID: <5a0eb83e7c520_46b3fe1388dbc341175b2@hookshot-fe-92cdb05.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f6845f26a78a504ff42b81d8d1a20e9da3658970
      https://github.com/OpenSIPS/opensips/commit/f6845f26a78a504ff42b81d8d1a20e9da3658970
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-17 (Fri, 17 Nov 2017)

  Changed paths:
    M packaging/debian/opensips.init
    M packaging/debian/rules

  Log Message:
  -----------
  debian: fix EXTRA_PATH specification


  Commit: f562251d91a8a57e662db513e2d393a1f9de2884
      https://github.com/OpenSIPS/opensips/commit/f562251d91a8a57e662db513e2d393a1f9de2884
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-17 (Fri, 17 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


Compare: https://github.com/OpenSIPS/opensips/compare/9be7ffc06b68...f562251d91a8

From bogdan at opensips.org  Fri Nov 17 05:55:05 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Fri, 17 Nov 2017 12:55:05 +0200
Subject: [OpenSIPS-Devel] [OpenSIPS-News] Introducing OpenSIPS 2.4
In-Reply-To: <972d9f71-89d4-89f1-9183-f7fc0f1c506a@opensips.org>
References: <972d9f71-89d4-89f1-9183-f7fc0f1c506a@opensips.org>
Message-ID: <a82929bf-ecd1-984a-913f-79110a45f55d@opensips.org>

Heads up, on next Tuesday, 21st of November 2017, 4 pm GMT 
<https://www.timeanddate.com/worldclock/fixedtime.html?msg=Introducing+OpenSIPS+2.4&iso=20171121T18&p1=49&ah=1> , 
we have the audio conference on OpenSIPS 2.4, hosted on 
https://www.uberconference.com/opensips .

Be there, so you will be up2date !!

Best regards,

Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer
   http://www.opensips-solutions.com

On 11/01/2017 07:16 PM, Bogdan-Andrei Iancu wrote:
> One more year, one more evolution cycle, one more OpenSIPS major 
> release. So let me introduce you the upcoming OpenSIPS 2.4 .
>
> For the OpenSIPS 2.4 release we decided to focus on the */clustering 
> abilities/*. Today’s VoIP world is getting more and more dynamic, 
> services are moving into Clouds and more and more flexibility is 
> needed for the application to fully exploit such environments. But 
> let’s pin point the main reasons for going for a clustered approach :
>
>   * scaling up with the processing/traffic load
>   * geographical distribution
>   * redundancy and High-Availability
>
> For the OpenSIPS 2.4 we laid down a roadmap that addresses the 
> clustering both from the clustering engine itself (the underlayer) and 
> from the functionalities that will perform on top of the clustering 
> layer, to share data and state.
>
> With OpenSIPS 2.4, it will never be easier to built a consistent and 
> powerful clustered solution:
>
>   * *clustering engine* – enhances the capabilities of controlling the
>     cluster topology, like re-routing for bypassing broken links,
>     dynamic joining of new nodes, support for multiple capabilities
>     per node, data syncing between nodes and many more;
>   * *distributed user location* – this is a very complex topic as it
>     exceeds the simple concept of data sharing. By the nature of the
>     data (the user registrations), you may have different constraints
>     on how data is roaming in a cluster – registrations may be tied to
>     a node due NAT or TCP constraints. Even more, a sharding aspect
>     must be addressed when looking at distributing the pinging effort
>     across the cluster. So, multiple solutions are viable here,
>     depending on what is to be achieved (scaling, redundancy) and what
>     are the network constraints – see a detailed presentation
>     <https://www.opensips.org/Development/Design-Distributed-User-Location>
>     of the available solutions;
>   * *distributed presence server* – quite similar (but less complex)
>     as the distributed user location, a distributed presence server
>     provides a consistent, but distributed way of sharing presence
>     information – SIP entities may publish data via different nodes in
>     the SIP cluster, while the subscribers may fetch presence data via
>     multiple various nodes. Two approaches are under work : (a) a
>     cluster built around a noSQL DB based as primary data storage and
>     (b) a cluster exclusively relying on OpenSIPS for data sharing;
>   * *anycast support* – to be able to build a fully-flavored anycast
>     support (addressing both redundancy and balancing) requires
>     OpenSIPS to replicate/share transaction state across the nodes in
>     the cluster (nodes sharing the same anycast IP). Depending on the
>     nature of the replication (full transaction versus transaction
>     meta-data) a full anycast and light anycast support will be
>     available – here is a detailed description on the anycast
>     <https://docs.google.com/presentation/d/1q6FuBcS_mippQl8ABa2DcrhxRDRHGthvHXe1SlMF6e4/edit?usp=sharing>
>     support;
>   * *clustered media relays* – as OpenSIPS has the ability to work
>     together with several flavors of media relays (such as RTPproxy,
>     RTPEngine, MediaProxy), the clustering support will help OpenSIPS
>     do distributed load-balancing over the relays – even if a relay is
>     used by multiple nodes in the cluster, all the nodes will share
>     information on the load on the relay, to avoid overloading or idle
>     time;
>   * *distributed call center* – an agent is able to register with
>     multiple queues on different nodes on a cluster. Still, all the
>     queues do share the status / availability of the agent and its
>     statistics for call distribution;
>   * *custom clustering* – the OpenSIPS clustering underlayer provides
>     at script level the ability to broadcast (in the cloud) or send to
>     a given node a custom message/action (with replying possibility) –
>     this is a very flexible and powerful way to build your custom
>     distributed functionality directly at script level.
>
> And because we started on the integration path with OpenSIPS 2.3, and 
> because we did it well, we decided to push forward on this path with 
> the 2.4 version as well:
>
>   * more *Homer integration *to be able to report TCP statistics, DB
>     events and media relay events via HEP;
>   * *SIPREC integration* for standard call recording. The new SIPREC
>     module
>     <http://www.opensips.org/Documentation/Tutorials-SIPREC-2-4>
>     provides a standard and transparent (for the call parties) way to
>     do call recording against an external recorder like Oreka
>     <http://oreka.sourceforge.net/> provided by Orecx
>     <http://www.orecx.com>;
>   * more *FreeSWITCH integration* in order to capture the call-events
>     (DTMFs, call status) from FreeSWITCH into OpenSIPS script or for
>     being able to control a FreeSWITCH call from OpenSIPS script via ESL
>   * *Asterisk flavored* Load-Balancing for a more realistic and
>     accurate traffic balancing over Asterisk clusters (as the load
>     information is fetched in realtime from Asterisk);
>
> ------------------------------------------------------------------------
>
> The timeline for OpenSIPS 2.4 is:
>
>   * Beta Release – 12-16 March 2018
>   * Stable Release – 23-27 April 2018
>   * General Availability – 1st of May 2018, during OpenSIPS Summit
>     2018 <http://www.opensips.org/events/Summit-2018Amsterdam/>
>
> To talk more about the features of this new release, a public audio 
> conference <https://www.uberconference.com/opensips> will be 
> available on 21st of November 2017, 4 pm GMT 
> <https://www.timeanddate.com/worldclock/fixedtime.html?msg=Introducing+OpenSIPS+2.4&iso=20171121T18&p1=49&ah=1> , thanks to 
> the kind sponsorship of UberConference 
> <https://www.uberconference.com>. Anyone is welcome to join to find 
> out more details or to ask questions about OpenSIPS 
> <http://opensips.org/> 2.4 .
>
> This is a public and open conference, so no registration is needed, 
> but if you want to announce your intention to participate, please let 
> us know here:
>
> http://blog.opensips.org/2017/11/01/introducing-opensips-2-4/
>
>
> Best regards,
>
> -- 
> Bogdan-Andrei Iancu
>    OpenSIPS Founder and Developer
>    http://www.opensips-solutions.com
>
>
> _______________________________________________
> News mailing list
> News at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/news

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20171117/ceedb8c1/attachment.html>

From razvan at opensips.org  Mon Nov 20 05:05:40 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Mon, 20 Nov 2017 02:05:40 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ef8231: packaging: sync debian
 and redhat_fedora service f...
Message-ID: <5a12a8f41570e_4a903fb9b00dbc3c115434@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ef82312cbef3ba944df546eaee25b49659df899a
      https://github.com/OpenSIPS/opensips/commit/ef82312cbef3ba944df546eaee25b49659df899a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-20 (Mon, 20 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



From marketing at opensips.org  Mon Nov 20 09:25:44 2017
From: marketing at opensips.org (OpenSIPS Team)
Date: Mon, 20 Nov 2017 16:25:44 +0200
Subject: [OpenSIPS-Devel] [BLOG] Deep Dive into the OpenSIPS Statistics
	Support
Message-ID: <6347cef8-03fd-69b6-da2d-17860b07fa58@opensips.org>

Interested in learning about concepts such as architecture and advanced 
uses for the OpenSIPS statistics?

Then make sure to check out our latest blog post:

https://blog.opensips.org/2017/11/20/deep-dive-into-the-opensips-statistics-support/

-- 
OpenSIPS Team
https://opensips.org



From razvan at opensips.org  Tue Nov 21 04:29:16 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 21 Nov 2017 01:29:16 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 56490e: couchbase: fix LIBS in
	Makefile
Message-ID: <5a13f1ecdde03_63b13fbdf98abc30846e1@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 56490e4e325bab1714be516c88f3627a558e5f4d
      https://github.com/OpenSIPS/opensips/commit/56490e4e325bab1714be516c88f3627a558e5f4d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M modules/cachedb_couchbase/Makefile

  Log Message:
  -----------
  couchbase: fix LIBS in Makefile



From razvan at opensips.org  Tue Nov 21 04:29:36 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 21 Nov 2017 01:29:36 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3dba69: couchbase: fix LIBS in
	Makefile
Message-ID: <5a13f20093199_7bfa3f802ff9bc3c206444@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3dba6912b1d8d171b6ebb1d1a8dfba807306b01f
      https://github.com/OpenSIPS/opensips/commit/3dba6912b1d8d171b6ebb1d1a8dfba807306b01f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M modules/cachedb_couchbase/Makefile

  Log Message:
  -----------
  couchbase: fix LIBS in Makefile

(cherry picked from commit 56490e4e325bab1714be516c88f3627a558e5f4d)



From razvan at opensips.org  Tue Nov 21 07:36:17 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 21 Nov 2017 04:36:17 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c23ad2: couchbase: fix
	multiple hosts usage
Message-ID: <5a141dc142980_18d43fa1cd6cfc3810096a@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c23ad230af545e2ed9a153a0f4a4e5c3998f16f3
      https://github.com/OpenSIPS/opensips/commit/c23ad230af545e2ed9a153a0f4a4e5c3998f16f3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 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



From razvan at opensips.org  Tue Nov 21 07:39:29 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 21 Nov 2017 04:39:29 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1460b2: couchbase: fix
 coucbase documentation for multiple...
Message-ID: <5a141e81beb74_7cb93ffa118fdc34151998@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1460b20665b3557fbe76815d2e2423f7195ba43c
      https://github.com/OpenSIPS/opensips/commit/1460b20665b3557fbe76815d2e2423f7195ba43c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M modules/cachedb_couchbase/doc/cachedb_couchbase_admin.xml

  Log Message:
  -----------
  couchbase: fix coucbase documentation for multiple hosts



From razvan at opensips.org  Tue Nov 21 07:40:03 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 21 Nov 2017 04:40:03 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e73ed4: couchbase: fix
 coucbase documentation for multiple...
Message-ID: <5a141ea356b44_da63fafc3617c38108c6@hookshot-fe-92cdb05.cp1-iad.github.net.mail>

  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e73ed445ed994a861556cc262840e9ea3c9a02b2
      https://github.com/OpenSIPS/opensips/commit/e73ed445ed994a861556cc262840e9ea3c9a02b2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M modules/cachedb_couchbase/doc/cachedb_couchbase_admin.xml

  Log Message:
  -----------
  couchbase: fix coucbase documentation for multiple hosts

(cherry picked from commit 1460b20665b3557fbe76815d2e2423f7195ba43c)



From razvan at opensips.org  Tue Nov 21 07:40:37 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 21 Nov 2017 04:40:37 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1c9113: couchbase: fix
 coucbase documentation for multiple...
Message-ID: <5a141ec58e1e4_7a343fb4f9595c34112976@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1c9113e0e8db310a562cd0cf42da1a87aeff177a
      https://github.com/OpenSIPS/opensips/commit/1c9113e0e8db310a562cd0cf42da1a87aeff177a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M modules/cachedb_couchbase/doc/cachedb_couchbase_admin.xml

  Log Message:
  -----------
  couchbase: fix coucbase documentation for multiple hosts

(cherry picked from commit 1460b20665b3557fbe76815d2e2423f7195ba43c)



From razvan at opensips.org  Tue Nov 21 07:40:54 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 21 Nov 2017 04:40:54 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 23a27d: couchbase: fix
 coucbase documentation for multiple...
Message-ID: <5a141ed66d1e2_285923fc99129fc441195f2@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/1.9
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 23a27d141960fead53c7fce8dc109711df50839c
      https://github.com/OpenSIPS/opensips/commit/23a27d141960fead53c7fce8dc109711df50839c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M modules/cachedb_couchbase/doc/cachedb_couchbase_admin.xml

  Log Message:
  -----------
  couchbase: fix coucbase documentation for multiple hosts

(cherry picked from commit 1460b20665b3557fbe76815d2e2423f7195ba43c)



From razvan at opensips.org  Tue Nov 21 07:44:25 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 21 Nov 2017 04:44:25 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f55b58: couchbase: fix
	multiple hosts usage
Message-ID: <5a141fa9836cb_25513f94e6e75c381517bf@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f55b58ad2b063e8f6454ff926c72db138c1956f1
      https://github.com/OpenSIPS/opensips/commit/f55b58ad2b063e8f6454ff926c72db138c1956f1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 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

(cherry picked from commit c23ad230af545e2ed9a153a0f4a4e5c3998f16f3)



From razvan at opensips.org  Tue Nov 21 07:44:34 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 21 Nov 2017 04:44:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a81664: couchbase: fix
	multiple hosts usage
Message-ID: <5a141fb2cc68d_caf93faded3f7c3c13702e@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a81664a0a1d6344399b85ea3e44e9f2a664c5e4e
      https://github.com/OpenSIPS/opensips/commit/a81664a0a1d6344399b85ea3e44e9f2a664c5e4e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 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

(cherry picked from commit c23ad230af545e2ed9a153a0f4a4e5c3998f16f3)



From razvan at opensips.org  Tue Nov 21 07:51:11 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 21 Nov 2017 04:51:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 087b23: Don't include
 <mysql/mysql_version.h> directly
Message-ID: <5a14213f36107_7cb13fb5ac05bc38127875@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 087b23ab55aee311fbd2201ec370310bde7d1967
      https://github.com/OpenSIPS/opensips/commit/087b23ab55aee311fbd2201ec370310bde7d1967
  Author: Peter Lemenkov <lemenkov at gmail.com>
  Date:   2017-11-21 (Tue, 21 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: ec0acfba521bb0f5d0a630a08bdbc265f09565eb
      https://github.com/OpenSIPS/opensips/commit/ec0acfba521bb0f5d0a630a08bdbc265f09565eb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M modules/db_mysql/dbase.c
    M modules/db_mysql/my_con.c

  Log Message:
  -----------
  Merge branch 'mariadb_unnecessary_include' of https://github.com/lemenkov/opensips into lemenkov-mariadb_unnecessary_include


  Commit: 63042c9221e596556233f7fc1b174cc30f6cfb8b
      https://github.com/OpenSIPS/opensips/commit/63042c9221e596556233f7fc1b174cc30f6cfb8b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M modules/db_mysql/dbase.c
    M modules/db_mysql/my_con.c

  Log Message:
  -----------
  Merge branch 'lemenkov-mariadb_unnecessary_include'


Compare: https://github.com/OpenSIPS/opensips/compare/c23ad230af54...63042c9221e5

From razvan at opensips.org  Tue Nov 21 07:51:34 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 21 Nov 2017 04:51:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4f0558: Merge branch
 'lemenkov-mariadb_unnecessary_include...
Message-ID: <5a142156e0b2b_3e033fb15922bc2c1150ba@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4f0558c204b6da44eca81d255be17a0c724bde26
      https://github.com/OpenSIPS/opensips/commit/4f0558c204b6da44eca81d255be17a0c724bde26
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M modules/db_mysql/dbase.c
    M modules/db_mysql/my_con.c

  Log Message:
  -----------
  Merge branch 'lemenkov-mariadb_unnecessary_include'

(cherry picked from commit 63042c9221e596556233f7fc1b174cc30f6cfb8b)



From razvan at opensips.org  Tue Nov 21 07:52:53 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 21 Nov 2017 04:52:53 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e8b43c: Merge branch
 'lemenkov-mariadb_unnecessary_include...
Message-ID: <5a1421a54b87e_45cc3fca952f1c38690d1@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e8b43c095d8abce69bfac3b32a7b93f4eaea080c
      https://github.com/OpenSIPS/opensips/commit/e8b43c095d8abce69bfac3b32a7b93f4eaea080c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M modules/db_mysql/dbase.c
    M modules/db_mysql/my_con.c

  Log Message:
  -----------
  Merge branch 'lemenkov-mariadb_unnecessary_include'

(cherry picked from commit 63042c9221e596556233f7fc1b174cc30f6cfb8b)



From razvan at opensips.org  Wed Nov 22 05:00:17 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 22 Nov 2017 02:00:17 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a41cf3: README: add coverity
	status
Message-ID: <5a154ab1dd4fc_7d773ff78798bc3c98859@hookshot-fe1-cp1-prd.iad.github.net.mail>

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

  Changed paths:
    M README.md

  Log Message:
  -----------
  README: add coverity status



From razvan at opensips.org  Wed Nov 22 05:15:15 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 22 Nov 2017 02:15:15 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0430b9: Added SQLite module to
	debian packaging
Message-ID: <5a154e33619c9_1fac3fcaac649c343808e@hookshot-fe1-cp1-prd.iad.github.net.mail>

  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

From razvan at opensips.org  Wed Nov 22 06:03:23 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 22 Nov 2017 03:03:23 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fefb0c: travis: fix
	notification_email
Message-ID: <5a15597b76508_770a3ff8ed3b5c24157272@hookshot-fe2-cp1-prd.iad.github.net.mail>

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

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis: fix notification_email



From razvan at opensips.org  Wed Nov 22 09:52:24 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 22 Nov 2017 06:52:24 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1ab7d2: move all debian files
 in a single directory
Message-ID: <5a158f28e9b25_2d2c3fa795395c34170526@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1ab7d29b0450e14bcf4d16b7ba3f3308e928fda6
      https://github.com/OpenSIPS/opensips/commit/1ab7d29b0450e14bcf4d16b7ba3f3308e928fda6
  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

(cherry picked from commit d4fdc854fc337e6749b2c17ad376b4b8827a2651)


  Commit: 2f8e3100c9cb3d90e02e9d1d4e77ad5b3679d7d4
      https://github.com/OpenSIPS/opensips/commit/2f8e3100c9cb3d90e02e9d1d4e77ad5b3679d7d4
  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

(cherry picked from commit 069a8f6d187b8b714da40783554d02db31d8319e)


  Commit: fc8f87c1191fd9be3eae3d10e460a9294b5c421c
      https://github.com/OpenSIPS/opensips/commit/fc8f87c1191fd9be3eae3d10e460a9294b5c421c
  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

(cherry picked from commit f562251d91a8a57e662db513e2d393a1f9de2884)


  Commit: 514206800b411fa1dc26061227766caa208d6399
      https://github.com/OpenSIPS/opensips/commit/514206800b411fa1dc26061227766caa208d6399
  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

(cherry picked from commit ef82312cbef3ba944df546eaee25b49659df899a)


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

  Changed paths:
    M packaging/debian/changelog
    M packaging/debian/control
    M packaging/debian/copyright
    M packaging/debian/rules

  Log Message:
  -----------
  packaging/debian: merge master changes


Compare: https://github.com/OpenSIPS/opensips/compare/4f0558c204b6...e7d6aba8fc3e

From razvan at opensips.org  Wed Nov 22 11:19:47 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 22 Nov 2017 08:19:47 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b0cef9: move all debian files
 in a single directory
Message-ID: <5a15a3a3419f9_bdb3fd8d570dc24125648@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b0cef9060d44bfdeec806c57fe3d5f6d3ccd9b5a
      https://github.com/OpenSIPS/opensips/commit/b0cef9060d44bfdeec806c57fe3d5f6d3ccd9b5a
  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

(cherry picked from commit d4fdc854fc337e6749b2c17ad376b4b8827a2651)
(cherry picked from commit 1ab7d29b0450e14bcf4d16b7ba3f3308e928fda6)


  Commit: eebe5056f10eeb75efeba15122ad7451d2ae3839
      https://github.com/OpenSIPS/opensips/commit/eebe5056f10eeb75efeba15122ad7451d2ae3839
  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

(cherry picked from commit 069a8f6d187b8b714da40783554d02db31d8319e)


  Commit: 2ae4907155b65cc3f1a3b5db679b16aa618183b6
      https://github.com/OpenSIPS/opensips/commit/2ae4907155b65cc3f1a3b5db679b16aa618183b6
  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

(cherry picked from commit f562251d91a8a57e662db513e2d393a1f9de2884)


  Commit: 32c6e6e78718fe22bdebe41b9693929f2b975de6
      https://github.com/OpenSIPS/opensips/commit/32c6e6e78718fe22bdebe41b9693929f2b975de6
  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

(cherry picked from commit ef82312cbef3ba944df546eaee25b49659df899a)


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

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

  Log Message:
  -----------
  packaging/debian: fix support for stretch


Compare: https://github.com/OpenSIPS/opensips/compare/e8b43c095d8a...7a97f23b4ed1

From bogdan at opensips.org  Wed Nov 22 12:35:15 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 22 Nov 2017 19:35:15 +0200
Subject: [OpenSIPS-Devel] [OpenSIPS-News] Introducing OpenSIPS 2.4
In-Reply-To: <972d9f71-89d4-89f1-9183-f7fc0f1c506a@opensips.org>
References: <972d9f71-89d4-89f1-9183-f7fc0f1c506a@opensips.org>
Message-ID: <c6cf7307-cc32-0a4a-fe4c-d28573a42dad@opensips.org>

Hello all,

Thank you all the participants to the conf call.

For the people who were not able to join us, please find the audio 
recording 
http://opensips.org/html/media/Introducing_OpenSIPS_2-4_2018-11-21.mp3

And keep in mind that whatever comment, objection, idea or generic 
feedback you may have on the topic we are working on for OpenSIPS 2.4 is 
more than welcome ;)

Best regards,

Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer
   http://www.opensips-solutions.com

On 11/01/2017 07:16 PM, Bogdan-Andrei Iancu wrote:
> One more year, one more evolution cycle, one more OpenSIPS major 
> release. So let me introduce you the upcoming OpenSIPS 2.4 .
>
> For the OpenSIPS 2.4 release we decided to focus on the */clustering 
> abilities/*. Today’s VoIP world is getting more and more dynamic, 
> services are moving into Clouds and more and more flexibility is 
> needed for the application to fully exploit such environments. But 
> let’s pin point the main reasons for going for a clustered approach :
>
>   * scaling up with the processing/traffic load
>   * geographical distribution
>   * redundancy and High-Availability
>
> For the OpenSIPS 2.4 we laid down a roadmap that addresses the 
> clustering both from the clustering engine itself (the underlayer) and 
> from the functionalities that will perform on top of the clustering 
> layer, to share data and state.
>
> With OpenSIPS 2.4, it will never be easier to built a consistent and 
> powerful clustered solution:
>
>   * *clustering engine* – enhances the capabilities of controlling the
>     cluster topology, like re-routing for bypassing broken links,
>     dynamic joining of new nodes, support for multiple capabilities
>     per node, data syncing between nodes and many more;
>   * *distributed user location* – this is a very complex topic as it
>     exceeds the simple concept of data sharing. By the nature of the
>     data (the user registrations), you may have different constraints
>     on how data is roaming in a cluster – registrations may be tied to
>     a node due NAT or TCP constraints. Even more, a sharding aspect
>     must be addressed when looking at distributing the pinging effort
>     across the cluster. So, multiple solutions are viable here,
>     depending on what is to be achieved (scaling, redundancy) and what
>     are the network constraints – see a detailed presentation
>     <https://www.opensips.org/Development/Design-Distributed-User-Location>
>     of the available solutions;
>   * *distributed presence server* – quite similar (but less complex)
>     as the distributed user location, a distributed presence server
>     provides a consistent, but distributed way of sharing presence
>     information – SIP entities may publish data via different nodes in
>     the SIP cluster, while the subscribers may fetch presence data via
>     multiple various nodes. Two approaches are under work : (a) a
>     cluster built around a noSQL DB based as primary data storage and
>     (b) a cluster exclusively relying on OpenSIPS for data sharing;
>   * *anycast support* – to be able to build a fully-flavored anycast
>     support (addressing both redundancy and balancing) requires
>     OpenSIPS to replicate/share transaction state across the nodes in
>     the cluster (nodes sharing the same anycast IP). Depending on the
>     nature of the replication (full transaction versus transaction
>     meta-data) a full anycast and light anycast support will be
>     available – here is a detailed description on the anycast
>     <https://docs.google.com/presentation/d/1q6FuBcS_mippQl8ABa2DcrhxRDRHGthvHXe1SlMF6e4/edit?usp=sharing>
>     support;
>   * *clustered media relays* – as OpenSIPS has the ability to work
>     together with several flavors of media relays (such as RTPproxy,
>     RTPEngine, MediaProxy), the clustering support will help OpenSIPS
>     do distributed load-balancing over the relays – even if a relay is
>     used by multiple nodes in the cluster, all the nodes will share
>     information on the load on the relay, to avoid overloading or idle
>     time;
>   * *distributed call center* – an agent is able to register with
>     multiple queues on different nodes on a cluster. Still, all the
>     queues do share the status / availability of the agent and its
>     statistics for call distribution;
>   * *custom clustering* – the OpenSIPS clustering underlayer provides
>     at script level the ability to broadcast (in the cloud) or send to
>     a given node a custom message/action (with replying possibility) –
>     this is a very flexible and powerful way to build your custom
>     distributed functionality directly at script level.
>
> And because we started on the integration path with OpenSIPS 2.3, and 
> because we did it well, we decided to push forward on this path with 
> the 2.4 version as well:
>
>   * more *Homer integration *to be able to report TCP statistics, DB
>     events and media relay events via HEP;
>   * *SIPREC integration* for standard call recording. The new SIPREC
>     module
>     <http://www.opensips.org/Documentation/Tutorials-SIPREC-2-4>
>     provides a standard and transparent (for the call parties) way to
>     do call recording against an external recorder like Oreka
>     <http://oreka.sourceforge.net/> provided by Orecx
>     <http://www.orecx.com>;
>   * more *FreeSWITCH integration* in order to capture the call-events
>     (DTMFs, call status) from FreeSWITCH into OpenSIPS script or for
>     being able to control a FreeSWITCH call from OpenSIPS script via ESL
>   * *Asterisk flavored* Load-Balancing for a more realistic and
>     accurate traffic balancing over Asterisk clusters (as the load
>     information is fetched in realtime from Asterisk);
>
> ------------------------------------------------------------------------
>
> The timeline for OpenSIPS 2.4 is:
>
>   * Beta Release – 12-16 March 2018
>   * Stable Release – 23-27 April 2018
>   * General Availability – 1st of May 2018, during OpenSIPS Summit
>     2018 <http://www.opensips.org/events/Summit-2018Amsterdam/>
>
> To talk more about the features of this new release, a public audio 
> conference <https://www.uberconference.com/opensips> will be 
> available on 21st of November 2017, 4 pm GMT 
> <https://www.timeanddate.com/worldclock/fixedtime.html?msg=Introducing+OpenSIPS+2.4&iso=20171121T18&p1=49&ah=1> , thanks to 
> the kind sponsorship of UberConference 
> <https://www.uberconference.com>. Anyone is welcome to join to find 
> out more details or to ask questions about OpenSIPS 
> <http://opensips.org/> 2.4 .
>
> This is a public and open conference, so no registration is needed, 
> but if you want to announce your intention to participate, please let 
> us know here:
>
> http://blog.opensips.org/2017/11/01/introducing-opensips-2-4/
>
>
> Best regards,
>
> -- 
> Bogdan-Andrei Iancu
>    OpenSIPS Founder and Developer
>    http://www.opensips-solutions.com
>
>
> _______________________________________________
> News mailing list
> News at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/news

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20171122/d8159671/attachment.html>

From razvan at opensips.org  Thu Nov 23 06:02:41 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 23 Nov 2017 03:02:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5e1568: rtpproxy: fix
 rtpproxy_stats() fixup for more para...
Message-ID: <5a16aad18b961_32923f98bddc9c3c27285@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5e1568660007d3b45911301764caeebf6933d09b
      https://github.com/OpenSIPS/opensips/commit/5e1568660007d3b45911301764caeebf6933d09b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-23 (Thu, 23 Nov 2017)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: fix rtpproxy_stats() fixup for more params

Thanks go to Lt-Flash(github) for reporting and providing the fix
Closes #1219



From razvan at opensips.org  Thu Nov 23 06:03:01 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 23 Nov 2017 03:03:01 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 450c3b: rtpproxy: fix
 rtpproxy_stats() fixup for more para...
Message-ID: <5a16aae5f1730_cb313f9498dadc4014117f@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 450c3bb3a58a8e431918b14906b6698c4851fb0d
      https://github.com/OpenSIPS/opensips/commit/450c3bb3a58a8e431918b14906b6698c4851fb0d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-23 (Thu, 23 Nov 2017)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: fix rtpproxy_stats() fixup for more params

Thanks go to Lt-Flash(github) for reporting and providing the fix
Closes #1219

(cherry picked from commit 5e1568660007d3b45911301764caeebf6933d09b)



From razvan at opensips.org  Thu Nov 23 06:51:27 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 23 Nov 2017 03:51:27 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0c499c: debian: prioritize
 libssl1.0-dev over libssl-dev
Message-ID: <5a16b63f4e23b_1a333f8684559c28495f4@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0c499cd9cb01f3ee0e3b71ed31ff06ee77e93702
      https://github.com/OpenSIPS/opensips/commit/0c499cd9cb01f3ee0e3b71ed31ff06ee77e93702
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-23 (Thu, 23 Nov 2017)

  Changed paths:
    M packaging/debian/control

  Log Message:
  -----------
  debian: prioritize libssl1.0-dev over libssl-dev



From razvan at opensips.org  Thu Nov 23 08:40:13 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 23 Nov 2017 05:40:13 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 561c4a: increase required
	libssl library version
Message-ID: <5a16cfbd63fcc_4d4c3fde77ddfc44163046@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 561c4aad07acf905cb5fc3b56bf9f4a9cb9cf632
      https://github.com/OpenSIPS/opensips/commit/561c4aad07acf905cb5fc3b56bf9f4a9cb9cf632
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-23 (Thu, 23 Nov 2017)

  Changed paths:
    M packaging/debian/control

  Log Message:
  -----------
  increase required libssl library version

Thanks a lot Nick Altmann for your help in debugging this!



From liviu at opensips.org  Fri Nov 24 06:37:18 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Fri, 24 Nov 2017 03:37:18 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d3790e: mid_registrar: Fix an
 AoR throttling corner-case
Message-ID: <5a18046e6c1c0_5bdc3fefe0a8bc3016791a@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d3790e6cdd77d4a180189f27f617c99c2f6b1b81
      https://github.com/OpenSIPS/opensips/commit/d3790e6cdd77d4a180189f27f617c99c2f6b1b81
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix an AoR throttling corner-case

If the main registrar omits the Contact in the 200 OK reply,
it could possibly crash the mid registrar.

Reported by Răzvan Crainea.
Fixes Coverity CID #180107



From liviu at opensips.org  Fri Nov 24 07:40:31 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Fri, 24 Nov 2017 04:40:31 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 012434: usrloc: Fix bad
	comparison
Message-ID: <5a18133f68d23_1d7b3fe5d4d5fc244791@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0124344f9733a123753435367525ec9f56e06f1b
      https://github.com/OpenSIPS/opensips/commit/0124344f9733a123753435367525ec9f56e06f1b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

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

  Log Message:
  -----------
  usrloc: Fix bad comparison

Also complete commit d3790e6c

Reported by Răzvan Crainea
Fixes Coverity CID #180087
Fixes Coverity CID #180093



From liviu at opensips.org  Fri Nov 24 11:32:44 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Fri, 24 Nov 2017 08:32:44 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 70eea5: cachedb_mongodb: Start
 OpenSIPS if ":port" URL par...
Message-ID: <5a1849acb240b_5b13fd11a963c341165b8@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 70eea5c61b3262c2fd182cf82ec9da8df6b4e259
      https://github.com/OpenSIPS/opensips/commit/70eea5c61b3262c2fd182cf82ec9da8df6b4e259
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Start OpenSIPS if ":port" URL part is missing

Reported by Răzvan Crainea



From liviu at opensips.org  Fri Nov 24 11:35:58 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Fri, 24 Nov 2017 08:35:58 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2eaef6: mid_registrar: Fix an
 AoR throttling corner-case
Message-ID: <5a184a6edd6f4_48293f9e4d8b7c2c17873b@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2eaef62bc3bf47cd74d5a77f4c8086b805567826
      https://github.com/OpenSIPS/opensips/commit/2eaef62bc3bf47cd74d5a77f4c8086b805567826
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix an AoR throttling corner-case

If the main registrar omits the Contact in the 200 OK reply,
it could possibly crash the mid registrar.

Reported by Răzvan Crainea.
Fixes Coverity CID #180107

(cherry picked from commit d3790e6cdd77d4a180189f27f617c99c2f6b1b81)


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

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Start OpenSIPS if ":port" URL part is missing

Reported by Răzvan Crainea

(cherry picked from commit 70eea5c61b3262c2fd182cf82ec9da8df6b4e259)


Compare: https://github.com/OpenSIPS/opensips/compare/450c3bb3a58a...2c92b923a41b

From razvan at opensips.org  Fri Nov 24 11:57:35 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Fri, 24 Nov 2017 08:57:35 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 20ec7c: tls: remove
	unnecessary warnings
Message-ID: <5a184f7f41a9f_b433fbfdcaadc3811668a@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/coverity_scan
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 20ec7cdbefc33c81dc2f46bac561173733a3a16a
      https://github.com/OpenSIPS/opensips/commit/20ec7cdbefc33c81dc2f46bac561173733a3a16a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-03-23 (Thu, 23 Mar 2017)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls: remove unnecessary warnings

Closes #1007


  Commit: 2522b484f678b7e8dc62aff1ae3fb54d4fdc02b8
      https://github.com/OpenSIPS/opensips/commit/2522b484f678b7e8dc62aff1ae3fb54d4fdc02b8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-03-23 (Thu, 23 Mar 2017)

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

  Log Message:
  -----------
  tls: fix typo in documentation


  Commit: 596fb1f3d4b227185556a992dbd9945fed206f5e
      https://github.com/OpenSIPS/opensips/commit/596fb1f3d4b227185556a992dbd9945fed206f5e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-03-24 (Fri, 24 Mar 2017)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: update cseq under lock

Close #1008


  Commit: 761f477a83fdcab42de912c5a4198f98d2f5343a
      https://github.com/OpenSIPS/opensips/commit/761f477a83fdcab42de912c5a4198f98d2f5343a
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-03-24 (Fri, 24 Mar 2017)

  Changed paths:
    M modules/tls_mgm/tls_conn.h
    M modules/tls_mgm/tls_conn_server.h

  Log Message:
  -----------
  [tls tracing] improve error reporting


  Commit: 426feb5a849b15afbdfd0982f4542ca7492ad6dc
      https://github.com/OpenSIPS/opensips/commit/426feb5a849b15afbdfd0982f4542ca7492ad6dc
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

  Changed paths:
    M modules/sip_i/isup.c
    M modules/sip_i/isup.h
    M modules/sip_i/sip_i.c

  Log Message:
  -----------
  sip_i: use predefined indexes for some accesses to the isup params array


  Commit: de2365df30749a6be001d36a851f319c728e8717
      https://github.com/OpenSIPS/opensips/commit/de2365df30749a6be001d36a851f319c728e8717
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

  Changed paths:
    M modules/sip_i/isup.c

  Log Message:
  -----------
  sip_i: fix some value checks in isup parameter write functions


  Commit: 24fd070fb0569c9ef34b80edcf928a59e331bb38
      https://github.com/OpenSIPS/opensips/commit/24fd070fb0569c9ef34b80edcf928a59e331bb38
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Also DUPlicate the reload time, or else all partitions will share the last reload time


  Commit: 7750cc0e60a9a274d40ae656540f51ec74a28486
      https://github.com/OpenSIPS/opensips/commit/7750cc0e60a9a274d40ae656540f51ec74a28486
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Complete prev commit


  Commit: 6e1afe64960c64a5018c4bb530de026cf91638f5
      https://github.com/OpenSIPS/opensips/commit/6e1afe64960c64a5018c4bb530de026cf91638f5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  fix transformations for input larger than 1024 bytes


  Commit: e6ef00ee45fc2956d99505a1092a5945f5903bca
      https://github.com/OpenSIPS/opensips/commit/e6ef00ee45fc2956d99505a1092a5945f5903bca
  Author: Jon Leren Schøpzinsky <jos at teleguys.com>
  Date:   2017-03-28 (Tue, 28 Mar 2017)

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

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


  Commit: 1257adf351c04ee8924d56b0699079ca429a5fed
      https://github.com/OpenSIPS/opensips/commit/1257adf351c04ee8924d56b0699079ca429a5fed
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-03-28 (Tue, 28 Mar 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix memleak when key is not found


  Commit: e1e7471f7c41a27e27548980708a6f4490ff8a53
      https://github.com/OpenSIPS/opensips/commit/e1e7471f7c41a27e27548980708a6f4490ff8a53
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-03-28 (Tue, 28 Mar 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: prevent deadloc in case of error


  Commit: 1b2549d53b429321bec01a3cdc2174b9837b2124
      https://github.com/OpenSIPS/opensips/commit/1b2549d53b429321bec01a3cdc2174b9837b2124
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-03-28 (Tue, 28 Mar 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: prevent free for uninitialized variables


  Commit: e5a2a4cebf4c5fd0d2b107d0b1b5727851fa735c
      https://github.com/OpenSIPS/opensips/commit/e5a2a4cebf4c5fd0d2b107d0b1b5727851fa735c
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-03-29 (Wed, 29 Mar 2017)

  Changed paths:
    M menuconfig/configs/opensips_loadbalancer.m4

  Log Message:
  -----------
  Remove obsolete parameter from loadbalancer menuconfig script


  Commit: cc63f2de47f59bd01b7663413a825323eb100e92
      https://github.com/OpenSIPS/opensips/commit/cc63f2de47f59bd01b7663413a825323eb100e92
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-03-29 (Wed, 29 Mar 2017)

  Changed paths:
    M main.c
    M mem/hp_malloc.c
    M mem/shm_mem.c
    M mem/shm_mem.h

  Log Message:
  -----------
  HP_MALLOC: Fix a startup ordering issue

Memory warming would never be run at all, due to the following
dependency (issue introduced by 4089d44ca):
  mem warming         -> "mem_warming_enabled" -> yyparse()
  (in init_shm_mallocs())

But init_shm_mallocs() runs _before_ yyparse()!

This patch moves the mem warming code after yyparse().


  Commit: 009691c6c7672927f68cfb8a0340166167a04107
      https://github.com/OpenSIPS/opensips/commit/009691c6c7672927f68cfb8a0340166167a04107
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M socket_info.c
    M socket_info.h

  Log Message:
  -----------
  core "net:" statistics: Fix an integer signedness bug

Due to runaway usage of bitwise shifting, the byte matching code would fail to
work for interfaces having low order bytes with greater values than 128
(e.g. udp:31.32.33.147:5060). Consequently, all "net:" statistics for them
would show up as zeroes.

Thanks to Bogdan and Răzvan for discovering and troubleshooting


  Commit: ec59cb95fec32899123d658545825dc06a3424c3
      https://github.com/OpenSIPS/opensips/commit/ec59cb95fec32899123d658545825dc06a3424c3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M ut.c

  Log Message:
  -----------
  base64decode(): Improve robustness

* prevent invalid memory access with well-crafted input
* remove redundant logical AND


  Commit: faa96c2c80e6c58c038ddac01f4822623ef15381
      https://github.com/OpenSIPS/opensips/commit/faa96c2c80e6c58c038ddac01f4822623ef15381
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M modules/mid_registrar/encode.c
    M ut.c
    M ut.h

  Log Message:
  -----------
  mid_registrar: Fix incompatible Contact URI parameter values

This patch adds RFC 3261-compatible "word" encode/decode functions
for Contact URI parameter values, Call-IDs, etc.

Reported by Kirill Galinurov


  Commit: 15a0ea716e5274f09ef01fa8cdce8029b7e14a30
      https://github.com/OpenSIPS/opensips/commit/15a0ea716e5274f09ef01fa8cdce8029b7e14a30
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M daemonize.c

  Log Message:
  -----------
  Avoid chown on PID and PGID files in debug mode

In debug mode, these files are not created in debug mode (as daemonize() is not triggered), so any chown() will simply fail on it.


  Commit: cf8229a178c885b81b12040b66a48d651ef90031
      https://github.com/OpenSIPS/opensips/commit/cf8229a178c885b81b12040b66a48d651ef90031
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M net/net_tcp_proc.c

  Log Message:
  -----------
  net:tcp: remove unnecessary tcpmain_sock

The tcpmain_sock has been completely repurposed and can no longer be
used to send data back to TCP main - only unix_tcp_sock may be used.


  Commit: bd1bc7860207a8eb6a2d861501066a2dcc80a0cf
      https://github.com/OpenSIPS/opensips/commit/bd1bc7860207a8eb6a2d861501066a2dcc80a0cf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M modules/proto_bin/proto_bin.c

  Log Message:
  -----------
  Switched Async to ON by default (as per docs)


  Commit: fb1240ce53baa67e8bd0945210feb8d24e1251a3
      https://github.com/OpenSIPS/opensips/commit/fb1240ce53baa67e8bd0945210feb8d24e1251a3
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M modules/tm/async.c

  Log Message:
  -----------
  Fix async() statement - run it as sync if not in request route


  Commit: 5e61f3b910d78d2e9087801214545965febb4d6a
      https://github.com/OpenSIPS/opensips/commit/5e61f3b910d78d2e9087801214545965febb4d6a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M modules/snmpstats/openserSIPPortTable.c

  Log Message:
  -----------
  snmpstats: fix int to unsigned int warnings


  Commit: 2dd9b731f9cd9dda599f4a8a4a8e3da855e0667a
      https://github.com/OpenSIPS/opensips/commit/2dd9b731f9cd9dda599f4a8a4a8e3da855e0667a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M net/net_tcp_proc.c

  Log Message:
  -----------
  Revert "net:tcp: remove unnecessary tcpmain_sock"

This reverts commit cf8229a178c885b81b12040b66a48d651ef90031.


  Commit: 16cf1b5469a7627ca099d897a16bb9d12f4fbea6
      https://github.com/OpenSIPS/opensips/commit/16cf1b5469a7627ca099d897a16bb9d12f4fbea6
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-03-31 (Fri, 31 Mar 2017)

  Changed paths:
    M modules/acc/acc_vars.c

  Log Message:
  -----------
  [acc extra] allow null extra and leg variable values


  Commit: ed5b3900878bdc165a72a8a69ccfd70217f7c87c
      https://github.com/OpenSIPS/opensips/commit/ed5b3900878bdc165a72a8a69ccfd70217f7c87c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-03 (Mon, 03 Apr 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix a NULL pointer dereferencing bug

Properly parse message headers before working on them

Fixes #1088


  Commit: a08f8256e6ea34e0a1312da3e6ff028b02f37a0d
      https://github.com/OpenSIPS/opensips/commit/a08f8256e6ea34e0a1312da3e6ff028b02f37a0d
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-03 (Mon, 03 Apr 2017)

  Changed paths:
    M modules/proto_hep/proto_hep.c

  Log Message:
  -----------
  [proto_hep] fix memleak if script is passed


  Commit: 2745e1aba04f3aa701e41b88c56b6692e81454f2
      https://github.com/OpenSIPS/opensips/commit/2745e1aba04f3aa701e41b88c56b6692e81454f2
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-03 (Mon, 03 Apr 2017)

  Changed paths:
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  [sipcapture] free allocated structures from sip_msg if no script


  Commit: a028550c53adf207eca61674e3a2099aab5d9ae8
      https://github.com/OpenSIPS/opensips/commit/a028550c53adf207eca61674e3a2099aab5d9ae8
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-03 (Mon, 03 Apr 2017)

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

  Log Message:
  -----------
  clusterer: don't shutdown at startup or MI reload if DB is empty


  Commit: bad5ec802f8950274a45b15e5dc633fe911c4962
      https://github.com/OpenSIPS/opensips/commit/bad5ec802f8950274a45b15e5dc633fe911c4962
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-04 (Tue, 04 Apr 2017)

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

  Log Message:
  -----------
  net:tcp: make sure commands are sent through correct unix socket

Also prevent trying to delete fd's from hash when they are not
registered for reading/writing


  Commit: 9c08cfe487fc3bd871e47f58d6382a3802bbe414
      https://github.com/OpenSIPS/opensips/commit/9c08cfe487fc3bd871e47f58d6382a3802bbe414
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-04 (Tue, 04 Apr 2017)

  Changed paths:
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: make replication more robust

* keep the dialog locked while building the replication buffer
* mark replicated dialogs to prevent them from being created twice
* fix replication statistics


  Commit: 5717839d265bd97d040634bb371ed1e7fecf33c5
      https://github.com/OpenSIPS/opensips/commit/5717839d265bd97d040634bb371ed1e7fecf33c5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-05 (Wed, 05 Apr 2017)

  Changed paths:
    M scripts/opensipsctl.base

  Log Message:
  -----------
  opensipsctl: Supress random "path not found" errors

In case a binary is not found (e.g. gdb), opensipsctl will properly
report this by default when its related command is called.


  Commit: 43ed8ed1c91a74346b18b68ed6c85ea5cb9fa8c9
      https://github.com/OpenSIPS/opensips/commit/43ed8ed1c91a74346b18b68ed6c85ea5cb9fa8c9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-05 (Wed, 05 Apr 2017)

  Changed paths:
    M modules/tm/tm.c

  Log Message:
  -----------
  Fixed upating SIP msg changes into transaction in failure route.

Do auto transaction update only in request route, otherwise we may end up storing local changes (per-branch).

(cherry picked from commit ab477d07994e393b4174eb471e4eb44627666d49)


  Commit: 981209748cd07b876a29e0fb0e5b991ac39a99a7
      https://github.com/OpenSIPS/opensips/commit/981209748cd07b876a29e0fb0e5b991ac39a99a7
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-05 (Wed, 05 Apr 2017)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Fixed mixing of return code.

Do not re-use the "ret" return code variable when comes to testing the running of the script route (per rule) - it may stay stay to 0 and stop the whole script execution.


  Commit: 5475cd5b8a8edf82569411c464aee2d601d9e6ac
      https://github.com/OpenSIPS/opensips/commit/5475cd5b8a8edf82569411c464aee2d601d9e6ac
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-05 (Wed, 05 Apr 2017)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Fix couple of debug logs.


  Commit: d15472598499564161cb22283eb1a40cdabd7cb0
      https://github.com/OpenSIPS/opensips/commit/d15472598499564161cb22283eb1a40cdabd7cb0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-05 (Wed, 05 Apr 2017)

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

  Log Message:
  -----------
  Supress errors when gracefully timing out

Thanks Chris Maciejewski for reporting and providing testing environment


  Commit: 8c1993f765f1f1b48c307126a07d0fd21b78e423
      https://github.com/OpenSIPS/opensips/commit/8c1993f765f1f1b48c307126a07d0fd21b78e423
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-05 (Wed, 05 Apr 2017)

  Changed paths:
    M modules/proto_tls/README
    M modules/proto_tls/doc/proto_tls_admin.xml
    M modules/proto_tls/proto_tls.c
    M modules/proto_ws/README
    M modules/proto_ws/doc/proto_ws_admin.xml
    M modules/proto_ws/proto_ws.c
    M modules/proto_wss/README
    M modules/proto_wss/doc/proto_wss_admin.xml
    M modules/proto_wss/proto_wss.c
    M net/proto_tcp/README
    M net/proto_tcp/doc/proto_tcp_admin.xml
    M net/proto_tcp/proto_tcp.c

  Log Message:
  -----------
  tracing by default off; fix report condition


  Commit: cf2bbda10cc9c97c42fd30e251d6baafdfd1f8cd
      https://github.com/OpenSIPS/opensips/commit/cf2bbda10cc9c97c42fd30e251d6baafdfd1f8cd
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M modules/event_routing/ebr_data.c

  Log Message:
  -----------
  Fixed looping through subscriptions.

Fix determining the next suscription when removing an exprired subscription which is actually the only one in list.
Closes #1093


  Commit: 62f278f96e516f09edfd1a3611fb6a9ae82a5d02
      https://github.com/OpenSIPS/opensips/commit/62f278f96e516f09edfd1a3611fb6a9ae82a5d02
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  [siptrace] set context for all failure route requests

	The siptrace context pointer was handled via the processing
context. In failure route the context was not set thus not knowing
if the tracing was activated or not. Because of this internally
generated requests were not traced. Now each time a request is
sent the context is set from tm callback parameter.


  Commit: 6455ccba84539d91d7575161989bf9ef41c392e9
      https://github.com/OpenSIPS/opensips/commit/6455ccba84539d91d7575161989bf9ef41c392e9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

  Changed paths:
    M modules/tm/sip_msg.c
    M modules/tm/tm.c
    M parser/msg_parser.h

  Log Message:
  -----------
  Fixed updating transaction if no relay done in request route.

If the request route ends without any t_relay() (like in the PN scenario, where there are no contact registered at the time of INVITE handling), we need to force upating the cloned request (in the UAS side of the transaction) with all the changes done over the request in script (normally this is done at the t_relay() time).

Reported by Nick Altmann.


  Commit: 257507ee62397c788b0f7767a791c77b48194e46
      https://github.com/OpenSIPS/opensips/commit/257507ee62397c788b0f7767a791c77b48194e46
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

  Changed paths:
    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

  Log Message:
  -----------
  [net tracing filtering] clarify connection filtering tools


  Commit: cc9a767fa5458b1bc1abbab557c7a0451e2cef35
      https://github.com/OpenSIPS/opensips/commit/cc9a767fa5458b1bc1abbab557c7a0451e2cef35
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

  Changed paths:
    M net/trans.h

  Log Message:
  -----------
  trans: always indicate that WS is a TCP based connection

This sorts out the issue where only WSS is used, but its clients are
advertising transport=ws in URI's param, according to RFC 7118.


  Commit: 92ccfc3b32d28f6cc3af982515820fbc337d9073
      https://github.com/OpenSIPS/opensips/commit/92ccfc3b32d28f6cc3af982515820fbc337d9073
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
    M mem/hp_malloc.c

  Log Message:
  -----------
  HP_MALLOC: Do not abort on oom


  Commit: f9ca59f7baa20701f21ec9c7912c21e13580f8c3
      https://github.com/OpenSIPS/opensips/commit/f9ca59f7baa20701f21ec9c7912c21e13580f8c3
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
    M modules/statistics/statistics.c

  Log Message:
  -----------
  [statistics mod] fix stat lookup for $stat variable


  Commit: e44d51374c554bb14f5c64dc700f2aaab927ac0c
      https://github.com/OpenSIPS/opensips/commit/e44d51374c554bb14f5c64dc700f2aaab927ac0c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
    M modules/statistics/statistics.c

  Log Message:
  -----------
  statistics: Code refactoring


  Commit: 1ff48b21615f3e13bdee1925c74451c9c5c1ba3b
      https://github.com/OpenSIPS/opensips/commit/1ff48b21615f3e13bdee1925c74451c9c5c1ba3b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
    M modules/statistics/statistics.c

  Log Message:
  -----------
  Merge branch 'statistics-patch'


  Commit: d8a3be9913409e9e69ec0f75566f09ce1cc83e85
      https://github.com/OpenSIPS/opensips/commit/d8a3be9913409e9e69ec0f75566f09ce1cc83e85
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
    M modules/statistics/statistics.c

  Log Message:
  -----------
  statistics: Fix a $stat bug

Properly register a statistic (and attach it to static storage) even
when it's first used in a $stat statement.


  Commit: b90ec06e7a0cebfe6415e145afcfa799363a726f
      https://github.com/OpenSIPS/opensips/commit/b90ec06e7a0cebfe6415e145afcfa799363a726f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
    M action.c

  Log Message:
  -----------
  Expose a processing context in all routes.

If the underlaying code does not set a context when executing a script route, allocate a temporary one in run_top_route.

Related to #1097 and #1100


  Commit: 9e251cefbf9129d8ae5ade74ee297e18fc5907b6
      https://github.com/OpenSIPS/opensips/commit/9e251cefbf9129d8ae5ade74ee297e18fc5907b6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  topology_hiding: remove bogus prev_crt check in contact removal


  Commit: 77b37f5316623e0e55da4b798e6e0549100ff2f2
      https://github.com/OpenSIPS/opensips/commit/77b37f5316623e0e55da4b798e6e0549100ff2f2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
    M modules/tm/t_fwd.c

  Log Message:
  -----------
  tm: update branch route only if it was specified in branch route


  Commit: b7b8717d87ff898fd68ed76f1e9b6ef63c8cb5a0
      https://github.com/OpenSIPS/opensips/commit/b7b8717d87ff898fd68ed76f1e9b6ef63c8cb5a0
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-13 (Thu, 13 Apr 2017)

  Changed paths:
    M forward.h
    M socket_info.h

  Log Message:
  -----------
  Fix wrong BUG log, downgrading it to ERR

Also improved the log messages by printing the proto name (not only its index)


  Commit: b4ce514b0a22fb3d301126723cd455aa33e516dd
      https://github.com/OpenSIPS/opensips/commit/b4ce514b0a22fb3d301126723cd455aa33e516dd
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-13 (Thu, 13 Apr 2017)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: fix kerberos error log


  Commit: c6083fca7d7ad29949dba56d5ece4fb92bb542ad
      https://github.com/OpenSIPS/opensips/commit/c6083fca7d7ad29949dba56d5ece4fb92bb542ad
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-13 (Thu, 13 Apr 2017)

  Changed paths:
    M modules/xml/xml.c

  Log Message:
  -----------
  xml: downgrade logs to DBG when retrieving an unexisting node or attribute


  Commit: 3d2abb23ce0063150e2a945d876bec03b079b6cf
      https://github.com/OpenSIPS/opensips/commit/3d2abb23ce0063150e2a945d876bec03b079b6cf
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-13 (Thu, 13 Apr 2017)

  Changed paths:
    M bin_interface.c

  Log Message:
  -----------
  Fix several binary interface bugs

    * badly handled empty str pushes
    * buggy str pop operations
    * missing safety check
    * addition instead of subtraction bug :|
    * bad limit check
    * fix guaranteed crash if out of pkg mem

Fixes #1084


  Commit: 8ebca4bfbebb49f5598bb9079b24368c85afb84e
      https://github.com/OpenSIPS/opensips/commit/8ebca4bfbebb49f5598bb9079b24368c85afb84e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-13 (Thu, 13 Apr 2017)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog replication: Avoid potential crash when debugging ("log_level = 4")


  Commit: 06bc4ba4d560606ddd8299754e03ef1b3c1f4007
      https://github.com/OpenSIPS/opensips/commit/06bc4ba4d560606ddd8299754e03ef1b3c1f4007
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-13 (Thu, 13 Apr 2017)

  Changed paths:
    M bin_interface.c
    M bin_interface.h

  Log Message:
  -----------
  binary interface: Improve coding style

    * fix missing "\n" in log messages
    * improve readability of buffer safety checks
    * bin_extend(), rather than bin_realloc()
    * fix some line lengths
    * fix typos


  Commit: c00a670ff7ae3fef88e0f7f0cbfa6f7b2bf10602
      https://github.com/OpenSIPS/opensips/commit/c00a670ff7ae3fef88e0f7f0cbfa6f7b2bf10602
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-13 (Thu, 13 Apr 2017)

  Changed paths:
    M modules/tm/uac.c
    M parser/parse_body.c
    M parser/parse_body.h

  Log Message:
  -----------
  tm: regenerate local route message if body has changed


  Commit: b0bc85aa09ef88446b01cc3b7652b7dc02f18a02
      https://github.com/OpenSIPS/opensips/commit/b0bc85aa09ef88446b01cc3b7652b7dc02f18a02
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-13 (Thu, 13 Apr 2017)

  Changed paths:
    M parser/parse_body.c

  Log Message:
  -----------
  make sure a body exists


  Commit: a8b74d0fc22f8dbb4d6edbe35621ab9e708d8abc
      https://github.com/OpenSIPS/opensips/commit/a8b74d0fc22f8dbb4d6edbe35621ab9e708d8abc
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-13 (Thu, 13 Apr 2017)

  Changed paths:
    M modules/xml/xml.c

  Log Message:
  -----------
  xml: fix missing XML declaration when dumping entire document


  Commit: 5aaf8bf5aa139d862b2b35ef050dd1a9cc3c17c4
      https://github.com/OpenSIPS/opensips/commit/5aaf8bf5aa139d862b2b35ef050dd1a9cc3c17c4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M packaging/debian/common/changelog

  Log Message:
  -----------
  bump version to 2.4


  Commit: b73fbaf0fcb632d4a81ce79fb3e084795dceb315
      https://github.com/OpenSIPS/opensips/commit/b73fbaf0fcb632d4a81ce79fb3e084795dceb315
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M modules/tls_mgm/tls_conn_server.h

  Log Message:
  -----------
  tls_mgm: add support for openssl 1.1.0 for master-key


  Commit: a86ddf28464e024379c2d51d67872d83904fe624
      https://github.com/OpenSIPS/opensips/commit/a86ddf28464e024379c2d51d67872d83904fe624
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    A packaging/debian/jessie/control
    A packaging/debian/jessie/rules

  Log Message:
  -----------
  add packaging for debian jessie


  Commit: dceb1db63f8c739a775c6325fd343868dc738c8b
      https://github.com/OpenSIPS/opensips/commit/dceb1db63f8c739a775c6325fd343868dc738c8b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M packaging/debian/common/changelog
    M packaging/debian/common/control
    M packaging/debian/common/copyright
    M packaging/debian/common/opensips.lintian-overrides
    M packaging/debian/common/opensips.service
    M packaging/debian/common/rules

  Log Message:
  -----------
  sync debian packaging with official packages


  Commit: b3ec00e634354cfa17781b6a1160c60f194ad4fd
      https://github.com/OpenSIPS/opensips/commit/b3ec00e634354cfa17781b6a1160c60f194ad4fd
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M async.c
    M mem/shm_mem.h
    M modules/aaa_radius/README
    M modules/aaa_radius/doc/aaa_radius_admin.xml
    M modules/cachedb_local/cachedb_local.c
    M modules/cgrates/cgrates_common.c
    M modules/compression/README
    M modules/compression/doc/compression_admin.xml
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_replication.c
    M modules/dialplan/README
    M modules/dialplan/doc/dialplan_admin.xml
    M modules/dispatcher/README
    M modules/dispatcher/dispatcher.c
    M modules/dispatcher/doc/dispatcher_admin.xml
    M modules/emergency/emergency_methods.c
    M modules/event_routing/ebr_data.c
    M modules/freeswitch/fs_proc.c
    M modules/mangler/mangler.cfg
    M modules/mi_json/README
    M modules/mi_json/doc/mi_json_admin.xml
    M modules/mid_registrar/ulcb.c
    M modules/presence_callinfo/presence_callinfo.c
    M modules/presence_dialoginfo/presence_dialoginfo.c
    M modules/presence_mwi/presence_mwi.c
    M modules/proto_bin/proto_bin.c
    M modules/proto_hep/hep.c
    M modules/proto_hep/proto_hep.c
    M modules/proto_ws/ws_handshake_common.h
    M modules/pua_dialoginfo/README
    M modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml
    M modules/rtpengine/README
    M modules/rtpengine/doc/rtpengine_admin.xml
    M modules/rtpengine/doc/rtpengine_faq.xml
    M modules/rtpengine/rtpengine.c
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/rtpproxy_admin.xml
    M modules/sip_i/README
    M modules/sip_i/doc/sip_i_admin.xml
    M modules/sip_i/isup.c
    M modules/sip_i/sip_i.c
    M modules/siptrace/siptrace.c
    M modules/tm/async.c
    M net/proto_tcp/proto_tcp.c
    M net/trans_trace.c
    M scripts/opensipsdbctl
    M scripts/opensipsdbctl.sqlite

  Log Message:
  -----------
  fix several typos


  Commit: fbd54c4a599299da93fc54626766ad34d1afa97a
      https://github.com/OpenSIPS/opensips/commit/fbd54c4a599299da93fc54626766ad34d1afa97a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  Always overwrite DEFS variable but provide an init

This is a better solution to 5324464234 for providing DEFS from outside
the building environment


  Commit: 040e73a7e2ffe25bf32ef0c6c8f49eaef781c992
      https://github.com/OpenSIPS/opensips/commit/040e73a7e2ffe25bf32ef0c6c8f49eaef781c992
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M lib/timerfd.h

  Log Message:
  -----------
  timerfd: only linux supports timerfd


  Commit: 50c406bc4fd4975c63f5754a8bcdc49d3fa80876
      https://github.com/OpenSIPS/opensips/commit/50c406bc4fd4975c63f5754a8bcdc49d3fa80876
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M modules/auth_aaa/Makefile
    M modules/cachedb_couchbase/Makefile
    M modules/cachedb_memcached/Makefile
    M modules/cachedb_redis/Makefile
    M modules/db_berkeley/Makefile
    M modules/db_http/Makefile
    M modules/db_unixodbc/Makefile
    M modules/event_rabbitmq/Makefile
    M modules/jabber/Makefile
    M modules/lua/Makefile
    M modules/mmgeoip/Makefile
    M modules/peering/Makefile
    M modules/presence/Makefile
    M modules/presence_xml/Makefile
    M modules/pua_dialoginfo/Makefile
    M modules/snmpstats/Makefile
    M modules/xmpp/Makefile
    M utils/db_berkeley/Makefile

  Log Message:
  -----------
  Remove useless includes

These useless includes prevented compile on kfreebsd
Close #1002


  Commit: b24bffb4702aabf8a908776a9dee44a2632e3c34
      https://github.com/OpenSIPS/opensips/commit/b24bffb4702aabf8a908776a9dee44a2632e3c34
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M modules/xml/Makefile

  Log Message:
  -----------
  xml: remove useless include that breaks kfreebsd


  Commit: 688e5fef9b8ecbe9e6182e5912fcf421c6d9b7d4
      https://github.com/OpenSIPS/opensips/commit/688e5fef9b8ecbe9e6182e5912fcf421c6d9b7d4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

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

  Log Message:
  -----------
  add packaging for the mongodb module


  Commit: 0c718ad9dd04a59e96a32c7680ea91bf9a915c3f
      https://github.com/OpenSIPS/opensips/commit/0c718ad9dd04a59e96a32c7680ea91bf9a915c3f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-16 (Sun, 16 Apr 2017)

  Changed paths:
    M Makefile
    A packaging/debian/stretch/control
    A packaging/debian/stretch/rules

  Log Message:
  -----------
  debian: add stretch files and make jessie default


  Commit: 4c71612b477af1a2c42d946ed56a94311e150ddf
      https://github.com/OpenSIPS/opensips/commit/4c71612b477af1a2c42d946ed56a94311e150ddf
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-18 (Tue, 18 Apr 2017)

  Changed paths:
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: fix direction specification

Reported by volga629 on GitHub

Close #1107


  Commit: f9f46d560f143c3c8cffb8a6ce1dbaf7dcab8aff
      https://github.com/OpenSIPS/opensips/commit/f9f46d560f143c3c8cffb8a6ce1dbaf7dcab8aff
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    A packaging/debian/wheezy/control
    A packaging/debian/wheezy/rules

  Log Message:
  -----------
  debian: add wheezy packaging


  Commit: 938b08c1b5ca6ac430f9a1cf468757e3dd6a7663
      https://github.com/OpenSIPS/opensips/commit/938b08c1b5ca6ac430f9a1cf468757e3dd6a7663
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M modules/nathelper/nathelper.c
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  tm: re-point contact buffer to the fixed contact

Before this change, if async was used, the fixed contact was lost. This
fix repoints the Contact URI to the fixed contact.


  Commit: 0b19616ec60c389643a5503e26cfc19af748640a
      https://github.com/OpenSIPS/opensips/commit/0b19616ec60c389643a5503e26cfc19af748640a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

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

  Log Message:
  -----------
  mid_registrar: Improve function docs


  Commit: 82873f5720513d13319bd518f09be6869d2a5f87
      https://github.com/OpenSIPS/opensips/commit/82873f5720513d13319bd518f09be6869d2a5f87
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M Makefile.sources
    A lib/reg/ci.c
    A lib/reg/ci.h
    A lib/reg/config.h
    A lib/reg/path.c
    A lib/reg/path.h
    A lib/reg/regtime.c
    A lib/reg/regtime.h
    M lib/reg/rerrno.h
    M lib/reg/sip_msg.c
    M lib/reg/sip_msg.h
    M modules/mid_registrar/Makefile
    M modules/mid_registrar/lookup.c
    M modules/mid_registrar/mid_registrar.c
    M modules/mid_registrar/mid_registrar.h
    M modules/mid_registrar/save.c
    M modules/registrar/Makefile
    M modules/registrar/common.c
    M modules/registrar/lookup.c
    R modules/registrar/path.c
    R modules/registrar/path.h
    M modules/registrar/reg_mod.h
    R modules/registrar/regtime.c
    R modules/registrar/regtime.h
    M modules/registrar/reply.c
    M modules/registrar/save.c
    M modules/registrar/sip_msg.c
    M modules/registrar/sip_msg.h

  Log Message:
  -----------
  Move common registrar code under lib/reg

Also add distinct compilation logic for it, so as not to be included in the
"opensips" binary.


  Commit: 1f9aa6d61333346c3935ce57a674defb977629a0
      https://github.com/OpenSIPS/opensips/commit/1f9aa6d61333346c3935ce57a674defb977629a0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M lib/reg/ci.c
    M modules/mid_registrar/gruu.c
    M modules/mid_registrar/mid_registrar.c
    M modules/mid_registrar/mid_registrar.h
    M modules/registrar/lookup.c
    M modules/registrar/reply.c
    M modules/registrar/save.c
    M modules/registrar/sip_msg.c

  Log Message:
  -----------
  Move common registrar time-keeping code under lib/reg


  Commit: 9021fc7f213c4602c9e1839cc1a8d39d7c6e7153
      https://github.com/OpenSIPS/opensips/commit/9021fc7f213c4602c9e1839cc1a8d39d7c6e7153
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-20 (Thu, 20 Apr 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  Fix compile error (skip some bogus dbg log)


  Commit: dee4d12f8e99adbb6e46476eaeaf2b80130cb5a9
      https://github.com/OpenSIPS/opensips/commit/dee4d12f8e99adbb6e46476eaeaf2b80130cb5a9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-20 (Thu, 20 Apr 2017)

  Changed paths:
    M modules/tm/README
    M modules/tm/doc/tm_admin.xml
    M modules/tm/tm.c

  Log Message:
  -----------
  Fixed t_check_trans() not to report end-2-end ACKs

end-2-end ACKs are sequential requests (in dialog) forming a separate transaction than the INVITE; In terms of ACK matching, the t_check_trans() reports only hop-by-hop ACKs (to negative replies) which are part of the INVITE transaction.


  Commit: ad71e0e9e3e7bae6d5f45091aeddbb674c04ab1c
      https://github.com/OpenSIPS/opensips/commit/ad71e0e9e3e7bae6d5f45091aeddbb674c04ab1c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-20 (Thu, 20 Apr 2017)

  Changed paths:
    M mem/common.h
    M mem/f_malloc.c
    M mem/hp_malloc.c
    M mem/q_malloc.c

  Log Message:
  -----------
  Improve memory allocation error reporting

Reporting "bytes needed" may speed up troubleshooting broken code which
attempts to allocate bogus amounts of memory.


  Commit: c393ee982291fab560bdc679c9dfcd7e01f0549b
      https://github.com/OpenSIPS/opensips/commit/c393ee982291fab560bdc679c9dfcd7e01f0549b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-20 (Thu, 20 Apr 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:
  -----------
  Update cfg scripts with a cleaner logic in ACK handling

Discard ASAP the hop-by-hop ACKs.


  Commit: 527017104058deb253ba5be6b32239483f834839
      https://github.com/OpenSIPS/opensips/commit/527017104058deb253ba5be6b32239483f834839
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-20 (Thu, 20 Apr 2017)

  Changed paths:
    M modules/sl/sl_funcs.c

  Log Message:
  -----------
  Fixed bogus returned code for sl_send_reply()

If called for an ACK request, the sl_send_reply() func returns 0, terminated the script execution; Changed to return success (1).


  Commit: 7057e6765779eeb55155827d843c483c4c8e2a65
      https://github.com/OpenSIPS/opensips/commit/7057e6765779eeb55155827d843c483c4c8e2a65
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-20 (Thu, 20 Apr 2017)

  Changed paths:
    M modules/registrar/README
    M modules/registrar/doc/registrar_admin.xml
    M modules/registrar/lookup.c

  Log Message:
  -----------
  registrar: is_ip_registered() also checks contact host

The is_ip_registered() function should match the IPs to the registered
parameter, if it exists, or to the contact's host otherwise.

Thanks go to Ovidiu Sas for reporting this.

Close #1086


  Commit: c9cf64084aabf8c967b068ecbf2dd10e68f5a8b1
      https://github.com/OpenSIPS/opensips/commit/c9cf64084aabf8c967b068ecbf2dd10e68f5a8b1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-20 (Thu, 20 Apr 2017)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  Fixed testing the return code for pv_set_value()


  Commit: 4bba4d800cdb76c64c6a3b66b0849a0ff1eb90a2
      https://github.com/OpenSIPS/opensips/commit/4bba4d800cdb76c64c6a3b66b0849a0ff1eb90a2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  topo hiding: replace contact lumps with NOP

This prevents possible dangling pointers in the contact uri (changed by
the fix_nated_contact() function). Instead of deleting the lumps that
alter the contact, we replace them with a NOP and COND_FALSE.


  Commit: 3371f80cdbc6b6ac05e8c88756239a306a21d580
      https://github.com/OpenSIPS/opensips/commit/3371f80cdbc6b6ac05e8c88756239a306a21d580
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M modules/dialog/dlg_hash.c

  Log Message:
  -----------
  dialog: split contact and route_set buffers

This allows changing each of the contact/route set individually


  Commit: df59d0dcf595c0fe4538b873ee0c113891a0e98e
      https://github.com/OpenSIPS/opensips/commit/df59d0dcf595c0fe4538b873ee0c113891a0e98e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: update contact at the end of initial req processing

This makes the fix_nated_contact() changes visible throughout the entire
processing of the initial request.


  Commit: c63dd1626e3407ad5d38a064cf7fd4b3c2bfb64b
      https://github.com/OpenSIPS/opensips/commit/c63dd1626e3407ad5d38a064cf7fd4b3c2bfb64b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M modules/rabbitmq/README
    M modules/rabbitmq/doc/rabbitmq_admin.xml

  Log Message:
  -----------
  rabbitmq: fix documentation copy&paste error


  Commit: adb59dd5c1bbfaafe50dc0e24e21f36d372d0a3a
      https://github.com/OpenSIPS/opensips/commit/adb59dd5c1bbfaafe50dc0e24e21f36d372d0a3a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M modules/rabbitmq/rabbitmq.c

  Log Message:
  -----------
  rabbitmq: do not exit script if command is successful


  Commit: c9901f6138748d28d0b948aab700a15e1ae4b940
      https://github.com/OpenSIPS/opensips/commit/c9901f6138748d28d0b948aab700a15e1ae4b940
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M lib/reg/ci.c
    M lib/reg/ci.h
    M modules/mid_registrar/save.c
    M modules/registrar/save.c

  Log Message:
  -----------
  registrar library: Fix nat flag management


  Commit: 6d683cef0abe023540fdf86d0ec2b7f85d7c916b
      https://github.com/OpenSIPS/opensips/commit/6d683cef0abe023540fdf86d0ec2b7f85d7c916b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M modules/mid_registrar/lookup.c
    M parser/parse_uri.c

  Log Message:
  -----------
  Fix a print_uri() parameter issue

The parameter fields of a parsed (struct sip_uri) actually contain the entire
value (e.g. .transport = "transport=tcp", .transport_val = "tcp")


  Commit: 484f0de804c242af2a627b0b9743f69bb9d8d4e0
      https://github.com/OpenSIPS/opensips/commit/484f0de804c242af2a627b0b9743f69bb9d8d4e0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 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: Simplify data structures


  Commit: bae111ba3de7c75c9a2c15fe3048e6343b3f1417
      https://github.com/OpenSIPS/opensips/commit/bae111ba3de7c75c9a2c15fe3048e6343b3f1417
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix reply handling when routing by Path


  Commit: 8cba5ecc0ea7b95daaf702d023e9de2ec8b26daf
      https://github.com/OpenSIPS/opensips/commit/8cba5ecc0ea7b95daaf702d023e9de2ec8b26daf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  Fix sequential lookups of the DID separator.


  Commit: 017c5e40d3bd5b8fd08cb2184f884ad9f668a268
      https://github.com/OpenSIPS/opensips/commit/017c5e40d3bd5b8fd08cb2184f884ad9f668a268
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  topo_hiding: fix COND_FAILED insertion for after and before


  Commit: 38fd4a6335e31303a0075a3d202a89cc3c2e9e03
      https://github.com/OpenSIPS/opensips/commit/38fd4a6335e31303a0075a3d202a89cc3c2e9e03
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix uninitialized return code in case of error


  Commit: 00906dec7df55d9feb117af53e059943a229993b
      https://github.com/OpenSIPS/opensips/commit/00906dec7df55d9feb117af53e059943a229993b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M scripts/opensipsctl.pgsql

  Log Message:
  -----------
  opensipsctl: Fix PostgreSQL login

Closes #1089


  Commit: 478d3f33cce65996a627613345c77fe5373b717f
      https://github.com/OpenSIPS/opensips/commit/478d3f33cce65996a627613345c77fe5373b717f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-23 (Sun, 23 Apr 2017)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Fix bug in GW pinging.

Disable the destination if the ping sending fails. If we cannot ping it, for sure we will not be able to send call to it too.
Closes #982


  Commit: 509b8d1745e7aa4d3016d7f521469b369a85e10b
      https://github.com/OpenSIPS/opensips/commit/509b8d1745e7aa4d3016d7f521469b369a85e10b
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M modules/tls_mgm/tls_conn.h

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


  Commit: 809df8d5842a1bf098666058657149d54d6136ff
      https://github.com/OpenSIPS/opensips/commit/809df8d5842a1bf098666058657149d54d6136ff
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

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

Fixes Coverity CID 167552


  Commit: 705fdec8d2a1aa8409cf2b3e9d7965ba8fee7660
      https://github.com/OpenSIPS/opensips/commit/705fdec8d2a1aa8409cf2b3e9d7965ba8fee7660
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-24 (Mon, 24 Apr 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: 8ea9082b85d97065b4c49932233d87f51bffd0f8
      https://github.com/OpenSIPS/opensips/commit/8ea9082b85d97065b4c49932233d87f51bffd0f8
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M modules/tm/async.c

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

Fixes #1074


  Commit: d8f1bc4481d590dc3315bd535b0825de3eb42458
      https://github.com/OpenSIPS/opensips/commit/d8f1bc4481d590dc3315bd535b0825de3eb42458
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M modules/tm/async.h

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


  Commit: 4c7c2c4cf9ad6ab1396d141087c6c84326d5787d
      https://github.com/OpenSIPS/opensips/commit/4c7c2c4cf9ad6ab1396d141087c6c84326d5787d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-24 (Mon, 24 Apr 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: 1eb3ff4ad9eeda17ad713400ec6142d210a07fdd
      https://github.com/OpenSIPS/opensips/commit/1eb3ff4ad9eeda17ad713400ec6142d210a07fdd
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-24 (Mon, 24 Apr 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: aad5b82afd3f12c1ae1dc5b208dbdcba798f84f6
      https://github.com/OpenSIPS/opensips/commit/aad5b82afd3f12c1ae1dc5b208dbdcba798f84f6
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-24 (Mon, 24 Apr 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: 0fac958226df077d35f81170ca41c66e458f8377
      https://github.com/OpenSIPS/opensips/commit/0fac958226df077d35f81170ca41c66e458f8377
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M db/db_ut.c

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


  Commit: 83d3399fa26a44febecec64d7ed91e1d3afd7f3f
      https://github.com/OpenSIPS/opensips/commit/83d3399fa26a44febecec64d7ed91e1d3afd7f3f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

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

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


  Commit: a38a3b7b67947805189d3eb166f1f24b5c8ae73e
      https://github.com/OpenSIPS/opensips/commit/a38a3b7b67947805189d3eb166f1f24b5c8ae73e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
    M modules/rabbitmq/rmq_servers.c

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


  Commit: c8e5a41297c2125bd1627b84329e81d00417d415
      https://github.com/OpenSIPS/opensips/commit/c8e5a41297c2125bd1627b84329e81d00417d415
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-25 (Tue, 25 Apr 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: b604bd9a977f7237a0eab7abe15616b7a1a6364b
      https://github.com/OpenSIPS/opensips/commit/b604bd9a977f7237a0eab7abe15616b7a1a6364b
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
    M modules/nat_traversal/nat_traversal.c

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


  Commit: 590241709f026789670cb7c55ce7b9a9aeb9da91
      https://github.com/OpenSIPS/opensips/commit/590241709f026789670cb7c55ce7b9a9aeb9da91
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
    M modules/proto_hep/proto_hep.c

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


  Commit: dcfe89e724fc00108350d4852a28cda9eebe7ecf
      https://github.com/OpenSIPS/opensips/commit/dcfe89e724fc00108350d4852a28cda9eebe7ecf
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
    M xlog.c

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


  Commit: 52905ebc737bf31acf4e1fcd55f5b480645ce528
      https://github.com/OpenSIPS/opensips/commit/52905ebc737bf31acf4e1fcd55f5b480645ce528
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-25 (Tue, 25 Apr 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: 5fe2d7047b5dcdf859f08608a4a0f5c8373557f6
      https://github.com/OpenSIPS/opensips/commit/5fe2d7047b5dcdf859f08608a4a0f5c8373557f6
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

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


  Commit: 833a9c4ff89b319912e3dea3be9a487d2c2ce618
      https://github.com/OpenSIPS/opensips/commit/833a9c4ff89b319912e3dea3be9a487d2c2ce618
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-25 (Tue, 25 Apr 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: 04f7fbdea5034bc002c9e27c6a48fdacbd93b381
      https://github.com/OpenSIPS/opensips/commit/04f7fbdea5034bc002c9e27c6a48fdacbd93b381
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
    M modules/proto_hep/hep.c

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


  Commit: 0f903f1e0b7a1eef5c5b64aa04bcc2aa3db35af5
      https://github.com/OpenSIPS/opensips/commit/0f903f1e0b7a1eef5c5b64aa04bcc2aa3db35af5
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 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: 1420fe05244db2247f3633c9cc82752994360cf2
      https://github.com/OpenSIPS/opensips/commit/1420fe05244db2247f3633c9cc82752994360cf2
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 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: a89e1526ad1ec426972f93bc9bc5c4ca1e0e8c0e
      https://github.com/OpenSIPS/opensips/commit/a89e1526ad1ec426972f93bc9bc5c4ca1e0e8c0e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 2017)

  Changed paths:
    M modules/cgrates/cgrates_acc.c

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


  Commit: c28bc43eef61a163f42f3f1a449c09a4ff015558
      https://github.com/OpenSIPS/opensips/commit/c28bc43eef61a163f42f3f1a449c09a4ff015558
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 2017)

  Changed paths:
    M modules/cgrates/cgrates_common.c

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


  Commit: 9a5796ab87bd74478c07bf8cb09147cbed2c4842
      https://github.com/OpenSIPS/opensips/commit/9a5796ab87bd74478c07bf8cb09147cbed2c4842
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 2017)

  Changed paths:
    M modules/cgrates/cgrates_common.c

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


  Commit: fc8da38d889bc6e0e21274bfdfc3e74fae93c062
      https://github.com/OpenSIPS/opensips/commit/fc8da38d889bc6e0e21274bfdfc3e74fae93c062
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 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: 0e9f1ab3911e684b8ba8e34c65f075d24a986540
      https://github.com/OpenSIPS/opensips/commit/0e9f1ab3911e684b8ba8e34c65f075d24a986540
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 2017)

  Changed paths:
    M modules/usrloc/urecord.c

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


  Commit: 15600b615220a1aae88b68ae373c34efc5b094a6
      https://github.com/OpenSIPS/opensips/commit/15600b615220a1aae88b68ae373c34efc5b094a6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 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: fe892264a754e54cd6e778220ffa950fc92c3139
      https://github.com/OpenSIPS/opensips/commit/fe892264a754e54cd6e778220ffa950fc92c3139
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 2017)

  Changed paths:
    M modules/usrloc/urecord.c

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


  Commit: ff1ffefd4fa9a4e67cbd44057e3e7b9610efa681
      https://github.com/OpenSIPS/opensips/commit/ff1ffefd4fa9a4e67cbd44057e3e7b9610efa681
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 2017)

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

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


  Commit: df23995f69b485d24b9162487ac4ea7d56a9870c
      https://github.com/OpenSIPS/opensips/commit/df23995f69b485d24b9162487ac4ea7d56a9870c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 2017)

  Changed paths:
    M forward.h

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


  Commit: c27405ec6b7095d2d012da85599c1e10c01282e0
      https://github.com/OpenSIPS/opensips/commit/c27405ec6b7095d2d012da85599c1e10c01282e0
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 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: 35981e0aaf271a587168d83702a6a220eb9bf06f
      https://github.com/OpenSIPS/opensips/commit/35981e0aaf271a587168d83702a6a220eb9bf06f
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 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: cbbb232e9b2b8e8a9ed35a1da3f8d2eec0611334
      https://github.com/OpenSIPS/opensips/commit/cbbb232e9b2b8e8a9ed35a1da3f8d2eec0611334
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 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: ece42ab71c56c03c8aba581e5c978d033e56ff9a
      https://github.com/OpenSIPS/opensips/commit/ece42ab71c56c03c8aba581e5c978d033e56ff9a
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 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: 8972a5d7f1a3becbcc35d2523929e959da9b30b0
      https://github.com/OpenSIPS/opensips/commit/8972a5d7f1a3becbcc35d2523929e959da9b30b0
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 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: d326e4e8e354e72f7dbf16e1d220056428224869
      https://github.com/OpenSIPS/opensips/commit/d326e4e8e354e72f7dbf16e1d220056428224869
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 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: 15271daa8e891e531712732162cd31ec132e0544
      https://github.com/OpenSIPS/opensips/commit/15271daa8e891e531712732162cd31ec132e0544
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 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: bc1ce053c23ec0e07bf12ee884a587e019fc6981
      https://github.com/OpenSIPS/opensips/commit/bc1ce053c23ec0e07bf12ee884a587e019fc6981
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 2017)

  Changed paths:
    M modules/presence/presence.c

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


  Commit: 6c4b62dfe5b90f56c347e4a67d40895beeeab963
      https://github.com/OpenSIPS/opensips/commit/6c4b62dfe5b90f56c347e4a67d40895beeeab963
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 2017)

  Changed paths:
    M modules/acc/acc.c

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


  Commit: 01c9ae2f350394bb28e59f34863ef7868ab0d748
      https://github.com/OpenSIPS/opensips/commit/01c9ae2f350394bb28e59f34863ef7868ab0d748
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-27 (Thu, 27 Apr 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: fdfb68905f13d8c35aba475078f89fec5be461a7
      https://github.com/OpenSIPS/opensips/commit/fdfb68905f13d8c35aba475078f89fec5be461a7
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-27 (Thu, 27 Apr 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: b9fba7c1e228a31f765d573dec903a32140e45e5
      https://github.com/OpenSIPS/opensips/commit/b9fba7c1e228a31f765d573dec903a32140e45e5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

  Changed paths:
    M modules/tm/async.c

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


  Commit: 16a1be540e0d7e47294dfdbfffef01fbd11f17d6
      https://github.com/OpenSIPS/opensips/commit/16a1be540e0d7e47294dfdbfffef01fbd11f17d6
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-04-28 (Fri, 28 Apr 2017)

  Changed paths:
    M modules/aaa_radius/Makefile

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


  Commit: abd1e655f9816b44590d0f73dd309b30650b0b5e
      https://github.com/OpenSIPS/opensips/commit/abd1e655f9816b44590d0f73dd309b30650b0b5e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-04-28 (Fri, 28 Apr 2017)

  Changed paths:
    M scripts/opensipsctl.pgsql

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

Submitted by @volga629


  Commit: cc50c0912e1596d2d7fd0e127e62963e15e18798
      https://github.com/OpenSIPS/opensips/commit/cc50c0912e1596d2d7fd0e127e62963e15e18798
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-28 (Fri, 28 Apr 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: 24d48c51812e46b04590ef7ac7ed70e881930af0
      https://github.com/OpenSIPS/opensips/commit/24d48c51812e46b04590ef7ac7ed70e881930af0
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-28 (Fri, 28 Apr 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: 767f2d90d19ab9e70134e9ab63063df23a734047
      https://github.com/OpenSIPS/opensips/commit/767f2d90d19ab9e70134e9ab63063df23a734047
  Author: Ovidiu Sas <osas at voipembedded.com>
  Date:   2017-05-01 (Mon, 01 May 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: 90f16f7b757dddfbb463d84da8938b984082dabb
      https://github.com/OpenSIPS/opensips/commit/90f16f7b757dddfbb463d84da8938b984082dabb
  Author: Ovidiu Sas <osas at voipembedded.com>
  Date:   2017-05-01 (Mon, 01 May 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: b6d7a9e2748be7482de4ab6af333b54bdec9c233
      https://github.com/OpenSIPS/opensips/commit/b6d7a9e2748be7482de4ab6af333b54bdec9c233
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

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


  Commit: a8294457a9bfefbdbb6786e8a40e0acab16560f7
      https://github.com/OpenSIPS/opensips/commit/a8294457a9bfefbdbb6786e8a40e0acab16560f7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-05-10 (Wed, 10 May 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: aa2f0f5f2bd304e3f4923aca358bdacc70065e15
      https://github.com/OpenSIPS/opensips/commit/aa2f0f5f2bd304e3f4923aca358bdacc70065e15
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-05-11 (Thu, 11 May 2017)

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

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


  Commit: 9798924ba8b24d3829e9ef536ef8f1542056d34d
      https://github.com/OpenSIPS/opensips/commit/9798924ba8b24d3829e9ef536ef8f1542056d34d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-05-11 (Thu, 11 May 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: 05d42b61a36e139bd6514798619b44c657db316e
      https://github.com/OpenSIPS/opensips/commit/05d42b61a36e139bd6514798619b44c657db316e
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
    M modules/acc/acc_extra.c

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


  Commit: 2d474f003bc5f8a3e00c303fb0bf91bc31b2eb1a
      https://github.com/OpenSIPS/opensips/commit/2d474f003bc5f8a3e00c303fb0bf91bc31b2eb1a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
    M modules/dialog/dlg_profile.c

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


  Commit: 69b14b0aef63e49236663390c4293374d406b12d
      https://github.com/OpenSIPS/opensips/commit/69b14b0aef63e49236663390c4293374d406b12d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-05-11 (Thu, 11 May 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: c75a7ddcd190997e84e6aa1d54da37993135dc1d
      https://github.com/OpenSIPS/opensips/commit/c75a7ddcd190997e84e6aa1d54da37993135dc1d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-05-11 (Thu, 11 May 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: 17087e1b5df7ccb5d224b451d488a3403cda4e5c
      https://github.com/OpenSIPS/opensips/commit/17087e1b5df7ccb5d224b451d488a3403cda4e5c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-05-11 (Thu, 11 May 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: 64b897e3d5c49b8016c0f7e22bfb0abba38ad6b8
      https://github.com/OpenSIPS/opensips/commit/64b897e3d5c49b8016c0f7e22bfb0abba38ad6b8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-05-11 (Thu, 11 May 2017)

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

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


  Commit: 25538b4e41e20d5d95eb743f923cf499758f5abe
      https://github.com/OpenSIPS/opensips/commit/25538b4e41e20d5d95eb743f923cf499758f5abe
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
    M mem/shm_mem.h

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


  Commit: 2bf6f62379ec12c72d827d70be89f299c54ea9fe
      https://github.com/OpenSIPS/opensips/commit/2bf6f62379ec12c72d827d70be89f299c54ea9fe
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
    M modules/tls_mgm/tls.h

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


  Commit: 0b2f7bb815670ee9351ec3d721d472604c53773a
      https://github.com/OpenSIPS/opensips/commit/0b2f7bb815670ee9351ec3d721d472604c53773a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-05-12 (Fri, 12 May 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: d6cec5722f0577bc0254b683d5143085a76e4a42
      https://github.com/OpenSIPS/opensips/commit/d6cec5722f0577bc0254b683d5143085a76e4a42
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-05-12 (Fri, 12 May 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: 853aae1cb9286072cd0ff45d469068d2ff5c17e7
      https://github.com/OpenSIPS/opensips/commit/853aae1cb9286072cd0ff45d469068d2ff5c17e7
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-05-12 (Fri, 12 May 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: 4bb3f1ffaf132f46f6641be9ba6142fbf5f2ee94
      https://github.com/OpenSIPS/opensips/commit/4bb3f1ffaf132f46f6641be9ba6142fbf5f2ee94
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-05-12 (Fri, 12 May 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: d465e61950f0ee06be87a09924178e2fc3486cbe
      https://github.com/OpenSIPS/opensips/commit/d465e61950f0ee06be87a09924178e2fc3486cbe
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-05-16 (Tue, 16 May 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: 1c0914eb9dbf533691fe6df6faf0bba518713c2d
      https://github.com/OpenSIPS/opensips/commit/1c0914eb9dbf533691fe6df6faf0bba518713c2d
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
    M modules/acc/acc_vars.c

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


  Commit: 789b9b0632dab63d42be8deff8501b70001c7074
      https://github.com/OpenSIPS/opensips/commit/789b9b0632dab63d42be8deff8501b70001c7074
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
    M modules/acc/acc.c

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


  Commit: 8ebf592156f5a915f2bdd3241163705921f71b29
      https://github.com/OpenSIPS/opensips/commit/8ebf592156f5a915f2bdd3241163705921f71b29
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
    M modules/acc/acc.c

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


  Commit: 070e7d4710983abf76a3d16bdc67371c6c4941ce
      https://github.com/OpenSIPS/opensips/commit/070e7d4710983abf76a3d16bdc67371c6c4941ce
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-05-17 (Wed, 17 May 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: 494e048cddf70db858401745a530e219eeb2908e
      https://github.com/OpenSIPS/opensips/commit/494e048cddf70db858401745a530e219eeb2908e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-05-17 (Wed, 17 May 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: 11d06294857ae0e98a30a75e2529e21b360fe5b1
      https://github.com/OpenSIPS/opensips/commit/11d06294857ae0e98a30a75e2529e21b360fe5b1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-05-22 (Mon, 22 May 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: 6a6664706f4d33ebe376b57f481805c106747a0b
      https://github.com/OpenSIPS/opensips/commit/6a6664706f4d33ebe376b57f481805c106747a0b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-05-22 (Mon, 22 May 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: a39471a21b24170839868ccb6a83dc6ac5c05e1a
      https://github.com/OpenSIPS/opensips/commit/a39471a21b24170839868ccb6a83dc6ac5c05e1a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-05-22 (Mon, 22 May 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

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

(cherry picked from commit 84c33d1842a0ba3e14453120fe2151b3e22a4603)


  Commit: fc2c7ab9a92339ccd6f7f1a3931348587f44a1ec
      https://github.com/OpenSIPS/opensips/commit/fc2c7ab9a92339ccd6f7f1a3931348587f44a1ec
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-05-22 (Mon, 22 May 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: 6b0701023a225746cda75677e14ac8840232d71f
      https://github.com/OpenSIPS/opensips/commit/6b0701023a225746cda75677e14ac8840232d71f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-05-22 (Mon, 22 May 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: 3954cf532d244c582fe591a9eeab98771995fd04
      https://github.com/OpenSIPS/opensips/commit/3954cf532d244c582fe591a9eeab98771995fd04
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-05-22 (Mon, 22 May 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: 739aac52873a5c2be01ccb85de040b3543b4fa5c
      https://github.com/OpenSIPS/opensips/commit/739aac52873a5c2be01ccb85de040b3543b4fa5c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-05-22 (Mon, 22 May 2017)

  Changed paths:
    M mi/mi_trace.c

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

(cherry picked from commit eb0e47129c5e09615090cc9a41230904390c2919)


  Commit: 619183358cfe28c70a4be36478e4f800a979c7ef
      https://github.com/OpenSIPS/opensips/commit/619183358cfe28c70a4be36478e4f800a979c7ef
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-05-25 (Thu, 25 May 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: ae1c1f32bd71a21c638c0903bcbaeab53d07ec78
      https://github.com/OpenSIPS/opensips/commit/ae1c1f32bd71a21c638c0903bcbaeab53d07ec78
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-05-25 (Thu, 25 May 2017)

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

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


  Commit: b662d96af4e4298f123d4233576f6d168df951fc
      https://github.com/OpenSIPS/opensips/commit/b662d96af4e4298f123d4233576f6d168df951fc
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-05-29 (Mon, 29 May 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: b2d4fdb5e2144876a020de705a79c8268606ce76
      https://github.com/OpenSIPS/opensips/commit/b2d4fdb5e2144876a020de705a79c8268606ce76
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-05-29 (Mon, 29 May 2017)

  Changed paths:
    M modules/nat_traversal/nat_traversal.c

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


  Commit: 8691a5da1c47fac74667e4348fa75b246b71a995
      https://github.com/OpenSIPS/opensips/commit/8691a5da1c47fac74667e4348fa75b246b71a995
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-05-31 (Wed, 31 May 2017)

  Changed paths:
    M modules/rabbitmq/rmq_servers.c

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


  Commit: 9d0436eef00e65b1e0d660517228bdf9d5c9207c
      https://github.com/OpenSIPS/opensips/commit/9d0436eef00e65b1e0d660517228bdf9d5c9207c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-05-31 (Wed, 31 May 2017)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

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


  Commit: 254743d61c4683a2a4973c4329df79a95756c7ad
      https://github.com/OpenSIPS/opensips/commit/254743d61c4683a2a4973c4329df79a95756c7ad
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-05-31 (Wed, 31 May 2017)

  Changed paths:
    M transformations.c

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


  Commit: 124c2238b7d174e46fa8baf01d50b305b1b26917
      https://github.com/OpenSIPS/opensips/commit/124c2238b7d174e46fa8baf01d50b305b1b26917
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-05-31 (Wed, 31 May 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: e8160868eb4d84abe8f8718f525a5b4a3040d850
      https://github.com/OpenSIPS/opensips/commit/e8160868eb4d84abe8f8718f525a5b4a3040d850
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-05-31 (Wed, 31 May 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: a09dada8642a6792d3da5e741a35283ca032a92b
      https://github.com/OpenSIPS/opensips/commit/a09dada8642a6792d3da5e741a35283ca032a92b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M modules/cachedb_mongodb/Makefile

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


  Commit: 402ff3411c52ee70e6cc97e1b559dd515159b146
      https://github.com/OpenSIPS/opensips/commit/402ff3411c52ee70e6cc97e1b559dd515159b146
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-06-06 (Tue, 06 Jun 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: 53d62036f8a92ed4305fd3c43c8a2a120a74f0cb
      https://github.com/OpenSIPS/opensips/commit/53d62036f8a92ed4305fd3c43c8a2a120a74f0cb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-06 (Tue, 06 Jun 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: 99ebafdd7aa99ba23ee0248dfe0522c4fd2b2080
      https://github.com/OpenSIPS/opensips/commit/99ebafdd7aa99ba23ee0248dfe0522c4fd2b2080
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-06 (Tue, 06 Jun 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: 0f9ccb576db97af2fcc01cf4a783045ac259dc3e
      https://github.com/OpenSIPS/opensips/commit/0f9ccb576db97af2fcc01cf4a783045ac259dc3e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-07 (Wed, 07 Jun 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: 8ab1deb473cdc505b48616b4b4bc2e031cd64d28
      https://github.com/OpenSIPS/opensips/commit/8ab1deb473cdc505b48616b4b4bc2e031cd64d28
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-06-07 (Wed, 07 Jun 2017)

  Changed paths:
    M modules/cgrates/cgrates_common.c

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


  Commit: 7935ad3c87b5e47ab39d591a89c49898677ac4de
      https://github.com/OpenSIPS/opensips/commit/7935ad3c87b5e47ab39d591a89c49898677ac4de
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-06-07 (Wed, 07 Jun 2017)

  Changed paths:
    M modules/cgrates/cgrates_common.c

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


  Commit: 52b7ece216b55d5729340beaec50a90715fc51f7
      https://github.com/OpenSIPS/opensips/commit/52b7ece216b55d5729340beaec50a90715fc51f7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-06-07 (Wed, 07 Jun 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: 4cc5e2ed1f8c58a8cf6b92432e11924517ea16be
      https://github.com/OpenSIPS/opensips/commit/4cc5e2ed1f8c58a8cf6b92432e11924517ea16be
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-07 (Wed, 07 Jun 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: a90723d896dfdddf2e7f7b52fac7d7348ec740c0
      https://github.com/OpenSIPS/opensips/commit/a90723d896dfdddf2e7f7b52fac7d7348ec740c0
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

  Changed paths:
    M net/proto_tcp/proto_tcp.c

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


  Commit: cf8caeb8ed35f221b06621f6123d8d4dbb878753
      https://github.com/OpenSIPS/opensips/commit/cf8caeb8ed35f221b06621f6123d8d4dbb878753
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

  Changed paths:
    M net/proto_udp/proto_udp.c

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


  Commit: 69e3576d884234271cbb9142d471dbcfbb95a34d
      https://github.com/OpenSIPS/opensips/commit/69e3576d884234271cbb9142d471dbcfbb95a34d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

  Changed paths:
    M net/proto_tcp/proto_tcp.c

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


  Commit: 27a36a940fba6b40b44951fe75d35082c27cb00e
      https://github.com/OpenSIPS/opensips/commit/27a36a940fba6b40b44951fe75d35082c27cb00e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-13 (Tue, 13 Jun 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: 4e7a14bd7f8948bbfa5cf0057fcfc48d7c80d2ba
      https://github.com/OpenSIPS/opensips/commit/4e7a14bd7f8948bbfa5cf0057fcfc48d7c80d2ba
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

  Changed paths:
    M modules/proto_hep/proto_hep.c

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


  Commit: df29102e9d6c06ef73f112898dd5feac171985cf
      https://github.com/OpenSIPS/opensips/commit/df29102e9d6c06ef73f112898dd5feac171985cf
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

  Changed paths:
    M cfg.y

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


  Commit: 0a3bfed03d2d1166b1b4bbdf47de7c64fad5a5ea
      https://github.com/OpenSIPS/opensips/commit/0a3bfed03d2d1166b1b4bbdf47de7c64fad5a5ea
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

  Changed paths:
    M net/proto_tcp/proto_tcp.c

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


  Commit: 4929bcee6b69a809052d25f141a1849cd272a749
      https://github.com/OpenSIPS/opensips/commit/4929bcee6b69a809052d25f141a1849cd272a749
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-13 (Tue, 13 Jun 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: a043ee829bb4f5503fda032c0790a953f87588eb
      https://github.com/OpenSIPS/opensips/commit/a043ee829bb4f5503fda032c0790a953f87588eb
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-06-14 (Wed, 14 Jun 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: af584bc8f4667e8b6eb6b5aaf4923c8103fcf628
      https://github.com/OpenSIPS/opensips/commit/af584bc8f4667e8b6eb6b5aaf4923c8103fcf628
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-14 (Wed, 14 Jun 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: f7a7fabcc9e31333cf4ffc4cbd962fc4894b7f56
      https://github.com/OpenSIPS/opensips/commit/f7a7fabcc9e31333cf4ffc4cbd962fc4894b7f56
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-15 (Thu, 15 Jun 2017)

  Changed paths:
    M statistics.c

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

(regression from e90ac3e937de8)


  Commit: 24ad5dbaece07ee594e51ec46189ad23753d892c
      https://github.com/OpenSIPS/opensips/commit/24ad5dbaece07ee594e51ec46189ad23753d892c
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-06-15 (Thu, 15 Jun 2017)

  Changed paths:
    M modules/clusterer/node_info.c

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


  Commit: edf519b9373cef2bae5a1b74a47114fe6cf9a25f
      https://github.com/OpenSIPS/opensips/commit/edf519b9373cef2bae5a1b74a47114fe6cf9a25f
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-06-15 (Thu, 15 Jun 2017)

  Changed paths:
    M modules/clusterer/clusterer_mod.c

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


  Commit: 96ba9ed03d2223f09b6fd25061d229c2c7ee5eb4
      https://github.com/OpenSIPS/opensips/commit/96ba9ed03d2223f09b6fd25061d229c2c7ee5eb4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-15 (Thu, 15 Jun 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: 030bed9a88f17c8a63c2ec7dc7a136e747d7cdd7
      https://github.com/OpenSIPS/opensips/commit/030bed9a88f17c8a63c2ec7dc7a136e747d7cdd7
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-06-15 (Thu, 15 Jun 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: 149d703c206c3a50ecb1ebc947232e66d38f2906
      https://github.com/OpenSIPS/opensips/commit/149d703c206c3a50ecb1ebc947232e66d38f2906
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-16 (Fri, 16 Jun 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: 01e37f7569eea9fddaba8e50fb5116ab1b9fc375
      https://github.com/OpenSIPS/opensips/commit/01e37f7569eea9fddaba8e50fb5116ab1b9fc375
  Author: Chad Attermann <chad at broadmind.com>
  Date:   2017-06-17 (Sat, 17 Jun 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: ab26d05599074e8ef4a5ba7f68e60c739be7cbfc
      https://github.com/OpenSIPS/opensips/commit/ab26d05599074e8ef4a5ba7f68e60c739be7cbfc
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
    M io_wait.h
    M io_wait_loop.h

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


  Commit: b90094c46bb8dadc3f6f13be6c394c6b7208190e
      https://github.com/OpenSIPS/opensips/commit/b90094c46bb8dadc3f6f13be6c394c6b7208190e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-19 (Mon, 19 Jun 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: 0dfbad3861e6fb066db3a4aea4e78f17ab0b27f5
      https://github.com/OpenSIPS/opensips/commit/0dfbad3861e6fb066db3a4aea4e78f17ab0b27f5
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-19 (Mon, 19 Jun 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: 34d98d82dc7cff162782b57af8e8f04e6719109c
      https://github.com/OpenSIPS/opensips/commit/34d98d82dc7cff162782b57af8e8f04e6719109c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
    M io_wait.h
    M io_wait_loop.h

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


  Commit: b0258fa9d962cba867ac1db0c52f4a7a28922b33
      https://github.com/OpenSIPS/opensips/commit/b0258fa9d962cba867ac1db0c52f4a7a28922b33
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
    M modules/dialplan/dp_db.c

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


  Commit: 53a4f9473d2de123f676196c1e3b6c7c782cb555
      https://github.com/OpenSIPS/opensips/commit/53a4f9473d2de123f676196c1e3b6c7c782cb555
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
    M modules/dialplan/dp_db.c

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


  Commit: 6e796ff56262358a77a50c93a28573d904404cef
      https://github.com/OpenSIPS/opensips/commit/6e796ff56262358a77a50c93a28573d904404cef
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
    M packaging/debian/stretch/control

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

Reported by Nick Altman


  Commit: 8b52f1331ef2ce09c50c1a50b93695b2619c1cf6
      https://github.com/OpenSIPS/opensips/commit/8b52f1331ef2ce09c50c1a50b93695b2619c1cf6
  Author: Chad Attermann <chad at broadmind.com>
  Date:   2017-06-21 (Wed, 21 Jun 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: 04e2d6e5f46b98c481b2e810ea0aa73c7be36b40
      https://github.com/OpenSIPS/opensips/commit/04e2d6e5f46b98c481b2e810ea0aa73c7be36b40
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-21 (Wed, 21 Jun 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: 99181710c3f52b4ca97186623af0a7760191a276
      https://github.com/OpenSIPS/opensips/commit/99181710c3f52b4ca97186623af0a7760191a276
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-21 (Wed, 21 Jun 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: f30a658c46837a1396098c2028c7d02cf5fd5c3e
      https://github.com/OpenSIPS/opensips/commit/f30a658c46837a1396098c2028c7d02cf5fd5c3e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-21 (Wed, 21 Jun 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: 3da3e800847f7f903d01ac5c87ce6a8f20f985ad
      https://github.com/OpenSIPS/opensips/commit/3da3e800847f7f903d01ac5c87ce6a8f20f985ad
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-21 (Wed, 21 Jun 2017)

  Changed paths:
    M modules/tm/h_table.h

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


  Commit: 8ba454be756b583082ce98ce293968518ac95235
      https://github.com/OpenSIPS/opensips/commit/8ba454be756b583082ce98ce293968518ac95235
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-21 (Wed, 21 Jun 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: 00d44e8bb17b7391fa0c7a18137d880ba0dff4ee
      https://github.com/OpenSIPS/opensips/commit/00d44e8bb17b7391fa0c7a18137d880ba0dff4ee
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-21 (Wed, 21 Jun 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: 7249c95f94c63e195e4e680b8bd6e73efa1421fd
      https://github.com/OpenSIPS/opensips/commit/7249c95f94c63e195e4e680b8bd6e73efa1421fd
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-21 (Wed, 21 Jun 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: 34a25b7337abaa8f6c7751ba00060f6b31acf220
      https://github.com/OpenSIPS/opensips/commit/34a25b7337abaa8f6c7751ba00060f6b31acf220
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-21 (Wed, 21 Jun 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: e325e3eb2f451b7e6d4d7fd4ff8f54a0b63592c8
      https://github.com/OpenSIPS/opensips/commit/e325e3eb2f451b7e6d4d7fd4ff8f54a0b63592c8
  Author: Chad Attermann <chad at broadmind.com>
  Date:   2017-06-22 (Thu, 22 Jun 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: d5fca4482ab1746351157ee0353474a24b084f60
      https://github.com/OpenSIPS/opensips/commit/d5fca4482ab1746351157ee0353474a24b084f60
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-06-22 (Thu, 22 Jun 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: ade9c93d807abb97ababa0033589b46f70c040da
      https://github.com/OpenSIPS/opensips/commit/ade9c93d807abb97ababa0033589b46f70c040da
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-22 (Thu, 22 Jun 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: a7249f03d7a16221e21b8f57eb73540f0b8c4888
      https://github.com/OpenSIPS/opensips/commit/a7249f03d7a16221e21b8f57eb73540f0b8c4888
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-22 (Thu, 22 Jun 2017)

  Changed paths:
    M net/net_tcp.c

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


  Commit: 8845fd7950ec90fad7498b323745c86cac4070f6
      https://github.com/OpenSIPS/opensips/commit/8845fd7950ec90fad7498b323745c86cac4070f6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-22 (Thu, 22 Jun 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: ad8fbaf99bcac4e82d71f96d957432d9d689e78d
      https://github.com/OpenSIPS/opensips/commit/ad8fbaf99bcac4e82d71f96d957432d9d689e78d
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-06-22 (Thu, 22 Jun 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: 951f7e10d1d79276f075bc9fd3cc16245b4a07d5
      https://github.com/OpenSIPS/opensips/commit/951f7e10d1d79276f075bc9fd3cc16245b4a07d5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-23 (Fri, 23 Jun 2017)

  Changed paths:
    M trim.h

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

Reported by Răzvan


  Commit: 6b03023d24b6096ddf61d3b2f2680b169f3ea98b
      https://github.com/OpenSIPS/opensips/commit/6b03023d24b6096ddf61d3b2f2680b169f3ea98b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-23 (Fri, 23 Jun 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: 71ca5691c63ba48199326676aaf7cc7234f350d4
      https://github.com/OpenSIPS/opensips/commit/71ca5691c63ba48199326676aaf7cc7234f350d4
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

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


  Commit: 37d98b00e953d33e0c559c5e210a21f4d90138c8
      https://github.com/OpenSIPS/opensips/commit/37d98b00e953d33e0c559c5e210a21f4d90138c8
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-06-26 (Mon, 26 Jun 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: b1dd0cae3c11561dbc1cfbc0f01234530b8397ef
      https://github.com/OpenSIPS/opensips/commit/b1dd0cae3c11561dbc1cfbc0f01234530b8397ef
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-06-26 (Mon, 26 Jun 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: 0f9e65fef33d2846eaf0d3f17a469c321796cee5
      https://github.com/OpenSIPS/opensips/commit/0f9e65fef33d2846eaf0d3f17a469c321796cee5
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-27 (Tue, 27 Jun 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: 51859e0455595b445e60f687592bdbc0a6cf64c6
      https://github.com/OpenSIPS/opensips/commit/51859e0455595b445e60f687592bdbc0a6cf64c6
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-27 (Tue, 27 Jun 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: 0f36c9d0f7c31f30eaac6b16c11c71704022245b
      https://github.com/OpenSIPS/opensips/commit/0f36c9d0f7c31f30eaac6b16c11c71704022245b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-28 (Wed, 28 Jun 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: 805c0e2f3d4921e939edb142170278e7286934ee
      https://github.com/OpenSIPS/opensips/commit/805c0e2f3d4921e939edb142170278e7286934ee
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-28 (Wed, 28 Jun 2017)

  Changed paths:
    M scripts/opensipsdbctl.pgsql

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


  Commit: 9e07f3f3650607c3e0298182aa3bb08d377e8837
      https://github.com/OpenSIPS/opensips/commit/9e07f3f3650607c3e0298182aa3bb08d377e8837
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-28 (Wed, 28 Jun 2017)

  Changed paths:
    M cfg.y

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


  Commit: 5cb01c85f3a8e2fed6004291b80f08c2b4617f4c
      https://github.com/OpenSIPS/opensips/commit/5cb01c85f3a8e2fed6004291b80f08c2b4617f4c
  Author: Ovidiu Sas <osas at voipembedded.com>
  Date:   2017-06-28 (Wed, 28 Jun 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: 5c407c64cb8d68fbdbefb8779be9810a4760d66e
      https://github.com/OpenSIPS/opensips/commit/5c407c64cb8d68fbdbefb8779be9810a4760d66e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-29 (Thu, 29 Jun 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: b60780c502ae3b7b9f54f2047da04cb95d915e5b
      https://github.com/OpenSIPS/opensips/commit/b60780c502ae3b7b9f54f2047da04cb95d915e5b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M io_wait_loop.h

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


  Commit: 8025792838edec6437f984556460efc206883c36
      https://github.com/OpenSIPS/opensips/commit/8025792838edec6437f984556460efc206883c36
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

  Changed paths:
    M modules/acc/acc_logic.c

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


  Commit: 2c9d86019aeefc77e7904995785caa8157be163e
      https://github.com/OpenSIPS/opensips/commit/2c9d86019aeefc77e7904995785caa8157be163e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-06-30 (Fri, 30 Jun 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: 6b68fa846a60990e34712c859cba73e503a485a9
      https://github.com/OpenSIPS/opensips/commit/6b68fa846a60990e34712c859cba73e503a485a9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

  Changed paths:
    M main.c

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

Via the "-f -" command-line option


  Commit: c4c84f1e39bb54cad232dda59f21db580cd742e1
      https://github.com/OpenSIPS/opensips/commit/c4c84f1e39bb54cad232dda59f21db580cd742e1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 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: 05ece794083f8328cbd5259cdb7b3aead8d9f943
      https://github.com/OpenSIPS/opensips/commit/05ece794083f8328cbd5259cdb7b3aead8d9f943
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 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: 969e1b7b13a2db6740828c53cf51bd5a7ee738e6
      https://github.com/OpenSIPS/opensips/commit/969e1b7b13a2db6740828c53cf51bd5a7ee738e6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M lib/dbg/struct_hist.c

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


  Commit: 6675c6e8af8faba69a5cc4426dda5e87c9b1522f
      https://github.com/OpenSIPS/opensips/commit/6675c6e8af8faba69a5cc4426dda5e87c9b1522f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 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: e9a2dc24eb7cf9a3b1542fdc95a367a6b6ad3056
      https://github.com/OpenSIPS/opensips/commit/e9a2dc24eb7cf9a3b1542fdc95a367a6b6ad3056
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 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: 059545765e34dc8016c278a3e4800a33929bd117
      https://github.com/OpenSIPS/opensips/commit/059545765e34dc8016c278a3e4800a33929bd117
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 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: e2f872598145bad7913215b48b929b05dff78311
      https://github.com/OpenSIPS/opensips/commit/e2f872598145bad7913215b48b929b05dff78311
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 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: e08d54e6bc1a2550cd3ec6c7aec12f6a69b6377a
      https://github.com/OpenSIPS/opensips/commit/e08d54e6bc1a2550cd3ec6c7aec12f6a69b6377a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 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: 9957ff2d9acc4a2686495b5e2ea43cdc3bb7e3ed
      https://github.com/OpenSIPS/opensips/commit/9957ff2d9acc4a2686495b5e2ea43cdc3bb7e3ed
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 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: 4a628f411235f5824c86875b5d5d3571f479edd7
      https://github.com/OpenSIPS/opensips/commit/4a628f411235f5824c86875b5d5d3571f479edd7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 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: ceb6528d2178a6f4b03a0686f9e6816c7fe6a123
      https://github.com/OpenSIPS/opensips/commit/ceb6528d2178a6f4b03a0686f9e6816c7fe6a123
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-05 (Wed, 05 Jul 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: de76c2d19f7fbdf8f2af91efb07a05e16b064dbc
      https://github.com/OpenSIPS/opensips/commit/de76c2d19f7fbdf8f2af91efb07a05e16b064dbc
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-05 (Wed, 05 Jul 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: 02da97c96480e6a18b7e171f792435c8cc3cc88a
      https://github.com/OpenSIPS/opensips/commit/02da97c96480e6a18b7e171f792435c8cc3cc88a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-05 (Wed, 05 Jul 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: 905a18ce37088b8321a453f414145d1f2dee8b21
      https://github.com/OpenSIPS/opensips/commit/905a18ce37088b8321a453f414145d1f2dee8b21
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-06 (Thu, 06 Jul 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: d29733d6176a7ea1c62170fe5655a3cb88d2e204
      https://github.com/OpenSIPS/opensips/commit/d29733d6176a7ea1c62170fe5655a3cb88d2e204
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-11 (Tue, 11 Jul 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: 6b612a0798995b09f6e102c8e0b55fd050d79056
      https://github.com/OpenSIPS/opensips/commit/6b612a0798995b09f6e102c8e0b55fd050d79056
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-11 (Tue, 11 Jul 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: 7d024fa9703079c25f1ae2cdd674d1dd4ae33b6f
      https://github.com/OpenSIPS/opensips/commit/7d024fa9703079c25f1ae2cdd674d1dd4ae33b6f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-11 (Tue, 11 Jul 2017)

  Changed paths:
    M lib/dbg/struct_hist.c

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


  Commit: e2f9d8fc73a8414fc80430abd4ba5975cb1bfe89
      https://github.com/OpenSIPS/opensips/commit/e2f9d8fc73a8414fc80430abd4ba5975cb1bfe89
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-12 (Wed, 12 Jul 2017)

  Changed paths:
    M modules/acc/acc_logic.c

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


  Commit: aa5366796a285fc32a90aeab9df26d70f31760ce
      https://github.com/OpenSIPS/opensips/commit/aa5366796a285fc32a90aeab9df26d70f31760ce
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-12 (Wed, 12 Jul 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: 7113323c8a902594e062519ef2d5b917dcb578bd
      https://github.com/OpenSIPS/opensips/commit/7113323c8a902594e062519ef2d5b917dcb578bd
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-12 (Wed, 12 Jul 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: 2ca34ff01e2c5b9f2640b23dadffde017c25805d
      https://github.com/OpenSIPS/opensips/commit/2ca34ff01e2c5b9f2640b23dadffde017c25805d
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 2017)

  Changed paths:
    M modules/clusterer/clusterer_mod.c

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


  Commit: 991b3ef4fabb4a21dd0f95ea18a5e934261be01c
      https://github.com/OpenSIPS/opensips/commit/991b3ef4fabb4a21dd0f95ea18a5e934261be01c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 2017)

  Changed paths:
    M modules/drouting/drouting.c

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


  Commit: eb22f4eb0de701a8c51c7ec7db60389d841e2e45
      https://github.com/OpenSIPS/opensips/commit/eb22f4eb0de701a8c51c7ec7db60389d841e2e45
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 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: 5b9f7d3d16bc7f7a4fa3281af4b3ac748349dfa7
      https://github.com/OpenSIPS/opensips/commit/5b9f7d3d16bc7f7a4fa3281af4b3ac748349dfa7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 2017)

  Changed paths:
    M lib/dbg/struct_hist.h

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


  Commit: 6d8bb3c83948fcb415b2211d25b23eb7f738be54
      https://github.com/OpenSIPS/opensips/commit/6d8bb3c83948fcb415b2211d25b23eb7f738be54
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 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: 9c9252c97b4e641d814320f33d795a43c3ea7b0e
      https://github.com/OpenSIPS/opensips/commit/9c9252c97b4e641d814320f33d795a43c3ea7b0e
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 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: 56bb24175c55258f4ad023c2047c38a9a5f3efae
      https://github.com/OpenSIPS/opensips/commit/56bb24175c55258f4ad023c2047c38a9a5f3efae
  Author: Bradley Jokinen <bradley.jokinen at gmail.com>
  Date:   2017-07-13 (Thu, 13 Jul 2017)

  Changed paths:
    M modules/cgrates/cgrates_acc.c

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


  Commit: 815d885a180edcb8c8db5ccfbaefefb0461a7e1c
      https://github.com/OpenSIPS/opensips/commit/815d885a180edcb8c8db5ccfbaefefb0461a7e1c
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 2017)

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

  Log Message:
  -----------
  Merge branch 'keywords_rework'


  Commit: d507a864f9d8661f30e8bd5be6e447b48d983c10
      https://github.com/OpenSIPS/opensips/commit/d507a864f9d8661f30e8bd5be6e447b48d983c10
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 2017)

  Changed paths:
    M utils/vim/opensips.vim

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


  Commit: dcf5915441a3993963d987c49bb10deac1e6c0b0
      https://github.com/OpenSIPS/opensips/commit/dcf5915441a3993963d987c49bb10deac1e6c0b0
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-14 (Fri, 14 Jul 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: d1d897ebc1f7cdd0c817952c28d5c5877b51f304
      https://github.com/OpenSIPS/opensips/commit/d1d897ebc1f7cdd0c817952c28d5c5877b51f304
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-17 (Mon, 17 Jul 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: 4aa8279cc4f71ef942abbbc5e8c37b846cc5c4f6
      https://github.com/OpenSIPS/opensips/commit/4aa8279cc4f71ef942abbbc5e8c37b846cc5c4f6
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-17 (Mon, 17 Jul 2017)

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

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


  Commit: eecdac348f09e8de86bb414fbaa7d0aa64a502cd
      https://github.com/OpenSIPS/opensips/commit/eecdac348f09e8de86bb414fbaa7d0aa64a502cd
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-17 (Mon, 17 Jul 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: 15f151b96ab7c1cd8373447b4063acdc57a2b301
      https://github.com/OpenSIPS/opensips/commit/15f151b96ab7c1cd8373447b4063acdc57a2b301
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-17 (Mon, 17 Jul 2017)

  Changed paths:
    M menuconfig/configs/opensips_residential.m4

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


  Commit: 8a1b3ef3e45601cc521598f435efff25c0697d6f
      https://github.com/OpenSIPS/opensips/commit/8a1b3ef3e45601cc521598f435efff25c0697d6f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-19 (Wed, 19 Jul 2017)

  Changed paths:
    M modules/exec/exec_mod.c

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

Reported by Tito Cumpen


  Commit: 0e1029b1fe50835f8c6d0fa5a1c07329adcbddb4
      https://github.com/OpenSIPS/opensips/commit/0e1029b1fe50835f8c6d0fa5a1c07329adcbddb4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-19 (Wed, 19 Jul 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: a7eb448edf720a72e1ae506683ddfc893f9c45c7
      https://github.com/OpenSIPS/opensips/commit/a7eb448edf720a72e1ae506683ddfc893f9c45c7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-19 (Wed, 19 Jul 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: 45a98e187ab42805f46bec04cf6fa729bba113e2
      https://github.com/OpenSIPS/opensips/commit/45a98e187ab42805f46bec04cf6fa729bba113e2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-19 (Wed, 19 Jul 2017)

  Changed paths:
    M Makefile

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


  Commit: aa2b42ca672ab4e85235226ece2e338bd250c4ad
      https://github.com/OpenSIPS/opensips/commit/aa2b42ca672ab4e85235226ece2e338bd250c4ad
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-19 (Wed, 19 Jul 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: 6eec7f95025f0bda0e1dfa764430934a73e90e87
      https://github.com/OpenSIPS/opensips/commit/6eec7f95025f0bda0e1dfa764430934a73e90e87
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-21 (Fri, 21 Jul 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: 8ba6567f2d81d9a912a6ab9dd0d23d265c77ba41
      https://github.com/OpenSIPS/opensips/commit/8ba6567f2d81d9a912a6ab9dd0d23d265c77ba41
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-24 (Mon, 24 Jul 2017)

  Changed paths:
    M modules/b2b_entities/dlg.c

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


  Commit: 0f7e72efcd879ef0d11bf133c132140f80bc841d
      https://github.com/OpenSIPS/opensips/commit/0f7e72efcd879ef0d11bf133c132140f80bc841d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-24 (Mon, 24 Jul 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

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


  Commit: e43ba9e7e459e9aa99fc4c629fc423c8d613f334
      https://github.com/OpenSIPS/opensips/commit/e43ba9e7e459e9aa99fc4c629fc423c8d613f334
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2017-07-24 (Mon, 24 Jul 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: 30d27a0b8ccb96687847e1dbe16c781b583fe809
      https://github.com/OpenSIPS/opensips/commit/30d27a0b8ccb96687847e1dbe16c781b583fe809
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2017-07-24 (Mon, 24 Jul 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: 60c80b2989c0c893391d85e0ec7f97c323d3e581
      https://github.com/OpenSIPS/opensips/commit/60c80b2989c0c893391d85e0ec7f97c323d3e581
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2017-07-24 (Mon, 24 Jul 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: 5a7fad1ae40d12abae5f83baf28b0cc2df3a5534
      https://github.com/OpenSIPS/opensips/commit/5a7fad1ae40d12abae5f83baf28b0cc2df3a5534
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  Merge pull request #1167 from sippy/mod.rtpproxy_iodebug

Increase amount of debug produced by the rtpproxy module on error


  Commit: f0e36896be10c69581ebf77def209df084c82d13
      https://github.com/OpenSIPS/opensips/commit/f0e36896be10c69581ebf77def209df084c82d13
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-25 (Tue, 25 Jul 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: 91da5063ddb56d31dbe6be6013434ea9083a7013
      https://github.com/OpenSIPS/opensips/commit/91da5063ddb56d31dbe6be6013434ea9083a7013
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

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

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


  Commit: 071f6c7da71d1fa991492889cddcad1fccda01d7
      https://github.com/OpenSIPS/opensips/commit/071f6c7da71d1fa991492889cddcad1fccda01d7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-26 (Wed, 26 Jul 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: f302175382620848a22c6bcec237dfee270e0de6
      https://github.com/OpenSIPS/opensips/commit/f302175382620848a22c6bcec237dfee270e0de6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-26 (Wed, 26 Jul 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: 0017951f3fb70d77e33494cf6dbcc9482cce7417
      https://github.com/OpenSIPS/opensips/commit/0017951f3fb70d77e33494cf6dbcc9482cce7417
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-26 (Wed, 26 Jul 2017)

  Changed paths:
    M modules/mid_registrar/mid_registrar.c

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


  Commit: 2bfcf7dd9d2fa0b5f9025963d6ffd313898de84c
      https://github.com/OpenSIPS/opensips/commit/2bfcf7dd9d2fa0b5f9025963d6ffd313898de84c
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2017-07-26 (Wed, 26 Jul 2017)

  Changed paths:
    M modules/usrloc/udomain.c

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


  Commit: e003d4a4f89970225dbbea5e62754713b42e25ef
      https://github.com/OpenSIPS/opensips/commit/e003d4a4f89970225dbbea5e62754713b42e25ef
  Author: root <root at dell02.xipx.local>
  Date:   2017-07-27 (Thu, 27 Jul 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: a79647d1d480f8fe4a536d749c5c2b5c823aa09a
      https://github.com/OpenSIPS/opensips/commit/a79647d1d480f8fe4a536d749c5c2b5c823aa09a
  Author: root <root at dell02.xipx.local>
  Date:   2017-07-27 (Thu, 27 Jul 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: 160b4241091062eb23f94c41391b97dba75d156e
      https://github.com/OpenSIPS/opensips/commit/160b4241091062eb23f94c41391b97dba75d156e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-27 (Thu, 27 Jul 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: 4509061946906a76756878cacdfcd833853238f9
      https://github.com/OpenSIPS/opensips/commit/4509061946906a76756878cacdfcd833853238f9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-27 (Thu, 27 Jul 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: 597695cdb0f924688caa2a9ae7d786e2e88ed932
      https://github.com/OpenSIPS/opensips/commit/597695cdb0f924688caa2a9ae7d786e2e88ed932
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-27 (Thu, 27 Jul 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: f5abccccaafae235aec918b98753bee90963636e
      https://github.com/OpenSIPS/opensips/commit/f5abccccaafae235aec918b98753bee90963636e
  Author: Augusto Caringi <acaringi at redhat.com>
  Date:   2017-07-27 (Thu, 27 Jul 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: 0831d9a3a1cf66f56bda98d4d6a869e0eca983a5
      https://github.com/OpenSIPS/opensips/commit/0831d9a3a1cf66f56bda98d4d6a869e0eca983a5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M modules/mid_registrar/save.c

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


  Commit: 47af7de2316cc1ff96c091ef43210b7354932300
      https://github.com/OpenSIPS/opensips/commit/47af7de2316cc1ff96c091ef43210b7354932300
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-27 (Thu, 27 Jul 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: 77e678a6a18822cf8ceb30732494cf492a5a1407
      https://github.com/OpenSIPS/opensips/commit/77e678a6a18822cf8ceb30732494cf492a5a1407
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M modules/db_mysql/my_con.c

  Log Message:
  -----------
  Merge pull request #1164 from caringi/master

db_mysql: fix build against MariaDB 10.2


  Commit: 1812a05dd8501d3a539cee4beace7a727d73119a
      https://github.com/OpenSIPS/opensips/commit/1812a05dd8501d3a539cee4beace7a727d73119a
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-28 (Fri, 28 Jul 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: df374c635260da47825493494dbeb16a81e1c701
      https://github.com/OpenSIPS/opensips/commit/df374c635260da47825493494dbeb16a81e1c701
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-31 (Mon, 31 Jul 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: 21322d64e1c40404ee011e40f3c8ade97b51aecc
      https://github.com/OpenSIPS/opensips/commit/21322d64e1c40404ee011e40f3c8ade97b51aecc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-31 (Mon, 31 Jul 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: 528f1cae819210cba9c94ef30fe47be1df9ed36d
      https://github.com/OpenSIPS/opensips/commit/528f1cae819210cba9c94ef30fe47be1df9ed36d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-08-01 (Tue, 01 Aug 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: e59a7399e982ef58a7a12ffb53d8aa8432f537ab
      https://github.com/OpenSIPS/opensips/commit/e59a7399e982ef58a7a12ffb53d8aa8432f537ab
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-08-01 (Tue, 01 Aug 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: fce1f47304802013d523c100553fa0df51ef2984
      https://github.com/OpenSIPS/opensips/commit/fce1f47304802013d523c100553fa0df51ef2984
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-01 (Tue, 01 Aug 2017)

  Changed paths:
    M modules/mid_registrar/save.c

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


  Commit: 68419e3ba62b29011f71bcdb4656a4ca0e7ef06c
      https://github.com/OpenSIPS/opensips/commit/68419e3ba62b29011f71bcdb4656a4ca0e7ef06c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-08-01 (Tue, 01 Aug 2017)

  Changed paths:
    M timer.c

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


  Commit: bb573a1f5ffe141348b3c81316f2d73967753984
      https://github.com/OpenSIPS/opensips/commit/bb573a1f5ffe141348b3c81316f2d73967753984
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-08-03 (Thu, 03 Aug 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: db5d1bddc95a311da283ea56ec46c6da2259c33f
      https://github.com/OpenSIPS/opensips/commit/db5d1bddc95a311da283ea56ec46c6da2259c33f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-08-03 (Thu, 03 Aug 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: 52f6514400b615321bd070e0e6a4fc608d197483
      https://github.com/OpenSIPS/opensips/commit/52f6514400b615321bd070e0e6a4fc608d197483
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-08-04 (Fri, 04 Aug 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: 1885c0d4679f4b7b62b00512aa9b23de8880bff4
      https://github.com/OpenSIPS/opensips/commit/1885c0d4679f4b7b62b00512aa9b23de8880bff4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-08-16 (Wed, 16 Aug 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: efdc829db8ba2248273a24f91be7bec58a36de5d
      https://github.com/OpenSIPS/opensips/commit/efdc829db8ba2248273a24f91be7bec58a36de5d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

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

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


  Commit: 8338fd48e4e2143fae1f762437a07f7fc51cf01c
      https://github.com/OpenSIPS/opensips/commit/8338fd48e4e2143fae1f762437a07f7fc51cf01c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

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

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


  Commit: 06fa801a96e4977804339a49c56c07b75bc0c66a
      https://github.com/OpenSIPS/opensips/commit/06fa801a96e4977804339a49c56c07b75bc0c66a
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-08-17 (Thu, 17 Aug 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: 18045793ada31f8f9f36d2b68b36e566456687dd
      https://github.com/OpenSIPS/opensips/commit/18045793ada31f8f9f36d2b68b36e566456687dd
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-18 (Fri, 18 Aug 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: de0e58a5952df7c482e78920b5ee67e5bfd0635e
      https://github.com/OpenSIPS/opensips/commit/de0e58a5952df7c482e78920b5ee67e5bfd0635e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-18 (Fri, 18 Aug 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: c2a0e7e7164d2fc7bba79351dcf126af4f2e79c2
      https://github.com/OpenSIPS/opensips/commit/c2a0e7e7164d2fc7bba79351dcf126af4f2e79c2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-18 (Fri, 18 Aug 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: 7587326d352ef4ae6b3f2c6afab059ac57c0053c
      https://github.com/OpenSIPS/opensips/commit/7587326d352ef4ae6b3f2c6afab059ac57c0053c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-18 (Fri, 18 Aug 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: 7a5e2c7b42e2680b6c1cea4481940061430c17eb
      https://github.com/OpenSIPS/opensips/commit/7a5e2c7b42e2680b6c1cea4481940061430c17eb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-18 (Fri, 18 Aug 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: 4aa5fb91a0a8b06d886ef3f2a093c8f5526aaa4a
      https://github.com/OpenSIPS/opensips/commit/4aa5fb91a0a8b06d886ef3f2a093c8f5526aaa4a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-08-21 (Mon, 21 Aug 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: e3be4a13d36898998beafd4acf89ef0c2520749c
      https://github.com/OpenSIPS/opensips/commit/e3be4a13d36898998beafd4acf89ef0c2520749c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-22 (Tue, 22 Aug 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: 4d028f716330271367d7d85e25492f5ae1f35d8a
      https://github.com/OpenSIPS/opensips/commit/4d028f716330271367d7d85e25492f5ae1f35d8a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-24 (Thu, 24 Aug 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: bcae3a0e17cd118b5accd445a4dbac955d811d70
      https://github.com/OpenSIPS/opensips/commit/bcae3a0e17cd118b5accd445a4dbac955d811d70
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-25 (Fri, 25 Aug 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: 71af8fcd47db24bec8068b01dde8bc1618670f10
      https://github.com/OpenSIPS/opensips/commit/71af8fcd47db24bec8068b01dde8bc1618670f10
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-25 (Fri, 25 Aug 2017)

  Changed paths:
    M modules/sipcapture/sipcapture.c

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


  Commit: b763544ad5e0a5ab8bb8ecd2e613b73b9e420e9f
      https://github.com/OpenSIPS/opensips/commit/b763544ad5e0a5ab8bb8ecd2e613b73b9e420e9f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-25 (Fri, 25 Aug 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: f1aabeaf983805462924e935e2eaf1dce4e5f7d5
      https://github.com/OpenSIPS/opensips/commit/f1aabeaf983805462924e935e2eaf1dce4e5f7d5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-08-29 (Tue, 29 Aug 2017)

  Changed paths:
    M modules/acc/acc_logic.c

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


  Commit: 83669d2caec38823ce79ccd12eec4ed013e2d867
      https://github.com/OpenSIPS/opensips/commit/83669d2caec38823ce79ccd12eec4ed013e2d867
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-08-29 (Tue, 29 Aug 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: d71cb43e816be91db4d5a8855561df1a184efd6b
      https://github.com/OpenSIPS/opensips/commit/d71cb43e816be91db4d5a8855561df1a184efd6b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-29 (Tue, 29 Aug 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: 803d5d3a4bea36a06f66e6b9687f85b41a96f1df
      https://github.com/OpenSIPS/opensips/commit/803d5d3a4bea36a06f66e6b9687f85b41a96f1df
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-30 (Wed, 30 Aug 2017)

  Changed paths:
    M modules/mid_registrar/save.c

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


  Commit: 1143419b7bda9bebdd06e36dff2eb599e1eb20ea
      https://github.com/OpenSIPS/opensips/commit/1143419b7bda9bebdd06e36dff2eb599e1eb20ea
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-30 (Wed, 30 Aug 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: ee23700710564efb1b02f5584fed086bf89786e2
      https://github.com/OpenSIPS/opensips/commit/ee23700710564efb1b02f5584fed086bf89786e2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-30 (Wed, 30 Aug 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: f522b0ef089e12375b6dc184f5643c11312d1ebc
      https://github.com/OpenSIPS/opensips/commit/f522b0ef089e12375b6dc184f5643c11312d1ebc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-30 (Wed, 30 Aug 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: 12ab75ad950a083e7cd95944cdf8e4922c00c965
      https://github.com/OpenSIPS/opensips/commit/12ab75ad950a083e7cd95944cdf8e4922c00c965
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-31 (Thu, 31 Aug 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: 496e2dcc2745829cc0895bca09400267c23ad7f2
      https://github.com/OpenSIPS/opensips/commit/496e2dcc2745829cc0895bca09400267c23ad7f2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-31 (Thu, 31 Aug 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: 4b9f34d6b1a0fa59c495cc8eec695cc49772c222
      https://github.com/OpenSIPS/opensips/commit/4b9f34d6b1a0fa59c495cc8eec695cc49772c222
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-31 (Thu, 31 Aug 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: d8854637e9329e7d6a52b87aa5cc4601450011c3
      https://github.com/OpenSIPS/opensips/commit/d8854637e9329e7d6a52b87aa5cc4601450011c3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-08-31 (Thu, 31 Aug 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: ea231c0235599fb187742dd6dfbb021f71ce9141
      https://github.com/OpenSIPS/opensips/commit/ea231c0235599fb187742dd6dfbb021f71ce9141
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-08-31 (Thu, 31 Aug 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: eb992099e5d911beec448c3ce385e7e3b6fa57b2
      https://github.com/OpenSIPS/opensips/commit/eb992099e5d911beec448c3ce385e7e3b6fa57b2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-31 (Thu, 31 Aug 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: 396dca37ccced8b758c830c536b5385be98feb3a
      https://github.com/OpenSIPS/opensips/commit/396dca37ccced8b758c830c536b5385be98feb3a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-31 (Thu, 31 Aug 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: 07c3b105942037547eadff1636f89ae5800fabf0
      https://github.com/OpenSIPS/opensips/commit/07c3b105942037547eadff1636f89ae5800fabf0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-04 (Mon, 04 Sep 2017)

  Changed paths:
    M .travis.yml

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


  Commit: 308662a9be3d92f433b603c13a5fa8c0b93d8a87
      https://github.com/OpenSIPS/opensips/commit/308662a9be3d92f433b603c13a5fa8c0b93d8a87
  Author: Eric Tamme <eric.tamme at onsip.com>
  Date:   2017-09-08 (Fri, 08 Sep 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: 9ef3aacce9d7bb84c5d4767848934106abe7dfb2
      https://github.com/OpenSIPS/opensips/commit/9ef3aacce9d7bb84c5d4767848934106abe7dfb2
  Author: Eric Tamme <eric.tamme at onsip.com>
  Date:   2017-09-08 (Fri, 08 Sep 2017)

  Changed paths:
    M modules/cpl_c/cpl_db.c

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


  Commit: e113e147c71b2fa4f84bed3621b91d1ed1de38f6
      https://github.com/OpenSIPS/opensips/commit/e113e147c71b2fa4f84bed3621b91d1ed1de38f6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-12 (Tue, 12 Sep 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: b0eb928e7241e9c8c2fcfff3e3bb3704fbfddae6
      https://github.com/OpenSIPS/opensips/commit/b0eb928e7241e9c8c2fcfff3e3bb3704fbfddae6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M parser/parse_fline.c

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


  Commit: 99af2fc44f0b8216bdbe7320d41adb208144ada0
      https://github.com/OpenSIPS/opensips/commit/99af2fc44f0b8216bdbe7320d41adb208144ada0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-13 (Wed, 13 Sep 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: 0c8d59777fd0167af9234c17fea18ea2a58eddda
      https://github.com/OpenSIPS/opensips/commit/0c8d59777fd0167af9234c17fea18ea2a58eddda
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-09-14 (Thu, 14 Sep 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: b7f9ca3316f4d6c740fc62599a55bae97026efbd
      https://github.com/OpenSIPS/opensips/commit/b7f9ca3316f4d6c740fc62599a55bae97026efbd
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

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

reported by Eric Tamme from OnSIP


  Commit: 6c1a79d291af802d0b7115b15582b068acfe18d5
      https://github.com/OpenSIPS/opensips/commit/6c1a79d291af802d0b7115b15582b068acfe18d5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-21 (Thu, 21 Sep 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: 2a64a1455d63fdabf9d9130811d2932e245afd1e
      https://github.com/OpenSIPS/opensips/commit/2a64a1455d63fdabf9d9130811d2932e245afd1e
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2017-09-21 (Thu, 21 Sep 2017)

  Changed paths:
    M modules/cpl_c/cpl_db.c

  Log Message:
  -----------
  Merge pull request #1191 from etamme/master

fix memory leak in cpl-c write_to_db


  Commit: 7f3a5e97bcf4ae78bbfe8536e0359872da4d14f3
      https://github.com/OpenSIPS/opensips/commit/7f3a5e97bcf4ae78bbfe8536e0359872da4d14f3
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2017-09-21 (Thu, 21 Sep 2017)

  Changed paths:
    M .travis.yml
    M Makefile
    M Makefile.conf.template
    M Makefile.sources
    M action.c
    M async.c
    M async.h
    M bin_interface.c
    M bin_interface.h
    M cachedb/cachedb.c
    M cachedb/example/example_cachedb.c
    M cfg.lex
    M cfg.y
    M daemonize.c
    M db/db_ut.c
    M db/schema/tls_mgm.xml
    M dprint.h
    M etc/opensips.cfg
    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 forward.h
    M io_wait.h
    M io_wait_loop.h
    A lib/dbg/struct_hist.c
    A lib/dbg/struct_hist.h
    A lib/reg/ci.c
    A lib/reg/ci.h
    A lib/reg/config.h
    A lib/reg/path.c
    A lib/reg/path.h
    A lib/reg/regtime.c
    A lib/reg/regtime.h
    M lib/reg/rerrno.h
    M lib/reg/sip_msg.c
    M lib/reg/sip_msg.h
    A lib/sliblist.c
    A lib/sliblist.h
    M lib/timerfd.h
    M main.c
    M mem/common.h
    M mem/f_malloc.c
    M mem/hp_malloc.c
    M mem/q_malloc.c
    M mem/shm_mem.c
    M mem/shm_mem.h
    M menuconfig/configs/opensips_loadbalancer.m4
    M menuconfig/configs/opensips_residential.m4
    M menuconfig/configs/opensips_trunking.m4
    M mi/mi_trace.c
    M modules/aaa_radius/Makefile
    M modules/aaa_radius/README
    M modules/aaa_radius/aaa_radius.c
    M modules/aaa_radius/doc/aaa_radius_admin.xml
    M modules/acc/README
    M modules/acc/acc.c
    M modules/acc/acc_extra.c
    M modules/acc/acc_logic.c
    M modules/acc/acc_mod.c
    M modules/acc/acc_vars.c
    M modules/acc/doc/acc_admin.xml
    M modules/alias_db/alias_db.c
    M modules/auth/auth_mod.c
    M modules/auth_aaa/Makefile
    M modules/auth_aaa/authaaa_mod.c
    M modules/auth_db/authdb_mod.c
    M modules/avpops/README
    M modules/avpops/avpops.c
    M modules/b2b_entities/b2b_entities.c
    M modules/b2b_entities/dlg.c
    M modules/b2b_logic/b2b_logic.c
    M modules/b2b_sca/b2b_sca.c
    M modules/b2b_sca/sca_logic.c
    M modules/benchmark/benchmark.c
    M modules/cachedb_cassandra/cachedb_cassandra.c
    M modules/cachedb_couchbase/Makefile
    M modules/cachedb_couchbase/cachedb_couchbase.c
    M modules/cachedb_local/cachedb_local.c
    M modules/cachedb_memcached/Makefile
    M modules/cachedb_memcached/cachedb_memcached.c
    M modules/cachedb_mongodb/Makefile
    M modules/cachedb_mongodb/README
    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
    M modules/cachedb_mongodb/doc/cachedb_mongodb.xml
    M modules/cachedb_mongodb/doc/cachedb_mongodb_admin.xml
    M modules/cachedb_redis/Makefile
    M modules/cachedb_redis/cachedb_redis.c
    M modules/cachedb_sql/cachedb_sql.c
    M modules/call_center/README
    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/README
    M modules/cgrates/cgrates.c
    M modules/cgrates/cgrates_acc.c
    M modules/cgrates/cgrates_auth.c
    M modules/cgrates/cgrates_common.c
    M modules/cgrates/cgrates_common.h
    M modules/cgrates/doc/cgrates_admin.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 modules/compression/README
    M modules/compression/compression.c
    M modules/compression/doc/compression_admin.xml
    M modules/cpl_c/README
    M modules/cpl_c/cpl.c
    M modules/cpl_c/cpl_db.c
    M modules/cpl_c/doc/cpl_c_admin.xml
    M modules/db_berkeley/Makefile
    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/Makefile
    M modules/db_http/db_http.c
    M modules/db_mysql/README
    M modules/db_mysql/db_mysql.c
    M modules/db_mysql/my_con.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/README
    M modules/db_text/dbtext.c
    M modules/db_text/doc/db_text.cfg
    M modules/db_unixodbc/Makefile
    M modules/db_unixodbc/db_unixodbc.c
    M modules/db_virtual/db_virtual.c
    M modules/dialog/README
    M modules/dialog/dialog.c
    M modules/dialog/dlg_cb.c
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_replication.c
    M modules/dialog/doc/dialog_admin.xml
    M modules/dialplan/README
    M modules/dialplan/dialplan.c
    M modules/dialplan/doc/dialplan_admin.xml
    M modules/dialplan/dp_db.c
    M modules/dispatcher/README
    M modules/dispatcher/dispatcher.c
    M modules/dispatcher/doc/dispatcher_admin.xml
    M modules/diversion/diversion.c
    M modules/dns_cache/README
    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/Makefile
    M modules/event_rabbitmq/README
    M modules/event_rabbitmq/doc/event_rabbitmq.cfg
    M modules/event_rabbitmq/event_rabbitmq.c
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_route/event_route.c
    M modules/event_routing/README
    M modules/event_routing/ebr_data.c
    M modules/event_routing/event_routing.c
    M modules/event_virtual/event_virtual.c
    M modules/event_xmlrpc/event_xmlrpc.c
    M modules/event_xmlrpc/xmlrpc_send.c
    M modules/exec/README
    M modules/exec/doc/exec_admin.xml
    M modules/exec/exec.c
    M modules/exec/exec_mod.c
    M modules/exec/kill.c
    M modules/fraud_detection/fraud_detection.c
    M modules/fraud_detection/frd_stats.h
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_mod.c
    M modules/freeswitch/fs_proc.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/httpd/httpd_proc.c
    M modules/identity/README
    M modules/identity/doc/identity_admin.xml
    M modules/identity/identity.c
    M modules/imc/README
    M modules/imc/doc/imc_admin.xml
    M modules/imc/imc.c
    M modules/jabber/Makefile
    M modules/jabber/doc/jabber.cfg
    M modules/jabber/doc/jabberx.cfg
    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/Makefile
    M modules/lua/siplua.c
    M modules/mangler/README
    M modules/mangler/doc/mangler_admin.xml
    M modules/mangler/mangler.c
    M modules/mangler/mangler.cfg
    M modules/mathops/mathops.c
    M modules/maxfwd/maxfwd.c
    M modules/mediaproxy/mediaproxy.c
    M modules/mi_datagram/README
    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/README
    M modules/mi_json/doc/mi_json_admin.xml
    M modules/mi_json/mi_json.c
    M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c
    M modules/mid_registrar/Makefile
    M modules/mid_registrar/encode.c
    M modules/mid_registrar/gruu.c
    M modules/mid_registrar/lookup.c
    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
    M modules/mmgeoip/Makefile
    M modules/mmgeoip/mmgeoip.c
    M modules/msilo/README
    M modules/msilo/doc/msilo.cfg
    M modules/msilo/msilo.c
    M modules/nat_traversal/README
    M modules/nat_traversal/doc/nat_traversal_admin.xml
    M modules/nat_traversal/nat_traversal.c
    M modules/nathelper/README
    M modules/nathelper/doc/nathelper_admin.xml
    M modules/nathelper/examples/4to6.cfg
    M modules/nathelper/examples/alg.cfg
    M modules/nathelper/nathelper.c
    M modules/nathelper/nathelper.cfg
    M modules/nathelper/nathelper_rtpp.cfg
    M modules/options/README
    M modules/options/doc/options_admin.xml
    M modules/options/mod_options.c
    M modules/osp/README
    M modules/osp/doc/osp_admin.xml
    M modules/osp/etc/sample-osp-opensips.cfg
    M modules/osp/osp_mod.c
    M modules/path/path_mod.c
    M modules/peering/Makefile
    M modules/peering/peering.c
    M modules/perl/README
    M modules/perl/doc/perl_admin.xml
    M modules/perl/perl.c
    M modules/permissions/README
    M modules/permissions/doc/permissions_admin.xml
    M modules/permissions/permissions.c
    M modules/pi_http/pi_http.c
    M modules/pike/README
    M modules/pike/doc/pike_admin.xml
    M modules/pike/pike.c
    M modules/presence/Makefile
    M modules/presence/README
    M modules/presence/doc/presence_admin.xml
    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/Makefile
    M modules/presence_xml/presence_xml.c
    M modules/proto_bin/proto_bin.c
    M modules/proto_hep/README
    M modules/proto_hep/doc/proto_hep_admin.xml
    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/proto_hep/proto_hep.c
    M modules/proto_sctp/proto_sctp.c
    M modules/proto_tls/README
    M modules/proto_tls/doc/proto_tls_admin.xml
    M modules/proto_tls/proto_tls.c
    M modules/proto_ws/README
    M modules/proto_ws/doc/proto_ws_admin.xml
    M modules/proto_ws/proto_ws.c
    M modules/proto_ws/ws_handshake_common.h
    M modules/proto_ws/ws_tcp.c
    M modules/proto_wss/README
    M modules/proto_wss/doc/proto_wss_admin.xml
    M modules/proto_wss/proto_wss.c
    M modules/pua/README
    M modules/pua/doc/pua_admin.xml
    M modules/pua/pua.c
    M modules/pua/send_publish.c
    M modules/pua_bla/README
    M modules/pua_bla/doc/pua_bla_admin.xml
    M modules/pua_bla/pua_bla.c
    M modules/pua_dialoginfo/Makefile
    M modules/pua_dialoginfo/README
    M modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml
    M modules/pua_dialoginfo/pua_dialoginfo.c
    M modules/pua_mi/pua_mi.c
    M modules/pua_usrloc/README
    M modules/pua_usrloc/doc/pua_usrloc_admin.xml
    M modules/pua_usrloc/pua_usrloc.c
    M modules/pua_xmpp/README
    M modules/pua_xmpp/doc/pua_xmpp_admin.xml
    M modules/pua_xmpp/pua_xmpp.c
    M modules/python/python_mod.c
    M modules/qos/README
    M modules/qos/doc/qos_admin.xml
    M modules/qos/qos.c
    M modules/rabbitmq/README
    M modules/rabbitmq/doc/rabbitmq_admin.xml
    M modules/rabbitmq/rabbitmq.c
    M modules/rabbitmq/rmq_servers.c
    M modules/ratelimit/README
    M modules/ratelimit/doc/ratelimit_admin.xml
    M modules/ratelimit/ratelimit.c
    M modules/regex/regex_mod.c
    M modules/registrar/Makefile
    M modules/registrar/README
    M modules/registrar/common.c
    M modules/registrar/doc/registrar_admin.xml
    M modules/registrar/lookup.c
    R modules/registrar/path.c
    R modules/registrar/path.h
    M modules/registrar/reg_mod.c
    M modules/registrar/reg_mod.h
    R modules/registrar/regtime.c
    R modules/registrar/regtime.h
    M modules/registrar/reply.c
    M modules/registrar/save.c
    M modules/registrar/sip_msg.c
    M modules/registrar/sip_msg.h
    M modules/rest_client/README
    M modules/rest_client/doc/rest_client_admin.xml
    M modules/rest_client/rest_client.c
    M modules/rest_client/rest_methods.c
    M modules/rls/README
    M modules/rls/doc/rls_admin.xml
    M modules/rls/rls.c
    M modules/rr/rr_mod.c
    M modules/rtpengine/README
    M modules/rtpengine/doc/rtpengine_admin.xml
    M modules/rtpengine/doc/rtpengine_faq.xml
    M modules/rtpengine/rtpengine.c
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/rtpproxy_admin.xml
    M modules/rtpproxy/examples/4to6.cfg
    M modules/rtpproxy/examples/alg.cfg
    M modules/rtpproxy/rtpproxy.c
    M modules/rtpproxy/rtpproxy.h
    M modules/rtpproxy/timeout_process.c
    M modules/script_helper/script_helper.c
    M modules/seas/README
    M modules/seas/doc/seas_admin.xml
    M modules/seas/seas.c
    M modules/signaling/signaling.c
    M modules/sip_i/README
    M modules/sip_i/doc/sip_i_admin.xml
    M modules/sip_i/isup.c
    M modules/sip_i/sip_i.c
    M modules/sip_i/sip_i.h
    M modules/sipcapture/README
    M modules/sipcapture/doc/sipcapture_admin.xml
    M modules/sipcapture/examples/opensips.cfg
    M modules/sipcapture/sipcapture.c
    A modules/sipcapture/sql/report5capture.sql
    A modules/sipcapture/sql/report6capture.sql
    R modules/sipcapture/sql/rtcpcapture.sql
    M modules/sipmsgops/README
    M modules/sipmsgops/codecs.c
    M modules/sipmsgops/sipmsgops.c
    M modules/siptrace/README
    M modules/siptrace/siptrace.c
    M modules/siptrace/siptrace.h
    M modules/sl/sl.c
    M modules/sl/sl_funcs.c
    M modules/sms/sms.c
    M modules/sngtc/sngtc.c
    M modules/snmpstats/Makefile
    M modules/snmpstats/openserSIPPortTable.c
    M modules/snmpstats/snmpstats.h
    M modules/speeddial/README
    M modules/speeddial/doc/speeddial.cfg
    M modules/speeddial/doc/speeddial_admin.xml
    M modules/speeddial/speeddial.c
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/sql_cacher_admin.xml
    M modules/sql_cacher/sql_cacher.c
    M modules/sst/README
    M modules/sst/doc/sst_admin.xml
    M modules/sst/sst.c
    M modules/statistics/statistics.c
    M modules/statistics/stats_funcs.c
    M modules/stun/stun.c
    M modules/textops/textops.c
    M modules/tls_mgm/README
    M modules/tls_mgm/api.h
    M modules/tls_mgm/doc/tls_mgm.xml
    M modules/tls_mgm/doc/tls_mgm_admin.xml
    M modules/tls_mgm/tls.h
    M modules/tls_mgm/tls_config.c
    M modules/tls_mgm/tls_config.h
    M modules/tls_mgm/tls_config_helper.h
    M modules/tls_mgm/tls_conn.h
    M modules/tls_mgm/tls_conn_server.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 modules/tm/README
    M modules/tm/async.c
    M modules/tm/doc/tm_admin.xml
    M modules/tm/h_table.h
    M modules/tm/sip_msg.c
    M modules/tm/t_cancel.c
    M modules/tm/t_funcs.c
    M modules/tm/t_fwd.c
    M modules/tm/t_fwd.h
    M modules/tm/t_hooks.h
    M modules/tm/t_lookup.c
    M modules/tm/t_msgbuilder.h
    M modules/tm/t_reply.c
    M modules/tm/timer.c
    M modules/tm/tm.c
    M modules/tm/uac.c
    M modules/topology_hiding/README
    M modules/topology_hiding/topo_hiding_logic.c
    M modules/topology_hiding/topology_hiding.c
    M modules/uac/uac.c
    M modules/uac_auth/uac_auth.c
    M modules/uac_redirect/README
    M modules/uac_redirect/doc/uac_redirect_admin.xml
    M modules/uac_redirect/redirect.c
    M modules/uac_registrant/reg_records.h
    M modules/uac_registrant/registrant.c
    M modules/uri/uri_mod.c
    M modules/userblacklist/userblacklist.c
    M modules/usrloc/README
    M modules/usrloc/ucontact.c
    M modules/usrloc/udomain.c
    M modules/usrloc/ul_mod.c
    M modules/usrloc/urecord.c
    M modules/usrloc/ureplication.c
    M modules/xcap/xcap_mod.c
    M modules/xcap_client/xcap_client.c
    M modules/xml/Makefile
    M modules/xml/README
    M modules/xml/xml.c
    M modules/xmpp/Makefile
    M modules/xmpp/xmpp.c
    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/README
    M net/proto_tcp/doc/proto_tcp_admin.xml
    M net/proto_tcp/proto_tcp.c
    M net/proto_tcp/tcp_common.h
    M net/proto_udp/proto_udp.c
    M net/tcp_conn.h
    M net/tcp_conn_defs.h
    M net/trans.h
    M net/trans_trace.c
    M packaging/debian/common/changelog
    M packaging/debian/common/control
    M packaging/debian/common/copyright
    M packaging/debian/common/opensips.init
    M packaging/debian/common/opensips.lintian-overrides
    M packaging/debian/common/opensips.service
    M packaging/debian/common/rules
    A packaging/debian/jessie/control
    A packaging/debian/jessie/rules
    A packaging/debian/stretch/control
    A packaging/debian/stretch/rules
    A packaging/debian/wheezy/control
    A packaging/debian/wheezy/rules
    M parser/msg_parser.c
    M parser/msg_parser.h
    M parser/parse_body.c
    M parser/parse_body.h
    M parser/parse_fline.c
    M parser/parse_uri.c
    M parser/sdp/sdp.c
    M pvar.c
    M pvar.h
    M re.c
    M resolve.h
    M route.c
    M route_struct.c
    M route_struct.h
    M script_var.c
    M scripts/db_berkeley/opensips/tls_mgm
    M scripts/dbtext/opensips/tls_mgm
    M scripts/mysql/tls_mgm-create.sql
    M scripts/opensipsctl.base
    M scripts/opensipsctl.pgsql
    M scripts/opensipsdbctl
    M scripts/opensipsdbctl.pgsql
    M scripts/opensipsdbctl.sqlite
    M scripts/oracle/tls_mgm-create.sql
    M scripts/postgres/tls_mgm-create.sql
    M scripts/sqlite/tls_mgm-create.sql
    R sliblist.c
    R sliblist.h
    M socket_info.c
    M socket_info.h
    M sr_module.c
    M sr_module.h
    M statistics.c
    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
    M timer.c
    M trace_api.h
    M transformations.c
    M transformations.h
    M trim.h
    M ut.c
    M ut.h
    M utils/db_berkeley/Makefile
    M utils/vim/opensips.vim
    M xlog.c

  Log Message:
  -----------
  Merge branch 'master' into debian-sqlite-module


  Commit: 1bd368bb2186d34648009461769d4f565b63f797
      https://github.com/OpenSIPS/opensips/commit/1bd368bb2186d34648009461769d4f565b63f797
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2017-09-21 (Thu, 21 Sep 2017)

  Log Message:
  -----------
  Merge pull request #1083 from jleren/debian-sqlite-module

Added SQLite module to debian packaging


  Commit: bf1c6de3c7ec7aae74df3fe6f5a753f5cf2488ee
      https://github.com/OpenSIPS/opensips/commit/bf1c6de3c7ec7aae74df3fe6f5a753f5cf2488ee
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2017-09-21 (Thu, 21 Sep 2017)

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

  Log Message:
  -----------
  Merge pull request #1168 from sippy/master_freebsd_fix

Fix some minor build issues on FreeBSD


  Commit: 8ba5c8aa4de154a149e91f51da728390a4964fa1
      https://github.com/OpenSIPS/opensips/commit/8ba5c8aa4de154a149e91f51da728390a4964fa1
  Author: Eric Tamme <eric.tamme at onsip.com>
  Date:   2017-09-25 (Mon, 25 Sep 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

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


  Commit: 675164c747e4f538dfa34fcdfb46b9adbf3567e4
      https://github.com/OpenSIPS/opensips/commit/675164c747e4f538dfa34fcdfb46b9adbf3567e4
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2017-09-25 (Mon, 25 Sep 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  Merge pull request #1195 from etamme/master

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


  Commit: a822b56c6ac05e3dd91bc41a3545026048bfc8eb
      https://github.com/OpenSIPS/opensips/commit/a822b56c6ac05e3dd91bc41a3545026048bfc8eb
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-09-26 (Tue, 26 Sep 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: dc3f6eafb69ef8ca44d795a3f44de5916ab626de
      https://github.com/OpenSIPS/opensips/commit/dc3f6eafb69ef8ca44d795a3f44de5916ab626de
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-09-26 (Tue, 26 Sep 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: f37527dcf313be2539e2c875f75caa8f71d8de3c
      https://github.com/OpenSIPS/opensips/commit/f37527dcf313be2539e2c875f75caa8f71d8de3c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: b9d409a861d5b074149d2671364cdc6127d39f64
      https://github.com/OpenSIPS/opensips/commit/b9d409a861d5b074149d2671364cdc6127d39f64
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M modules/drouting/drouting.c

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


  Commit: 2ddffd269b1096c8e463ab4cf0597b1719bf5adb
      https://github.com/OpenSIPS/opensips/commit/2ddffd269b1096c8e463ab4cf0597b1719bf5adb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M mod_fix.c
    M mod_fix.h

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


  Commit: f9a886f17bca7235b540b3222316261c1698db43
      https://github.com/OpenSIPS/opensips/commit/f9a886f17bca7235b540b3222316261c1698db43
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M msg_translator.c
    M msg_translator.h

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


  Commit: 4e33268425893419e1c1a4b57041c61590a86ad4
      https://github.com/OpenSIPS/opensips/commit/4e33268425893419e1c1a4b57041c61590a86ad4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

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

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


  Commit: c4e261aff10579e2bbbbd8529f30220aba4f8f63
      https://github.com/OpenSIPS/opensips/commit/c4e261aff10579e2bbbbd8529f30220aba4f8f63
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M msg_translator.c
    M msg_translator.h

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


  Commit: 25fbf306384b7cefc45f44abce30b35ccf8841fa
      https://github.com/OpenSIPS/opensips/commit/25fbf306384b7cefc45f44abce30b35ccf8841fa
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: 9e4d2129677bdf9b8c7f29f9310ef906c88c15ef
      https://github.com/OpenSIPS/opensips/commit/9e4d2129677bdf9b8c7f29f9310ef906c88c15ef
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

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

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


  Commit: 6e68145a518f69d7752aff41d11d6109fa34de7a
      https://github.com/OpenSIPS/opensips/commit/6e68145a518f69d7752aff41d11d6109fa34de7a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: 7876b11b9d8ecd4ce60235c6c2ce427fe77ddb6b
      https://github.com/OpenSIPS/opensips/commit/7876b11b9d8ecd4ce60235c6c2ce427fe77ddb6b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

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

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


  Commit: c0959f8cdc4ee23d0ff1808b3fe5d8f59f14ebdb
      https://github.com/OpenSIPS/opensips/commit/c0959f8cdc4ee23d0ff1808b3fe5d8f59f14ebdb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

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

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


  Commit: 7b5799611b5a6407a3363d822def354cc393eb01
      https://github.com/OpenSIPS/opensips/commit/7b5799611b5a6407a3363d822def354cc393eb01
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: 2ad845014898583068f6cb0318391aedd2a3284c
      https://github.com/OpenSIPS/opensips/commit/2ad845014898583068f6cb0318391aedd2a3284c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

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


  Commit: 573e5d81eefea32e5c9fe3cf45251a29e88aecdf
      https://github.com/OpenSIPS/opensips/commit/573e5d81eefea32e5c9fe3cf45251a29e88aecdf
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: f0d2a8734fc188202a54e1034b52c8ee409824a3
      https://github.com/OpenSIPS/opensips/commit/f0d2a8734fc188202a54e1034b52c8ee409824a3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: 16f6e6b541954276f53f22e0193cbdae28670cb2
      https://github.com/OpenSIPS/opensips/commit/16f6e6b541954276f53f22e0193cbdae28670cb2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: d36d1be6f8903ddde03b5e35bbf33cef6cb19efc
      https://github.com/OpenSIPS/opensips/commit/d36d1be6f8903ddde03b5e35bbf33cef6cb19efc
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: 2fe95dc187125b536c60c604c3ea35891696eae1
      https://github.com/OpenSIPS/opensips/commit/2fe95dc187125b536c60c604c3ea35891696eae1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: d774a30c93fce1b48b2a464949ce5e16f4b32e1e
      https://github.com/OpenSIPS/opensips/commit/d774a30c93fce1b48b2a464949ce5e16f4b32e1e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: b6f2f84baa58e15baee43879308458bf38165b64
      https://github.com/OpenSIPS/opensips/commit/b6f2f84baa58e15baee43879308458bf38165b64
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: f2c42e379d38a379840e8a1e76f42ef5b1c7cfd9
      https://github.com/OpenSIPS/opensips/commit/f2c42e379d38a379840e8a1e76f42ef5b1c7cfd9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: fe98342c2d5520afd2d4baebd17d5cb26134d70c
      https://github.com/OpenSIPS/opensips/commit/fe98342c2d5520afd2d4baebd17d5cb26134d70c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: 1d3e6086b7d5b9f27a8e4d42bf1c38c9f12a580c
      https://github.com/OpenSIPS/opensips/commit/1d3e6086b7d5b9f27a8e4d42bf1c38c9f12a580c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: 6e4dda46f9b2d911a940c6256a0396a01f120e5d
      https://github.com/OpenSIPS/opensips/commit/6e4dda46f9b2d911a940c6256a0396a01f120e5d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: c37878a2722d6c4d4fb8adf9391182d17d95a5d2
      https://github.com/OpenSIPS/opensips/commit/c37878a2722d6c4d4fb8adf9391182d17d95a5d2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M modules/siprec/siprec.c

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


  Commit: 49aafbdbc304dc87d9527222d6765ada5a26315b
      https://github.com/OpenSIPS/opensips/commit/49aafbdbc304dc87d9527222d6765ada5a26315b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: d4fd99d618a9f63c26056d55c8a10ebb091054e9
      https://github.com/OpenSIPS/opensips/commit/d4fd99d618a9f63c26056d55c8a10ebb091054e9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M modules/siprec/siprec.c

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


  Commit: 2a460a2ab0a511babc50175de6d8a8e8011be7f5
      https://github.com/OpenSIPS/opensips/commit/2a460a2ab0a511babc50175de6d8a8e8011be7f5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M modules/siprec/src_logic.c

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


  Commit: 1b0cc0bb564d952b69472ff842fd376640b6aced
      https://github.com/OpenSIPS/opensips/commit/1b0cc0bb564d952b69472ff842fd376640b6aced
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M bin_interface.c
    M bin_interface.h

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


  Commit: 6e82ceb12b0325000d597a7fca3b63fd6ef13ed1
      https://github.com/OpenSIPS/opensips/commit/6e82ceb12b0325000d597a7fca3b63fd6ef13ed1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: 4c8f3abb3b7bebb40d2e20aa66f265756fc7083d
      https://github.com/OpenSIPS/opensips/commit/4c8f3abb3b7bebb40d2e20aa66f265756fc7083d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M modules/siprec/siprec.c

  Log Message:
  -----------
  siprec: cleanup


  Commit: 17741adfe66b70f11527be72f9a1b5c32e51f591
      https://github.com/OpenSIPS/opensips/commit/17741adfe66b70f11527be72f9a1b5c32e51f591
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: e013471c74ec1461d70a57f3cba7bcb01b552859
      https://github.com/OpenSIPS/opensips/commit/e013471c74ec1461d70a57f3cba7bcb01b552859
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M modules/siprec/siprec.c

  Log Message:
  -----------
  siprec: remove useless functions and stats


  Commit: bccc92a18054295921e7577caf58121547f344e9
      https://github.com/OpenSIPS/opensips/commit/bccc92a18054295921e7577caf58121547f344e9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: e47b3c4915ea5cbee754b2340c3baf594d627a57
      https://github.com/OpenSIPS/opensips/commit/e47b3c4915ea5cbee754b2340c3baf594d627a57
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: 76047f1779dd828c65cdc5cc71d4c5ce7eaa904a
      https://github.com/OpenSIPS/opensips/commit/76047f1779dd828c65cdc5cc71d4c5ce7eaa904a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: 4a17aa5f32f3b36286a8c95c59b92f2cf433140e
      https://github.com/OpenSIPS/opensips/commit/4a17aa5f32f3b36286a8c95c59b92f2cf433140e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: 08280ab0a308305ad95c386fcda00b53da29ce74
      https://github.com/OpenSIPS/opensips/commit/08280ab0a308305ad95c386fcda00b53da29ce74
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M .travis.yml
    M Makefile.conf.template

  Log Message:
  -----------
  siprec: add libuuid dependency


  Commit: aa2cb9a90afdfa51cfc7841a6c8d8de74281d4ab
      https://github.com/OpenSIPS/opensips/commit/aa2cb9a90afdfa51cfc7841a6c8d8de74281d4ab
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M modules/siprec/Makefile
    M modules/siprec/siprec_uuid.h

  Log Message:
  -----------
  siprec: fix uuid lib path


  Commit: 98cf480fb169437839c5b16a22f1c322d93b7088
      https://github.com/OpenSIPS/opensips/commit/98cf480fb169437839c5b16a22f1c322d93b7088
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 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: 0de3c072f4ec7911fd65dc02cc05ab7486e6538c
      https://github.com/OpenSIPS/opensips/commit/0de3c072f4ec7911fd65dc02cc05ab7486e6538c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M .travis.yml
    M Makefile.conf.template

  Log Message:
  -----------
  siprec: fix uuid lib dependency


  Commit: a6956c70b5d2f740ec7c71afbd55139c6987924d
      https://github.com/OpenSIPS/opensips/commit/a6956c70b5d2f740ec7c71afbd55139c6987924d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-09-29 (Fri, 29 Sep 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: 34b13a7e25ae9eb13431dd55ea8206c0fccf9e2d
      https://github.com/OpenSIPS/opensips/commit/34b13a7e25ae9eb13431dd55ea8206c0fccf9e2d
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-09-29 (Fri, 29 Sep 2017)

  Changed paths:
    M modules/clusterer/clusterer.c

  Log Message:
  -----------
  clusterer: fix ID parameters for script message received events


  Commit: 4de5bed3bf365975bcb8cb17655081f448a27916
      https://github.com/OpenSIPS/opensips/commit/4de5bed3bf365975bcb8cb17655081f448a27916
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2017-09-29 (Fri, 29 Sep 2017)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  siprec: add rpm packaging


  Commit: 6a0cd259c0ebdd54d7076568f973ee11a4cc5bd3
      https://github.com/OpenSIPS/opensips/commit/6a0cd259c0ebdd54d7076568f973ee11a4cc5bd3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-10-04 (Wed, 04 Oct 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: 3f39e0eb7340db0d3d244e587fe83b686d5c4f23
      https://github.com/OpenSIPS/opensips/commit/3f39e0eb7340db0d3d244e587fe83b686d5c4f23
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-10-04 (Wed, 04 Oct 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: a8db3e45cdfd09605cc14f78c2f084ff2bcdc73e
      https://github.com/OpenSIPS/opensips/commit/a8db3e45cdfd09605cc14f78c2f084ff2bcdc73e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-10-05 (Thu, 05 Oct 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: aa32bf1b6909c8471eea8c2170a3a2a3f94be1cf
      https://github.com/OpenSIPS/opensips/commit/aa32bf1b6909c8471eea8c2170a3a2a3f94be1cf
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-10-06 (Fri, 06 Oct 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: b10b142378a18a302360f56de495efead509f3c0
      https://github.com/OpenSIPS/opensips/commit/b10b142378a18a302360f56de495efead509f3c0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-10-10 (Tue, 10 Oct 2017)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: Fix verbose log line


  Commit: 6f54f780d20e84a4fb029f12b0d3f3129b0b2810
      https://github.com/OpenSIPS/opensips/commit/6f54f780d20e84a4fb029f12b0d3f3129b0b2810
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-10-12 (Thu, 12 Oct 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: 5c4db4f320cef56bb91f17629e259711c706eacd
      https://github.com/OpenSIPS/opensips/commit/5c4db4f320cef56bb91f17629e259711c706eacd
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-10-13 (Fri, 13 Oct 2017)

  Changed paths:
    M modules/dns_cache/dns_cache.c

  Log Message:
  -----------
  dns_cache: Avoid incorrect error logs during startup


  Commit: 568675291ec7dab511856e4cba8fab162e6e137e
      https://github.com/OpenSIPS/opensips/commit/568675291ec7dab511856e4cba8fab162e6e137e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-10-13 (Fri, 13 Oct 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: 8ce5a92a5033c01dcf7c58929077959cffa1ef9c
      https://github.com/OpenSIPS/opensips/commit/8ce5a92a5033c01dcf7c58929077959cffa1ef9c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-10-13 (Fri, 13 Oct 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: c0cdc66b2fe906b270e8be6abd95e3b757afd2ef
      https://github.com/OpenSIPS/opensips/commit/c0cdc66b2fe906b270e8be6abd95e3b757afd2ef
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-10-13 (Fri, 13 Oct 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: 8c8f27f6091289061f6aaf0d3c85ccd27db80a0d
      https://github.com/OpenSIPS/opensips/commit/8c8f27f6091289061f6aaf0d3c85ccd27db80a0d
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-10-16 (Mon, 16 Oct 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: ad35e7cedc44efd90c58f26a853585ece5883bac
      https://github.com/OpenSIPS/opensips/commit/ad35e7cedc44efd90c58f26a853585ece5883bac
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-10-16 (Mon, 16 Oct 2017)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: also share module flags when replicating dialogs


  Commit: b5094f0dc6a4f52555f9cca1ea9df7c846749482
      https://github.com/OpenSIPS/opensips/commit/b5094f0dc6a4f52555f9cca1ea9df7c846749482
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-10-17 (Tue, 17 Oct 2017)

  Changed paths:
    M strcommon.c

  Log Message:
  -----------
  Fix escaping URI parameters - skip alphanumerical chars.

Reported by Ben Newlin on "user" mailing list.


  Commit: e67a055fc8c3481dd6189d3d412f69dac1a20842
      https://github.com/OpenSIPS/opensips/commit/e67a055fc8c3481dd6189d3d412f69dac1a20842
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-10-17 (Tue, 17 Oct 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: 2f3128687a4702f0cac8bb2fd58a09234b6eb3d7
      https://github.com/OpenSIPS/opensips/commit/2f3128687a4702f0cac8bb2fd58a09234b6eb3d7
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-10-17 (Tue, 17 Oct 2017)

  Changed paths:
    M modules/cachedb_redis/README

  Log Message:
  -----------
  Regenerate to cover the "shutdown_on_error" new parameter


  Commit: 2a594ef211f04328e807450eee3036ae7dddebdc
      https://github.com/OpenSIPS/opensips/commit/2a594ef211f04328e807450eee3036ae7dddebdc
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-10-17 (Tue, 17 Oct 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: ec8d6a982a93d96fec8683426d2107bda67de66f
      https://github.com/OpenSIPS/opensips/commit/ec8d6a982a93d96fec8683426d2107bda67de66f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-10-19 (Thu, 19 Oct 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: 0527560978028de80a51343714429e5a3d923919
      https://github.com/OpenSIPS/opensips/commit/0527560978028de80a51343714429e5a3d923919
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-10-24 (Tue, 24 Oct 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: 4c7cbb7e06183b318393977f993b0ff31508cd4c
      https://github.com/OpenSIPS/opensips/commit/4c7cbb7e06183b318393977f993b0ff31508cd4c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M modules/db_virtual/db_virtual.h

  Log Message:
  -----------
  db_virtual: provide DELETE capabilities for ROUND mode


  Commit: f53a74f5a6d572d69fa7439a3762ca6c3faba751
      https://github.com/OpenSIPS/opensips/commit/f53a74f5a6d572d69fa7439a3762ca6c3faba751
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M modules/db_virtual/db_virtual.h

  Log Message:
  -----------
  db_virtual: fix previous commit


  Commit: ff458af3ed48a1aa1ceec2833777f304396b05cd
      https://github.com/OpenSIPS/opensips/commit/ff458af3ed48a1aa1ceec2833777f304396b05cd
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis: add slack notifications


  Commit: fc5762694201ebe4902d027e8daeaf29047a2a8a
      https://github.com/OpenSIPS/opensips/commit/fc5762694201ebe4902d027e8daeaf29047a2a8a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-10-25 (Wed, 25 Oct 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: 3a1d8053357b5ac4d84bc5de89ca0059af9cdc28
      https://github.com/OpenSIPS/opensips/commit/3a1d8053357b5ac4d84bc5de89ca0059af9cdc28
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-10-25 (Wed, 25 Oct 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: fe801ac5c3a2721a3c1e47c70215e4864d2b4357
      https://github.com/OpenSIPS/opensips/commit/fe801ac5c3a2721a3c1e47c70215e4864d2b4357
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2017-10-26 (Thu, 26 Oct 2017)

  Changed paths:
    M modules/cgrates/cgrates_acc.c

  Log Message:
  -----------
  Merge pull request #1159 from bradleyjokinen/add-cgrates-disconnect-cause

cgrates: add DisconnectCause for CDRs


  Commit: 97c29987768c3dcef839e7ce9f047a5f84488d67
      https://github.com/OpenSIPS/opensips/commit/97c29987768c3dcef839e7ce9f047a5f84488d67
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-10-26 (Thu, 26 Oct 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: ff9243c0e4ff37f9a13b01c4be0a71eeb2adbd95
      https://github.com/OpenSIPS/opensips/commit/ff9243c0e4ff37f9a13b01c4be0a71eeb2adbd95
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: fix uninitialized warning


  Commit: ca7164dea22f4b28b70e7499a3a063dd3b350a38
      https://github.com/OpenSIPS/opensips/commit/ca7164dea22f4b28b70e7499a3a063dd3b350a38
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: fix uninitialzied warning


  Commit: d0dc4ecbebeafdc12db110fe58d9e9ec79e402fa
      https://github.com/OpenSIPS/opensips/commit/d0dc4ecbebeafdc12db110fe58d9e9ec79e402fa
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  mongodb: fix warning


  Commit: d19215dcb567b7384f0ceae8551489f566265552
      https://github.com/OpenSIPS/opensips/commit/d19215dcb567b7384f0ceae8551489f566265552
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M modules/sst/sst_handlers.c

  Log Message:
  -----------
  sst: fix MIN-SE header printing


  Commit: 608433323e5642cc09c07cc04825609a1f3a2bd0
      https://github.com/OpenSIPS/opensips/commit/608433323e5642cc09c07cc04825609a1f3a2bd0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M packaging/debian/common/control

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


  Commit: 19ceff23a9cf4ed2677f1a7b32f82a9c93fe3455
      https://github.com/OpenSIPS/opensips/commit/19ceff23a9cf4ed2677f1a7b32f82a9c93fe3455
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M modules/sms/libsms_modem.c

  Log Message:
  -----------
  sms: increase pin buffer to avoid warnings


  Commit: 60d161d447ccf082aa1be7fbb2261c5548dcd3bf
      https://github.com/OpenSIPS/opensips/commit/60d161d447ccf082aa1be7fbb2261c5548dcd3bf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-10-27 (Fri, 27 Oct 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: fbb54143ec90fe944051a4b05e2e142aa593f911
      https://github.com/OpenSIPS/opensips/commit/fbb54143ec90fe944051a4b05e2e142aa593f911
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M modules/clusterer/clusterer_mod.c

  Log Message:
  -----------
  clusterer: Add "proto_bin" module dependency


  Commit: d4fdc854fc337e6749b2c17ad376b4b8827a2651
      https://github.com/OpenSIPS/opensips/commit/d4fdc854fc337e6749b2c17ad376b4b8827a2651
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-10-31 (Tue, 31 Oct 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: fe21351f3756eca7d027bc7fcf0b70da337e10fa
      https://github.com/OpenSIPS/opensips/commit/fe21351f3756eca7d027bc7fcf0b70da337e10fa
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-10-31 (Tue, 31 Oct 2017)

  Changed paths:
    M modules/siprec/siprec_sess.c

  Log Message:
  -----------
  siprec: remove quotes if used


  Commit: 069a8f6d187b8b714da40783554d02db31d8319e
      https://github.com/OpenSIPS/opensips/commit/069a8f6d187b8b714da40783554d02db31d8319e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-01 (Wed, 01 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: 18e95e6e96cb01a1c261eef635ae89a2d5edd9b1
      https://github.com/OpenSIPS/opensips/commit/18e95e6e96cb01a1c261eef635ae89a2d5edd9b1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-01 (Wed, 01 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: 830d2b4f54527695f5df05eb2a16fc4e142d5c74
      https://github.com/OpenSIPS/opensips/commit/830d2b4f54527695f5df05eb2a16fc4e142d5c74
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-11-03 (Fri, 03 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: b9ca13a643e4c21aeba1fa9d88c57a054a290f64
      https://github.com/OpenSIPS/opensips/commit/b9ca13a643e4c21aeba1fa9d88c57a054a290f64
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-09 (Thu, 09 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: d67fbb9809427cc4087563bbbebf556420f1f330
      https://github.com/OpenSIPS/opensips/commit/d67fbb9809427cc4087563bbbebf556420f1f330
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-09 (Thu, 09 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: 63c1a844b702d6f86db1ee9e59262b7e01bcb19a
      https://github.com/OpenSIPS/opensips/commit/63c1a844b702d6f86db1ee9e59262b7e01bcb19a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-13 (Mon, 13 Nov 2017)

  Changed paths:
    M Makefile.defs

  Log Message:
  -----------
  clang: Add "-Wall" flag


  Commit: 7585f88cca82e915fc6a5407dead04f0cca01013
      https://github.com/OpenSIPS/opensips/commit/7585f88cca82e915fc6a5407dead04f0cca01013
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-13 (Mon, 13 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: d4967201bf4243646eef0a92be1c37dff0aba29d
      https://github.com/OpenSIPS/opensips/commit/d4967201bf4243646eef0a92be1c37dff0aba29d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-14 (Tue, 14 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: 18a93c89aa1c32498689a6f6dd09911272c18896
      https://github.com/OpenSIPS/opensips/commit/18a93c89aa1c32498689a6f6dd09911272c18896
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-14 (Tue, 14 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: a5d633924fc78cd4d9999a727ab529cb1bf50405
      https://github.com/OpenSIPS/opensips/commit/a5d633924fc78cd4d9999a727ab529cb1bf50405
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 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: e9be01680557a030c5fd6346299f5db663467018
      https://github.com/OpenSIPS/opensips/commit/e9be01680557a030c5fd6346299f5db663467018
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 Nov 2017)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  Add str2int64() parsing function


  Commit: 15a5067b2d493c273842b723199d42c695a1b93f
      https://github.com/OpenSIPS/opensips/commit/15a5067b2d493c273842b723199d42c695a1b93f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 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: 7d4894943ad522406d1f2cb9231821c91f423562
      https://github.com/OpenSIPS/opensips/commit/7d4894943ad522406d1f2cb9231821c91f423562
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 Nov 2017)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  usrloc: Allow forced IDs during contact inserts


  Commit: ad274fad9a6fd072737d45230a0c297d0e4b9329
      https://github.com/OpenSIPS/opensips/commit/ad274fad9a6fd072737d45230a0c297d0e4b9329
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 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: 8c46ab3cad07029a1e78fdb1d57300247c00c4eb
      https://github.com/OpenSIPS/opensips/commit/8c46ab3cad07029a1e78fdb1d57300247c00c4eb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix possible crash in mirror mode


  Commit: 7e190a8b1cdcdfe66afe9eea4b0be4c75f275a89
      https://github.com/OpenSIPS/opensips/commit/7e190a8b1cdcdfe66afe9eea4b0be4c75f275a89
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 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: 016da2f7f31b764da5dcce1d4189b8f9ef77b5cb
      https://github.com/OpenSIPS/opensips/commit/016da2f7f31b764da5dcce1d4189b8f9ef77b5cb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 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: 48cb7a78970b6ffebbcd93ef17f5d83d24cf5a87
      https://github.com/OpenSIPS/opensips/commit/48cb7a78970b6ffebbcd93ef17f5d83d24cf5a87
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 Nov 2017)

  Changed paths:
    M Makefile.defs
    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
    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
    M modules/mid_registrar/ulcb.c
    M modules/usrloc/dlist.c
    M modules/usrloc/udomain.c
    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
    M ut.h

  Log Message:
  -----------
  Merge branch 'bugfix/mid-registrar-store-contacts-as-aors'


  Commit: 8bb5929d58a0e39a1d19fcec092ed5ffbc5b1efb
      https://github.com/OpenSIPS/opensips/commit/8bb5929d58a0e39a1d19fcec092ed5ffbc5b1efb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-15 (Wed, 15 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: 0498151bb37db137f860959dc7c238501473d941
      https://github.com/OpenSIPS/opensips/commit/0498151bb37db137f860959dc7c238501473d941
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-16 (Thu, 16 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: a644f1b370d61e60b2f4de20c9728564d8d8a06d
      https://github.com/OpenSIPS/opensips/commit/a644f1b370d61e60b2f4de20c9728564d8d8a06d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-16 (Thu, 16 Nov 2017)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  usrloc: Fix bad logical condition

Reported by Răzvan Crainea.


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

  Changed paths:
    M packaging/debian/opensips.init

  Log Message:
  -----------
  debian/init:remove bogus value for pathextra


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

  Changed paths:
    M packaging/debian/opensips.init
    M packaging/debian/rules

  Log Message:
  -----------
  debian: fix EXTRA_PATH specification


  Commit: f562251d91a8a57e662db513e2d393a1f9de2884
      https://github.com/OpenSIPS/opensips/commit/f562251d91a8a57e662db513e2d393a1f9de2884
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-17 (Fri, 17 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: ef82312cbef3ba944df546eaee25b49659df899a
      https://github.com/OpenSIPS/opensips/commit/ef82312cbef3ba944df546eaee25b49659df899a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-20 (Mon, 20 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: 56490e4e325bab1714be516c88f3627a558e5f4d
      https://github.com/OpenSIPS/opensips/commit/56490e4e325bab1714be516c88f3627a558e5f4d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M modules/cachedb_couchbase/Makefile

  Log Message:
  -----------
  couchbase: fix LIBS in Makefile


  Commit: 087b23ab55aee311fbd2201ec370310bde7d1967
      https://github.com/OpenSIPS/opensips/commit/087b23ab55aee311fbd2201ec370310bde7d1967
  Author: Peter Lemenkov <lemenkov at gmail.com>
  Date:   2017-11-21 (Tue, 21 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: c23ad230af545e2ed9a153a0f4a4e5c3998f16f3
      https://github.com/OpenSIPS/opensips/commit/c23ad230af545e2ed9a153a0f4a4e5c3998f16f3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 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: ec0acfba521bb0f5d0a630a08bdbc265f09565eb
      https://github.com/OpenSIPS/opensips/commit/ec0acfba521bb0f5d0a630a08bdbc265f09565eb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M modules/db_mysql/dbase.c
    M modules/db_mysql/my_con.c

  Log Message:
  -----------
  Merge branch 'mariadb_unnecessary_include' of https://github.com/lemenkov/opensips into lemenkov-mariadb_unnecessary_include


  Commit: 63042c9221e596556233f7fc1b174cc30f6cfb8b
      https://github.com/OpenSIPS/opensips/commit/63042c9221e596556233f7fc1b174cc30f6cfb8b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M modules/db_mysql/dbase.c
    M modules/db_mysql/my_con.c

  Log Message:
  -----------
  Merge branch 'lemenkov-mariadb_unnecessary_include'


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

  Changed paths:
    M README.md

  Log Message:
  -----------
  README: add coverity status


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

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: fix rtpproxy_stats() fixup for more params

Thanks go to Lt-Flash(github) for reporting and providing the fix
Closes #1219


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

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix an AoR throttling corner-case

If the main registrar omits the Contact in the 200 OK reply,
it could possibly crash the mid registrar.

Reported by Răzvan Crainea.
Fixes Coverity CID #180107


  Commit: 0124344f9733a123753435367525ec9f56e06f1b
      https://github.com/OpenSIPS/opensips/commit/0124344f9733a123753435367525ec9f56e06f1b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

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

  Log Message:
  -----------
  usrloc: Fix bad comparison

Also complete commit d3790e6c

Reported by Răzvan Crainea
Fixes Coverity CID #180087
Fixes Coverity CID #180093


  Commit: 70eea5c61b3262c2fd182cf82ec9da8df6b4e259
      https://github.com/OpenSIPS/opensips/commit/70eea5c61b3262c2fd182cf82ec9da8df6b4e259
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Start OpenSIPS if ":port" URL part is missing

Reported by Răzvan Crainea


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

  Changed paths:
    M modules/siprec/siprec_body.c

  Log Message:
  -----------
  siprec: make sure stream exists

Fixes coverity issue #180110


  Commit: 468f14e97c3ad532c54dbf346a0cc163f25f656b
      https://github.com/OpenSIPS/opensips/commit/468f14e97c3ad532c54dbf346a0cc163f25f656b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

  Changed paths:
    M modules/clusterer/node_info.c

  Log Message:
  -----------
  clusterer: initialize new_info earlier

This prevents bogus check during error
Fixes Coverity issue #180106


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

  Changed paths:
    M pvar.c

  Log Message:
  -----------
  pvar: fix buffer overrun

Fixes Coverity CID #180105


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

  Changed paths:
    M modules/seas/encode_header.c
    M modules/seas/encode_msg.c

  Log Message:
  -----------
  seas: check tainted data

Fixes Coverity CID #180104 and #180101 and #180099 and #180088


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

  Changed paths:
    M modules/siprec/siprec.c

  Log Message:
  -----------
  siprec: fix parse_to usage

Fixes Coverity CID #180103


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

  Changed paths:
    M modules/httpd/httpd_proc.c

  Log Message:
  -----------
  httpd: fix address check

Fixes Coverity CID #180102


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

  Changed paths:
    M modules/rest_client/rest_methods.c

  Log Message:
  -----------
  rest: fix IP copying to tracing structures

Fixes Coverity CID #180100 and #180098


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

  Changed paths:
    M modules/mid_registrar/lookup.c

  Log Message:
  -----------
  mid_registrar: initialize regex earlier

Fixes Coverity CID #180096


  Commit: 958a4df400a3eb050939b5bf7aaae8788445563c
      https://github.com/OpenSIPS/opensips/commit/958a4df400a3eb050939b5bf7aaae8788445563c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: extra check for anchor ops

Fixes Coverity CID #180095


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

  Changed paths:
    M modules/sip_i/sip_i.c

  Log Message:
  -----------
  sip_i: proper test for parse_isup_body() return

Fixes Coverity CID #180094


  Commit: 0417e7d938379bf00ee633173a8633cdefee5dd7
      https://github.com/OpenSIPS/opensips/commit/0417e7d938379bf00ee633173a8633cdefee5dd7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: add to_tag only if provisioned

Fixes Coverity CID #180091


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

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: check return of dialog values

Fix Coverity CID #167553


  Commit: 6259f5ce40b9177d744e08e706ae34f8dcc41d45
      https://github.com/OpenSIPS/opensips/commit/6259f5ce40b9177d744e08e706ae34f8dcc41d45
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/clusterer/node_info.c
    M modules/dialog/dlg_replication.c
    M modules/httpd/httpd_proc.c
    M modules/mid_registrar/lookup.c
    M modules/mid_registrar/save.c
    M modules/rest_client/rest_methods.c
    M modules/rtpproxy/rtpproxy.c
    M modules/seas/encode_header.c
    M modules/seas/encode_msg.c
    M modules/sip_i/sip_i.c
    M modules/siprec/siprec.c
    M modules/siprec/siprec_body.c
    M modules/usrloc/urecord.c
    M pvar.c

  Log Message:
  -----------
  Merge branch 'master' into coverity_scan


Compare: https://github.com/OpenSIPS/opensips/compare/fefb0c408369...6259f5ce40b9

From liviu at opensips.org  Fri Nov 24 12:14:26 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Fri, 24 Nov 2017 09:14:26 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f29858: mid_registrar: Restore
 reply contact mangling
Message-ID: <5a1853724d11b_4e0c3fb4b86c3c3c95796@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f298587d6277d28e01ab26f64655a8b5d1bcf100
      https://github.com/OpenSIPS/opensips/commit/f298587d6277d28e01ab26f64655a8b5d1bcf100
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Restore reply contact mangling

The contact rework commits have rendered the restore_reply_contacts()
function obsolete, thus the contact headers were propagating upstream unchanged.

We now rebuild the reply contact set in all modes by using build_contacts()

Thanks to Răzvan Crainea for spotting the issue



From razvan at opensips.org  Mon Nov 27 03:57:19 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Mon, 27 Nov 2017 00:57:19 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f29858: mid_registrar: Restore
 reply contact mangling
Message-ID: <5a1bd36f1c845_653a3ffa0e021c30539d0@hookshot-fe-92cdb05.cp1-iad.github.net.mail>

  Branch: refs/heads/coverity_scan
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f298587d6277d28e01ab26f64655a8b5d1bcf100
      https://github.com/OpenSIPS/opensips/commit/f298587d6277d28e01ab26f64655a8b5d1bcf100
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Restore reply contact mangling

The contact rework commits have rendered the restore_reply_contacts()
function obsolete, thus the contact headers were propagating upstream unchanged.

We now rebuild the reply contact set in all modes by using build_contacts()

Thanks to Răzvan Crainea for spotting the issue


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

  Changed paths:
    M modules/siprec/siprec_body.c

  Log Message:
  -----------
  siprec: make sure stream exists

Fixes coverity issue #180110


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

  Changed paths:
    M modules/clusterer/node_info.c

  Log Message:
  -----------
  clusterer: initialize new_info earlier

This prevents bogus check during error
Fixes Coverity issue #180106


  Commit: 602c44d70c193b33744a257a14e4c553b54a8256
      https://github.com/OpenSIPS/opensips/commit/602c44d70c193b33744a257a14e4c553b54a8256
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-27 (Mon, 27 Nov 2017)

  Changed paths:
    M pvar.c

  Log Message:
  -----------
  pvar: fix buffer overrun

Fixes Coverity CID #180105


  Commit: 96d59f39e9a9480e2518316c6f5d6a37df9c9c75
      https://github.com/OpenSIPS/opensips/commit/96d59f39e9a9480e2518316c6f5d6a37df9c9c75
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-27 (Mon, 27 Nov 2017)

  Changed paths:
    M modules/seas/encode_header.c
    M modules/seas/encode_msg.c

  Log Message:
  -----------
  seas: check tainted data

Fixes Coverity CID #180104 and #180101 and #180099 and #180088


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

  Changed paths:
    M modules/siprec/siprec.c

  Log Message:
  -----------
  siprec: fix parse_to usage

Fixes Coverity CID #180103


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

  Changed paths:
    M modules/httpd/httpd_proc.c

  Log Message:
  -----------
  httpd: fix address check

Fixes Coverity CID #180102


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

  Changed paths:
    M modules/rest_client/rest_methods.c

  Log Message:
  -----------
  rest: fix IP copying to tracing structures

Fixes Coverity CID #180100 and #180098


  Commit: 83059b8d85e044db40d21dd550996087136dca49
      https://github.com/OpenSIPS/opensips/commit/83059b8d85e044db40d21dd550996087136dca49
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-27 (Mon, 27 Nov 2017)

  Changed paths:
    M modules/mid_registrar/lookup.c

  Log Message:
  -----------
  mid_registrar: initialize regex earlier

Fixes Coverity CID #180096


  Commit: 0956518f4b9eab89eb2780f64bbe841ed073295c
      https://github.com/OpenSIPS/opensips/commit/0956518f4b9eab89eb2780f64bbe841ed073295c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-27 (Mon, 27 Nov 2017)

  Changed paths:
    M modules/sip_i/sip_i.c

  Log Message:
  -----------
  sip_i: proper test for parse_isup_body() return

Fixes Coverity CID #180094


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

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: add to_tag only if provisioned

Fixes Coverity CID #180091


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

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: check return of dialog values

Fix Coverity CID #167553


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

  Changed paths:
    M modules/rest_client/rest_methods.c

  Log Message:
  -----------
  rest: suppress coverity error


  Commit: 101477fa84107bb37f5bbba7532bd2b542ba72b0
      https://github.com/OpenSIPS/opensips/commit/101477fa84107bb37f5bbba7532bd2b542ba72b0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-27 (Mon, 27 Nov 2017)

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

  Log Message:
  -----------
  Merge branch 'master' into coverity_scan


Compare: https://github.com/OpenSIPS/opensips/compare/6259f5ce40b9...101477fa8410

From razvan at opensips.org  Mon Nov 27 10:13:43 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Mon, 27 Nov 2017 07:13:43 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d4826a: siprec: make sure
	stream exists
Message-ID: <5a1c2ba79a075_7fc03f99acba3c381253be@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d4826a562cc92e540b0220d6dc7f775d3f6f504f
      https://github.com/OpenSIPS/opensips/commit/d4826a562cc92e540b0220d6dc7f775d3f6f504f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-27 (Mon, 27 Nov 2017)

  Changed paths:
    M modules/siprec/siprec_body.c

  Log Message:
  -----------
  siprec: make sure stream exists

Fixes coverity issue #180110


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

  Changed paths:
    M modules/clusterer/node_info.c

  Log Message:
  -----------
  clusterer: initialize new_info earlier

This prevents bogus check during error
Fixes Coverity issue #180106


  Commit: 602c44d70c193b33744a257a14e4c553b54a8256
      https://github.com/OpenSIPS/opensips/commit/602c44d70c193b33744a257a14e4c553b54a8256
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-27 (Mon, 27 Nov 2017)

  Changed paths:
    M pvar.c

  Log Message:
  -----------
  pvar: fix buffer overrun

Fixes Coverity CID #180105


  Commit: 96d59f39e9a9480e2518316c6f5d6a37df9c9c75
      https://github.com/OpenSIPS/opensips/commit/96d59f39e9a9480e2518316c6f5d6a37df9c9c75
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-27 (Mon, 27 Nov 2017)

  Changed paths:
    M modules/seas/encode_header.c
    M modules/seas/encode_msg.c

  Log Message:
  -----------
  seas: check tainted data

Fixes Coverity CID #180104 and #180101 and #180099 and #180088


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

  Changed paths:
    M modules/siprec/siprec.c

  Log Message:
  -----------
  siprec: fix parse_to usage

Fixes Coverity CID #180103


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

  Changed paths:
    M modules/httpd/httpd_proc.c

  Log Message:
  -----------
  httpd: fix address check

Fixes Coverity CID #180102


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

  Changed paths:
    M modules/rest_client/rest_methods.c

  Log Message:
  -----------
  rest: fix IP copying to tracing structures

Fixes Coverity CID #180100 and #180098


  Commit: 83059b8d85e044db40d21dd550996087136dca49
      https://github.com/OpenSIPS/opensips/commit/83059b8d85e044db40d21dd550996087136dca49
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-27 (Mon, 27 Nov 2017)

  Changed paths:
    M modules/mid_registrar/lookup.c

  Log Message:
  -----------
  mid_registrar: initialize regex earlier

Fixes Coverity CID #180096


  Commit: 0956518f4b9eab89eb2780f64bbe841ed073295c
      https://github.com/OpenSIPS/opensips/commit/0956518f4b9eab89eb2780f64bbe841ed073295c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-27 (Mon, 27 Nov 2017)

  Changed paths:
    M modules/sip_i/sip_i.c

  Log Message:
  -----------
  sip_i: proper test for parse_isup_body() return

Fixes Coverity CID #180094


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

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: add to_tag only if provisioned

Fixes Coverity CID #180091


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

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: check return of dialog values

Fix Coverity CID #167553


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

  Changed paths:
    M modules/rest_client/rest_methods.c

  Log Message:
  -----------
  rest: suppress coverity error


Compare: https://github.com/OpenSIPS/opensips/compare/f298587d6277...d1a4419df5fb

From razvan at opensips.org  Mon Nov 27 10:14:46 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Mon, 27 Nov 2017 07:14:46 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 591651: debian: let debuild
 figure out mysql dependencies
Message-ID: <5a1c2be61756b_577c3fef1fff5c3c827c6@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5916511339e638ff301ad7556c2ef8f4cb7f36bb
      https://github.com/OpenSIPS/opensips/commit/5916511339e638ff301ad7556c2ef8f4cb7f36bb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-27 (Mon, 27 Nov 2017)

  Changed paths:
    M packaging/debian/control

  Log Message:
  -----------
  debian: let debuild figure out mysql dependencies

Reported by Nick Altmann



From liviu at opensips.org  Tue Nov 28 11:34:09 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 28 Nov 2017 08:34:09 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9a155d: lib: Add basic CSV
 line parsing primitives
Message-ID: <5a1d9001e3a65_7a543fd5ea3d7c3c130098@hookshot-fe-92cdb05.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9a155d4959d5f24e3086d6560a2fb79c5411d7ac
      https://github.com/OpenSIPS/opensips/commit/9a155d4959d5f24e3086d6560a2fb79c5411d7ac
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    A lib/csv.c
    A lib/csv.h

  Log Message:
  -----------
  lib: Add basic CSV line parsing primitives


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

  Changed paths:
    A lib/url.c
    A lib/url.h

  Log Message:
  -----------
  lib: Add generic URL parsing support

Very re-usable (db/db.c, cachedb/cachedb_id.c, modules/freeswitch/fs_api.c,
MongoDB, etc.). Importing code can easily customize their URLs by
enforcing/relaxing: scheme part, user part, pass part, ports, database and
extra hosts.

This patch also adds a new URL extension: parameters!

Syntax: scheme://...?foo=bar,foo

Refer to lib/url.h for the full spec


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

  Changed paths:
    M ut.h

  Log Message:
  -----------
  util: Add str2short()


  Commit: 919e2e4da43f1c6b5ddfd90748bf8b718f89b4b2
      https://github.com/OpenSIPS/opensips/commit/919e2e4da43f1c6b5ddfd90748bf8b718f89b4b2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M lib/url.c

  Log Message:
  -----------
  lib/url: Improve logging and robustness


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

  Changed paths:
    M lib/url.h

  Log Message:
  -----------
  lib/url: Add some header documentation


Compare: https://github.com/OpenSIPS/opensips/compare/9a155d4959d5^...1dc14c7629fd

From liviu at opensips.org  Tue Nov 28 11:37:51 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 28 Nov 2017 08:37:51 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 81a830: lib/csv: Add some
	header docs
Message-ID: <5a1d90df2bc14_7be63fcdce649c3c555ce@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 81a830307bbd07aa5fa96581e69d5bb8c2f9ebbe
      https://github.com/OpenSIPS/opensips/commit/81a830307bbd07aa5fa96581e69d5bb8c2f9ebbe
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M lib/csv.h

  Log Message:
  -----------
  lib/csv: Add some header docs



From liviu at opensips.org  Tue Nov 28 11:45:50 2017
From: liviu at opensips.org (liviuchircu)
Date: Tue, 28 Nov 2017 08:45:50 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips]
Message-ID: <5a1d92be206fc_1d6223fb326d8fc341356e7@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/siptrace-reloaded
  Home:   https://github.com/OpenSIPS/opensips

From liviu at opensips.org  Tue Nov 28 13:48:22 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 28 Nov 2017 10:48:22 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2c1b8c: Code refactoring
Message-ID: <5a1daf76aa3fa_45603fabd06b9c28783ea@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2c1b8cc6d2fa2032afaa8e07447ad0e6c6a516ed
      https://github.com/OpenSIPS/opensips/commit/2c1b8cc6d2fa2032afaa8e07447ad0e6c6a516ed
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M lib/csv.c
    M lib/csv.h
    M lib/osips_malloc.h
    M lib/url.c
    M modules/tm/mi.c
    M str.h
    A str_list.h

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

    * expose tm's "struct str_list" as a core header
    * get rid of "struct csv_record", swap for "struct str_list"
    * refactor all code dependencies


  Commit: 32fc62bf249180a63ae2f184f8e66762bcc250b4
      https://github.com/OpenSIPS/opensips/commit/32fc62bf249180a63ae2f184f8e66762bcc250b4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    R lib/osips_malloc.c
    M lib/osips_malloc.h
    M str_list.h

  Log Message:
  -----------
  lib/osips_malloc: Inline all functions


Compare: https://github.com/OpenSIPS/opensips/compare/81a830307bbd...32fc62bf2491

From razvan at opensips.org  Wed Nov 29 09:11:07 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 29 Nov 2017 06:11:07 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 27de19: add interface name
	only if specified
Message-ID: <5a1ebffb21393_231f3fd638d55c3410119a@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 27de1916851ffc7d4208b5db119c0036170b1f56
      https://github.com/OpenSIPS/opensips/commit/27de1916851ffc7d4208b5db119c0036170b1f56
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-11-29 (Wed, 29 Nov 2017)

  Changed paths:
    M socket_info.c

  Log Message:
  -----------
  add interface name only if specified


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

  Changed paths:
    M net/trans.c

  Log Message:
  -----------
  net/trans: remove useless interface detection code


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

  Changed paths:
    M cfg.y

  Log Message:
  -----------
  add support for '*' keyword for listeners

Using this feature you can specify opensips it should listen for a
specific protocol on all interfaces. The syntax is:
```
listen = udp:*:5060
```


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

  Changed paths:
    M socket_info.c

  Log Message:
  -----------
  use getifaddrs API to fetch listening interfaces

Closes #976


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

  Changed paths:
    M socket_info.c

  Log Message:
  -----------
  remove useless family param to add_interfaces()


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

  Changed paths:
    M socket_info.c

  Log Message:
  -----------
  avoid using "flagged" ipv6 interfaces


Compare: https://github.com/OpenSIPS/opensips/compare/d1a4419df5fb...98921fb69ee7

From govoiper at gmail.com  Wed Nov 29 11:58:24 2017
From: govoiper at gmail.com (SamyGo)
Date: Wed, 29 Nov 2017 11:58:24 -0500
Subject: [OpenSIPS-Devel] OpenSIPS devel not starting
Message-ID: <CAJUJwtitjeQ5osPLjn3xLH9wTtafxLUwU3UnqXJQ8U9UPYGYMA@mail.gmail.com>

Hi,
I just installed the head version from git.

version: opensips 2.4.0-dev (x86_64/linux)
flags: STATS: On, SHM_EXTRA_STATS, EXTRA_DEBUG, DISABLE_NAGLE, USE_MCAST,
SHM_MMAP, PKG_MALLOC, QM_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
git revision: d1a4419
main.c compiled on 19:53:20 Nov 28 2017 with gcc 4.8

It was compiled with EXTRA_DEBUG and DBG_TCPCON flags;
While starting opensips with the residential vanilla script it gives
following error:

Nov 28 20:05:52 [30899] ERROR:core:tcp_init: oom con hist
Nov 28 20:05:52 [30899] CRITICAL:core:main: could not initialize tcp
Nov 28 20:05:52 [30899] INFO:core:cleanup: cleanup
Nov 28 20:05:52 [30899] DBG:core:shm_mem_destroy: destroying the shared
memory lock
Nov 28 20:05:52 [30899] NOTICE:core:main: Exiting....
 already running


Even if I remove the proto_tcp, and tcp related things from config file
this still gives error and doesn't start.

However, if I remove the compile flags then it works fine. Any reason why?

Regards,
Sammy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20171129/fd18ac85/attachment.html>

