From liviu at opensips.org  Mon Dec  4 11:21:53 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 04 Dec 2017 08:21:53 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7bcf03: mid_registrar: Fix a
 CSeq bug in mode == 1
Message-ID: <5a2576211e79f_6bc33fdda7117c449539e@hookshot-fe-92cdb05.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7bcf0323369587ae0f153de1f7a87c7f85aefd4d
      https://github.com/OpenSIPS/opensips/commit/7bcf0323369587ae0f153de1f7a87c7f85aefd4d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-04 (Mon, 04 Dec 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix a CSeq bug in mode == 1

Contact updates would not also update the last cseq value. This, in turn,
would lead to SIP-wise incorrect self-generated de-registrations.


  Commit: 67c31603e2215bca6211bcaaa4b0682d9325fa18
      https://github.com/OpenSIPS/opensips/commit/67c31603e2215bca6211bcaaa4b0682d9325fa18
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-04 (Mon, 04 Dec 2017)

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

  Log Message:
  -----------
  mid_registrar: Restore "default_expires" and "max_expires"

These registrar modparams were left unmaintained / ignored during development.
However, they are still valid and completely separate from
"outgoing_expires". The former two params control ingress expirations,
while the latter one controls egress expirations.

To match the newly introduced defaults, we also increase the default
"outgoing_expires" from 600s to 3600s.


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

  Changed paths:
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/mid_registrar_admin.xml

  Log Message:
  -----------
  mid_registrar: Update docs


Compare: https://github.com/OpenSIPS/opensips/compare/98921fb69ee7...fee1ccb72bc6

From razvan at opensips.org  Mon Dec  4 12:38:07 2017
From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=)
Date: Mon, 4 Dec 2017 19:38:07 +0200
Subject: [OpenSIPS-Devel] OpenSIPS @ ClueCon Weekly
Message-ID: <8f0119f9-1b06-f128-fbc3-95c50d0caa3c@opensips.org>

I am glad to announce you that Bogdan Iancu will be talking this week at 
the FreeSWTICH's ClueCon Weekly conference call[1]. If you want to find 
out the latest news about OpenSIPS, try to join this awesome conf call!
The event is scheduled for this Wednesday, 6th of December 2017, at 
12:00 Central Time[1]. The video call will also be streamed live on 
YouTube[2].

[1] https://www.facebook.com/events/127055664628500/
[2] https://www.youtube.com/watch?v=XtMh9rAtB8w&feature=youtu.be

See you on Wednesday!

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



From liviu at opensips.org  Tue Dec  5 06:55:58 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 05 Dec 2017 03:55:58 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 23ca1c: freeswitch: Refactor
	API
Message-ID: <5a26894ecc074_415a3fcb0479bc24901d@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 23ca1c14ad5c66733bc2ed70ab00867d5dd9098b
      https://github.com/OpenSIPS/opensips/commit/23ca1c14ad5c66733bc2ed70ab00867d5dd9098b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-05 (Tue, 05 Dec 2017)

  Changed paths:
    M modules/dispatcher/dispatch.c
    M modules/dispatcher/dispatcher.c
    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/load_balancer/lb_data.c
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  freeswitch: Refactor API

    * add generic FS event subscribe/unsubscribe function stubs
    * new modparam: "event_heartbeat_interval"
    * expose "event_heartbeat_interval" in API, use wherever needed
    * improve naming for stats-based socket API functions
    * remove the callback-based support for updating stats
      (this never worked anyway, ds/lb would always pull data)



From govoiper at gmail.com  Mon Dec  4 15:20:25 2017
From: govoiper at gmail.com (SamyGo)
Date: Mon, 4 Dec 2017 15:20:25 -0500
Subject: [OpenSIPS-Devel] Clusterer module and memory leak!
Message-ID: <CAJUJwthOmVEZ79TVwtPLdCJKOwd_tZ9A+RDbG2rMat1anQkZbA@mail.gmail.com>

Hi,

I'm experimenting with the clusterer module and in-config
cluster_send/receive requests. On my test servers I start seeing the
following errors.

ERROR:core:qm_malloc: not enough free pkg memory (784 bytes left, need
65536), please increase the "-M" command line parameter!
ERROR:core:bin_init: No more pkg memory!
ERROR:clusterer:prep_gen_msg: Failed to init bin send buffer
ERROR:clusterer:bcast_gen_msg: Failed to build generic clusterer message

My opensips process has params -m 256 and -M 64

version: opensips 2.4.0-dev (x86_64/linux)
flags: STATS: On, SHM_EXTRA_STATS, 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 20:42:11 Nov 28 2017 with gcc 4.8


No load on server, no registrations or calls except some scanners trying
the code and within couple of days the above errors shows up. There is some
memory leak.

Kindly help on understanding why this is happening.

Regards,
Sammy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20171204/ac878467/attachment.html>

From razvan at opensips.org  Tue Dec  5 10:54:43 2017
From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=)
Date: Tue, 5 Dec 2017 17:54:43 +0200
Subject: [OpenSIPS-Devel] OpenSIPS devel not starting
In-Reply-To: <CAJUJwtitjeQ5osPLjn3xLH9wTtafxLUwU3UnqXJQ8U9UPYGYMA@mail.gmail.com>
References: <CAJUJwtitjeQ5osPLjn3xLH9wTtafxLUwU3UnqXJQ8U9UPYGYMA@mail.gmail.com>
Message-ID: <435926a0-d972-75a2-52e2-552ab1ee7f9a@opensips.org>

Hi, Sammy!

It is clear from the logs you have sent that it is running out of memory 
- how much shared memory are you using?
When disabling the TCP, what error is it triggering?

Best regards,

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

On 11/29/2017 06:58 PM, SamyGo wrote:
> 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
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20171205/8c4e05ba/attachment-0001.html>

From liviu at opensips.org  Tue Dec  5 11:41:37 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 5 Dec 2017 18:41:37 +0200
Subject: [OpenSIPS-Devel] Clusterer module and memory leak!
In-Reply-To: <CAJUJwthOmVEZ79TVwtPLdCJKOwd_tZ9A+RDbG2rMat1anQkZbA@mail.gmail.com>
References: <CAJUJwthOmVEZ79TVwtPLdCJKOwd_tZ9A+RDbG2rMat1anQkZbA@mail.gmail.com>
Message-ID: <5ac0fd19-96bb-d9b7-1186-5d9dacea9ba4@opensips.org>

Hi Samy,

If you happen to have the code compiled with the "DBG_MALLOC" flag and 
catch your OpenSIPS in this state again:

* opensipsctl fifo log_level 14 <pid which went oom>
* kill -SIGUSR1 <pid which went oom>
* opensipsctl fifo log_level 3 <pid which went oom> (restore it to 
whatever it had before)

This should make that process dump its memory map in the logs, so we can 
tell where the leak is at.

Regards,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 04.12.2017 22:20, SamyGo wrote:
> Hi,
>
> I'm experimenting with the clusterer module and in-config 
> cluster_send/receive requests. On my test servers I start seeing the 
> following errors.
>
> ERROR:core:qm_malloc: not enough free pkg memory (784 bytes left, need 
> 65536), please increase the "-M" command line parameter!
> ERROR:core:bin_init: No more pkg memory!
> ERROR:clusterer:prep_gen_msg: Failed to init bin send buffer
> ERROR:clusterer:bcast_gen_msg: Failed to build generic clusterer message
>
> My opensips process has params -m 256 and -M 64
>
> version: opensips 2.4.0-dev (x86_64/linux)
> flags: STATS: On, SHM_EXTRA_STATS, 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 20:42:11 Nov 28 2017 with gcc 4.8
>
>
> No load on server, no registrations or calls except some scanners 
> trying the code and within couple of days the above errors shows up. 
> There is some memory leak.
>
> Kindly help on understanding why this is happening.
>
> Regards,
> Sammy
>
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

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

From liviu at opensips.org  Tue Dec  5 12:44:34 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 05 Dec 2017 09:44:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 750aeb: freeswitch: Extend API
 with sub/unsub functions
Message-ID: <5a26db02b9d64_1cf003f8be920dc30103941@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 750aeb275b9311837831a683f59823fbb6fd5f94
      https://github.com/OpenSIPS/opensips/commit/750aeb275b9311837831a683f59823fbb6fd5f94
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-05 (Tue, 05 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.h

  Log Message:
  -----------
  freeswitch: Extend API with sub/unsub functions

This makes the API more logical - easier to understand and use.


  Commit: e4b93478610e92d302d233c57922f6fda1744f86
      https://github.com/OpenSIPS/opensips/commit/e4b93478610e92d302d233c57922f6fda1744f86
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-05 (Tue, 05 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c

  Log Message:
  -----------
  freeswitch: Implement get_evs() / put_evs()


Compare: https://github.com/OpenSIPS/opensips/compare/23ca1c14ad5c...e4b93478610e

From razvan at opensips.org  Wed Dec  6 04:35:11 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 06 Dec 2017 01:35:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a13d6d: add support for '*'
	keyword for listeners
Message-ID: <5a27b9cf3bf6c_47ab2ae8db31bc1449281@hookshot-fe-6e9b612.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a13d6d76b2345f78cf5996082c06a2a9ba293bd3
      https://github.com/OpenSIPS/opensips/commit/a13d6d76b2345f78cf5996082c06a2a9ba293bd3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-06 (Wed, 06 Dec 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
```

(cherry picked from commit 4b39b578d430d49301a7d3fcf2f13d1bcc52a962)



From razvan at opensips.org  Wed Dec  6 04:42:12 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 06 Dec 2017 01:42:12 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0d62b1: add interface name
	only if specified
Message-ID: <5a27bb74f29ec_60ce2af75255fc0c83ed@hookshot-fe-88eb02d.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0d62b1296e0164987f4dd48ac64a767e268c7906
      https://github.com/OpenSIPS/opensips/commit/0d62b1296e0164987f4dd48ac64a767e268c7906
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-06 (Wed, 06 Dec 2017)

  Changed paths:
    M socket_info.c

  Log Message:
  -----------
  add interface name only if specified

(cherry picked from commit 27de1916851ffc7d4208b5db119c0036170b1f56)



From razvan at opensips.org  Wed Dec  6 04:42:16 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 06 Dec 2017 01:42:16 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 07feb8: add support for '*'
	keyword for listeners
Message-ID: <5a27bb78385cf_60942b2a1ed05c1441473@hookshot-fe-d2afb11.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 07feb81119eb7044e6e0c2cfd46f71c6ee42da03
      https://github.com/OpenSIPS/opensips/commit/07feb81119eb7044e6e0c2cfd46f71c6ee42da03
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-06 (Wed, 06 Dec 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
```

(cherry picked from commit 4b39b578d430d49301a7d3fcf2f13d1bcc52a962)


  Commit: 0271920abf2c38ebe44a33b0e8b41839ff2db75b
      https://github.com/OpenSIPS/opensips/commit/0271920abf2c38ebe44a33b0e8b41839ff2db75b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-06 (Wed, 06 Dec 2017)

  Changed paths:
    M socket_info.c

  Log Message:
  -----------
  add interface name only if specified

(cherry picked from commit 27de1916851ffc7d4208b5db119c0036170b1f56)


Compare: https://github.com/OpenSIPS/opensips/compare/5916511339e6...0271920abf2c

From razvan at opensips.org  Wed Dec  6 04:54:14 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 06 Dec 2017 01:54:14 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5291ae: choose non-loop
	default ipv6 interface
Message-ID: <5a27be466e117_6fa82b0e7c2c5c0866ed@hookshot-fe-8867ff3.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5291aef57e2116354c26ff49cafad1c7b1952229
      https://github.com/OpenSIPS/opensips/commit/5291aef57e2116354c26ff49cafad1c7b1952229
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-06 (Wed, 06 Dec 2017)

  Changed paths:
    M net/trans.c

  Log Message:
  -----------
  choose non-loop default ipv6 interface



From liviu at opensips.org  Thu Dec  7 04:48:25 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 07 Dec 2017 01:48:25 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ec0414: Fix unhandled compile
	flags combination
Message-ID: <5a290e69711fa_71352abbcacd7c005153e@hookshot-fe-8867ff3.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ec04149f2b9b0930f93c1c787170de3a53e5530a
      https://github.com/OpenSIPS/opensips/commit/ec04149f2b9b0930f93c1c787170de3a53e5530a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-07 (Thu, 07 Dec 2017)

  Changed paths:
    M net/net_tcp_dbg.h

  Log Message:
  -----------
  Fix unhandled compile flags combination

Defining DBG_TCPCON without DBG_STRUCT_HIST would lead to a broken
opensips binary, that always fails to start. We now throw a compilation
warning on such flag combinations and ensure the resulting binary
remains correct.

Reported by SamyGo



From liviu at opensips.org  Thu Dec  7 04:53:50 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 7 Dec 2017 11:53:50 +0200
Subject: [OpenSIPS-Devel] OpenSIPS devel not starting
In-Reply-To: <CAJUJwtitjeQ5osPLjn3xLH9wTtafxLUwU3UnqXJQ8U9UPYGYMA@mail.gmail.com>
References: <CAJUJwtitjeQ5osPLjn3xLH9wTtafxLUwU3UnqXJQ8U9UPYGYMA@mail.gmail.com>
Message-ID: <969bb3c2-a0df-9ec4-8bfa-0824bf469480@opensips.org>

Hi, Samy!

The problem is that you forgot to also define DBG_STRUCT_HIST, which 
resulted in a broken binary - I did not cover this compilation 
corner-case when I pushed the feature.

Just pushed a fix [1] for this on master. Defining DBG_TCPCON without 
DBG_STRUCT_HIST should have no impact on the resulting binary. You will, 
however, get some nice warnings all over your screen if you try this 
again :)

Thanks for the report!

Cheers,

[1]: https://github.com/OpenSIPS/opensips/commit/ec04149f2b9b09

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 29.11.2017 18:58, SamyGo wrote:
> 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
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

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

From bogdan at opensips.org  Thu Dec  7 07:41:39 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Thu, 7 Dec 2017 14:41:39 +0200
Subject: [OpenSIPS-Devel] OpenSIPS Summit 2018 - Call For Papers
Message-ID: <96a55bd9-97d6-b7df-181e-ae4185155f0d@opensips.org>

<http://www.opensips.org/events/Summit-2018Amsterdam>


    Call For Papers


  OpenSIPS Summit 2018

May 1-4, 2018

Amsterdam, The Netherlands


*The Call for Papers is now open!*

Submit your paper and share with us your experience, achievements or 
projects you had in VoIP & RTC area (with or without OpenSIPS) - be a 
speaker for our experts, developers and users from all over the world.

The OpenSIPS Summit 
<http://www.opensips.org/events/Summit-2018Amsterdam/> attracts a large 
spectrum of participants from areas as VoIP providers/carriers or telcos 
due to its broad format that covers talks, inspiring presentations, 
workshops and trainings. So we are looking for papers to cover a broad 
and various area of VoIP & RTC.

And our speaker will enjoy free admission to the event, covering lunches 
and evening events ;).

*How to Summit*

For the first time we are using the papercall.io portal to manage the 
collecting the papers. This will transform the submission process in 
something simple and friendly for our potential speakers. Find out the 
submission form here:
*https://www.papercall.io/opensips-summit-2018*

*Event Tickets*

Choose your preferred bundle as

  * pass type - conference, training or both
  * group - discounts do apply

*Register now 
<http://www.opensips.org/events/Summit-2018Amsterdam/#mu-register>* and 
secure your seat for the OpenSIPS Summit !


<https://www.google.com/maps/place/Radisson+Blu+Hotel,+Amsterdam/@52.3702502,4.8944856,17z/data=%213m1%214b1%214m5%213m4%211s0x47c609bf6cde2ad5:0x764aad4243f5348f%218m2%213d52.3702469%214d4.8966743?hl=en> 


*
*

*Radisson Blu**
**Rusland 17, 1012CK Amsterdam, The Netherlands*

Meet us again at our familiar Venue, with even more space and comfort 
than ever! This year the OpenSIPS Summit expands in size and will 
accommodate more participants and speakers.


**

Interested in becoming a sponsor too? Please contact 
<http://www.opensips.org/events/Summit-2018Amsterdam/#mu-contact> our 
team or email 
<mailto:summit at opensips.org?subject=Sponsoring%20OpenSIPS%20Summit> us!


-- 
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/20171207/06fd5b41/attachment.html>

From razvan at opensips.org  Thu Dec  7 09:08:32 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 07 Dec 2017 06:08:32 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 595c91: ut: fix *_strdup()
	functions
Message-ID: <5a294b60cec6c_613d2af6fba5dbfc9801@hookshot-fe-d2afb11.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 595c91590cbbb3eed3ba789d689281c7088f0ffe
      https://github.com/OpenSIPS/opensips/commit/595c91590cbbb3eed3ba789d689281c7088f0ffe
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-07 (Thu, 07 Dec 2017)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  ut: fix *_strdup() functions



From razvan at opensips.org  Thu Dec  7 09:08:50 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 07 Dec 2017 06:08:50 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 99acfd: ut: fix *_strdup()
	functions
Message-ID: <5a294b7259136_4a6a2afbbe6d5c1040313@hookshot-fe-6e9b612.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 99acfd150eefb43813e562784c17f79e770024af
      https://github.com/OpenSIPS/opensips/commit/99acfd150eefb43813e562784c17f79e770024af
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-07 (Thu, 07 Dec 2017)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  ut: fix *_strdup() functions

(cherry picked from commit 595c91590cbbb3eed3ba789d689281c7088f0ffe)



From razvan at opensips.org  Thu Dec  7 09:11:22 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 07 Dec 2017 06:11:22 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6affbe: Revert "ut: fix
	*_strdup() functions"
Message-ID: <5a294c0a9b563_941f2b0ee981fc0493134@hookshot-fe-dfcc362.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6affbec7ccdb53f57eb4478ea16d946b8008a93d
      https://github.com/OpenSIPS/opensips/commit/6affbec7ccdb53f57eb4478ea16d946b8008a93d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-07 (Thu, 07 Dec 2017)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  Revert "ut: fix *_strdup() functions"

This reverts commit 595c91590cbbb3eed3ba789d689281c7088f0ffe.



From razvan at opensips.org  Thu Dec  7 09:59:33 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 07 Dec 2017 06:59:33 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f0fcf3: ip.resolve: null
	terminate queried string
Message-ID: <5a29575547f43_4a6a2afbbe6d5c104099e@hookshot-fe-6e9b612.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f0fcf326ccd240b9b3de7d8e9f83aa82e8e12662
      https://github.com/OpenSIPS/opensips/commit/f0fcf326ccd240b9b3de7d8e9f83aa82e8e12662
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-07 (Thu, 07 Dec 2017)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  ip.resolve: null terminate queried string

Thanks go to Nick Altman for reporting this!



From razvan at opensips.org  Thu Dec  7 09:59:50 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 07 Dec 2017 06:59:50 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0082cf: Revert "ut: fix
	*_strdup() functions"
Message-ID: <5a2957666029_27902b06b58adc0c220bc@hookshot-fe-265448d.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0082cf93ab1e3e89dae64ea9011de718758d11a4
      https://github.com/OpenSIPS/opensips/commit/0082cf93ab1e3e89dae64ea9011de718758d11a4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-07 (Thu, 07 Dec 2017)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  Revert "ut: fix *_strdup() functions"

This reverts commit 99acfd150eefb43813e562784c17f79e770024af.


  Commit: 8da763af6b93bfdfb1fb39b178ef9f89f31469d0
      https://github.com/OpenSIPS/opensips/commit/8da763af6b93bfdfb1fb39b178ef9f89f31469d0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-07 (Thu, 07 Dec 2017)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  ip.resolve: null terminate queried string

Thanks go to Nick Altman for reporting this!

(cherry picked from commit f0fcf326ccd240b9b3de7d8e9f83aa82e8e12662)


Compare: https://github.com/OpenSIPS/opensips/compare/99acfd150eef...8da763af6b93

From razvan at opensips.org  Thu Dec  7 10:00:00 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 07 Dec 2017 07:00:00 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 377df6: ip.resolve: null
	terminate queried string
Message-ID: <5a29577056ff3_48432aeda2b07c18391c2@hookshot-fe-6e9b612.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 377df6af78e2905ef86e8ccc3d55f4a1e2b63204
      https://github.com/OpenSIPS/opensips/commit/377df6af78e2905ef86e8ccc3d55f4a1e2b63204
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-07 (Thu, 07 Dec 2017)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  ip.resolve: null terminate queried string

Thanks go to Nick Altman for reporting this!

(cherry picked from commit f0fcf326ccd240b9b3de7d8e9f83aa82e8e12662)



From razvan at opensips.org  Fri Dec  8 09:25:40 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Fri, 08 Dec 2017 06:25:40 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5ae5da: rtpproxy/rtpengine:
 handle error while draining
Message-ID: <5a2aa0e4e27cc_2a922ac088fc5c101048a9@hookshot-fe-265448d.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5ae5daecbd13b3ec0565a68bc93c45a61b740546
      https://github.com/OpenSIPS/opensips/commit/5ae5daecbd13b3ec0565a68bc93c45a61b740546
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-08 (Fri, 08 Dec 2017)

  Changed paths:
    M modules/rtpengine/rtpengine.c
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy/rtpengine: handle error while draining



From razvan at opensips.org  Fri Dec  8 09:28:58 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Fri, 08 Dec 2017 06:28:58 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b24672: rtpproxy/rtpengine:
 handle error while draining
Message-ID: <5a2aa1aa20275_62812ad280149c181068b5@hookshot-fe-b0febf1.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b24672a4f5af6ef81aba13958e067de0b1987fc4
      https://github.com/OpenSIPS/opensips/commit/b24672a4f5af6ef81aba13958e067de0b1987fc4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-08 (Fri, 08 Dec 2017)

  Changed paths:
    M modules/rtpengine/rtpengine.c
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy/rtpengine: handle error while draining

(cherry picked from commit 5ae5daecbd13b3ec0565a68bc93c45a61b740546)



From liviu at opensips.org  Fri Dec  8 11:30:59 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Fri, 08 Dec 2017 08:30:59 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 69142e: ipc: Improve and
	document the API
Message-ID: <5a2abe4393433_611d2ac84b391c08728af@hookshot-fe-88eb02d.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 69142efd59f7496b487613e0590ad662b0b9d36e
      https://github.com/OpenSIPS/opensips/commit/69142efd59f7496b487613e0590ad662b0b9d36e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-06 (Wed, 06 Dec 2017)

  Changed paths:
    M ipc.c
    M ipc.h
    M modules/event_routing/event_routing.c
    M net/net_tcp_report.c

  Log Message:
  -----------
  ipc: Improve and document the API


  Commit: 913fd5ca0868eb726046068a589a523c7b946593
      https://github.com/OpenSIPS/opensips/commit/913fd5ca0868eb726046068a589a523c7b946593
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-08 (Fri, 08 Dec 2017)

  Changed paths:
    M reactor.h

  Log Message:
  -----------
  reactor.h: Improve variable naming

Easier to figure out the time measuring unit


  Commit: e61427d0e0ffb0c144dd69e3cc147e97d0ef64b1
      https://github.com/OpenSIPS/opensips/commit/e61427d0e0ffb0c144dd69e3cc147e97d0ef64b1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-08 (Fri, 08 Dec 2017)

  Changed paths:
    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/freeswitch/fs_proc.h
    M reactor_defs.h

  Log Message:
  -----------
  freeswitch: Extend API / further implement logic

    * implement evs_sub() / evs_unsub()
    * extend API with fs_cli() function
    * new modparam: "esl_connect_timeout"

Major refactoring of data structs and extra proc flow to support
the above.


Compare: https://github.com/OpenSIPS/opensips/compare/e4b93478610e...e61427d0e0ff

From liviu at opensips.org  Fri Dec  8 13:24:09 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Fri, 08 Dec 2017 10:24:09 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ecd778: ipc: Add job
	dispatching support
Message-ID: <5a2ad8c9518d6_6c8c2b121e123bfc1160d2@hookshot-fe-b0febf1.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ecd7789e1dcc0db1789493cb4955121fe3460ee3
      https://github.com/OpenSIPS/opensips/commit/ecd7789e1dcc0db1789493cb4955121fe3460ee3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-08 (Fri, 08 Dec 2017)

  Changed paths:
    M ipc.c
    M ipc.h
    M main.c
    M modules/event_routing/event_routing.c
    M net/net_tcp_proc.c
    M net/net_tcp_report.c
    M net/net_udp.c
    M timer.c

  Log Message:
  -----------
  ipc: Add job dispatching support

This patch adds support to dispatch a job to a currently available
TCP, UDP or timer OpenSIPS worker.

We also revert the incorrect function refactoring done in commit 69142efd59f.



From liviu at opensips.org  Mon Dec 11 06:32:05 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 11 Dec 2017 03:32:05 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b9f053: ipc: Do not dispatch
 jobs to extra timer processes
Message-ID: <5a2e6cb5c47a0_35652aad1d6c1c146695f@hookshot-fe-cace476.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b9f053147bd51e963b174159a62fd563710047c7
      https://github.com/OpenSIPS/opensips/commit/b9f053147bd51e963b174159a62fd563710047c7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-11 (Mon, 11 Dec 2017)

  Changed paths:
    M timer.c

  Log Message:
  -----------
  ipc: Do not dispatch jobs to extra timer processes



From liviu at opensips.org  Mon Dec 11 10:09:29 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 11 Dec 2017 07:09:29 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ebe9b8: Add a new
	"freeswitch_scripting" module
Message-ID: <5a2e9fa9b5cdf_1c7e2acdfa637c0075458@hookshot-fe-cace476.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ebe9b8789dacf5fd994559d9d5d6f481a4fcc33a
      https://github.com/OpenSIPS/opensips/commit/ebe9b8789dacf5fd994559d9d5d6f481a4fcc33a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-11 (Mon, 11 Dec 2017)

  Changed paths:
    M modules/freeswitch/Makefile
    M modules/freeswitch/fs_api.h
    A modules/freeswitch/fs_ipc.c
    A modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_mod.c
    M modules/freeswitch/fs_proc.c
    A modules/freeswitch_scripting/Makefile
    A modules/freeswitch_scripting/fss_api.c
    A modules/freeswitch_scripting/fss_api.h
    A modules/freeswitch_scripting/fss_evs.c
    A modules/freeswitch_scripting/fss_evs.h
    A modules/freeswitch_scripting/fss_ipc.c
    A modules/freeswitch_scripting/fss_ipc.h
    A modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  Add a new "freeswitch_scripting" module

With a basic structure:

    * MI function stubs
    * script function stubs
    * (hope)fully implemented IPC interaction with "freeswitch"

Patch includes some "freeswitch" refactoring to get everything working.



From liviu at opensips.org  Mon Dec 11 12:09:39 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 11 Dec 2017 09:09:39 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dbc26a: str_list: Add a doubly
 linked string list structur...
Message-ID: <5a2ebbd37bd47_62e12ab98881dc08945a6@hookshot-fe-88eb02d.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dbc26a2f3e092ec1febc3eddd3e47c16ed39f8fd
      https://github.com/OpenSIPS/opensips/commit/dbc26a2f3e092ec1febc3eddd3e47c16ed39f8fd
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-11 (Mon, 11 Dec 2017)

  Changed paths:
    M str_list.h

  Log Message:
  -----------
  str_list: Add a doubly linked string list structure



From liviu at opensips.org  Mon Dec 11 12:11:47 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 11 Dec 2017 09:11:47 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9bb533: freeswitch_scripting:
 Implement modparam subscript...
Message-ID: <5a2ebc53d06b3_63772adee953fc081008fb@hookshot-fe-88eb02d.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9bb5331fee029d389ba8103095ba2b1ff92b9662
      https://github.com/OpenSIPS/opensips/commit/9bb5331fee029d389ba8103095ba2b1ff92b9662
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-11 (Mon, 11 Dec 2017)

  Changed paths:
    M lib/url.h
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_proc.c
    M modules/freeswitch_scripting/fss_evs.c
    M modules/freeswitch_scripting/fss_evs.h
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Implement modparam subscriptions

Also remove the "func" concept from the FS subscription API. It is no
longer needed, as the IPC communication between the two modules takes
care of providing this handler.



From liviu at opensips.org  Tue Dec 12 05:38:00 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 12 Dec 2017 02:38:00 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f81572: str.h: Add some handy
 zero-string test macros
Message-ID: <5a2fb188d917d_69a42b09e2f73c1412412c@hookshot-fe-31feec6.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f8157269489c746901089945927ee5ddb1557b6d
      https://github.com/OpenSIPS/opensips/commit/f8157269489c746901089945927ee5ddb1557b6d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-12 (Tue, 12 Dec 2017)

  Changed paths:
    M str.h

  Log Message:
  -----------
  str.h: Add some handy zero-string test macros



From liviu at opensips.org  Tue Dec 12 05:41:53 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 12 Dec 2017 02:41:53 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a5b47f: freeswitch_scripting:
 Implement the fs_cli() scrip...
Message-ID: <5a2fb271b4e8e_67e62ac85194dc041182a8@hookshot-fe-31feec6.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a5b47fe68b4c26e82067e4772e5ea241c63a03e7
      https://github.com/OpenSIPS/opensips/commit/a5b47fe68b4c26e82067e4772e5ea241c63a03e7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-12 (Tue, 12 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Implement the fs_cli() script function


  Commit: 022b66f3f66e11a6259ab4d050ffdf84c112fea9
      https://github.com/OpenSIPS/opensips/commit/022b66f3f66e11a6259ab4d050ffdf84c112fea9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-12 (Tue, 12 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c

  Log Message:
  -----------
  freeswitch: Fix socket updating logic


  Commit: 521d9e1b0147157417c96c1d5c934e80e3e59e8f
      https://github.com/OpenSIPS/opensips/commit/521d9e1b0147157417c96c1d5c934e80e3e59e8f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-12 (Tue, 12 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_proc.c

  Log Message:
  -----------
  freeswitch: Improve logging


Compare: https://github.com/OpenSIPS/opensips/compare/f8157269489c...521d9e1b0147

From razvan at opensips.org  Tue Dec 12 10:36:58 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 12 Dec 2017 07:36:58 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 57ae84: modules/json: Properly
 detect json-c version and a...
Message-ID: <5a2ff79a51757_70f42ad33cd3fc1880958@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 57ae84b2d8b2e0af1a66d529e4e94b21f3df319d
      https://github.com/OpenSIPS/opensips/commit/57ae84b2d8b2e0af1a66d529e4e94b21f3df319d
  Author: Björn Esser <besser82 at fedoraproject.org>
  Date:   2017-12-12 (Tue, 12 Dec 2017)

  Changed paths:
    M modules/json/Makefile
    M modules/json/array_del.c
    M modules/json/json.c
    A modules/json/opensips_json_c_helper.h

  Log Message:
  -----------
  modules/json: Properly detect json-c version and adaptions for v0.13


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

  Changed paths:
    M modules/json/Makefile
    M modules/json/array_del.c
    M modules/json/json.c
    M modules/json/opensips_json_c_helper.h

  Log Message:
  -----------
  json: rename some variables and change C99 comment


  Commit: 250d311681af9b1d10483e4a0da4c3dbf8c838de
      https://github.com/OpenSIPS/opensips/commit/250d311681af9b1d10483e4a0da4c3dbf8c838de
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-12 (Tue, 12 Dec 2017)

  Changed paths:
    M modules/json/Makefile
    M modules/json/array_del.c
    M modules/json/json.c
    A modules/json/opensips_json_c_helper.h

  Log Message:
  -----------
  Merge branch 'besser82-enhancement/json-c_013'


Compare: https://github.com/OpenSIPS/opensips/compare/5ae5daecbd13...250d311681af

From bogdan at opensips.org  Tue Dec 12 12:56:03 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 12 Dec 2017 09:56:03 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 87025c: Fix ambuguity in cache
	DB URL parser.
Message-ID: <5a3018337afc3_91632ad210bf3c101115f1@hookshot-fe-dfcc362.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 87025cc925f5eadc87c9ee757326d6b5b9f5df87
      https://github.com/OpenSIPS/opensips/commit/87025cc925f5eadc87c9ee757326d6b5b9f5df87
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-12 (Tue, 12 Dec 2017)

  Changed paths:
    M cachedb/cachedb_id.c

  Log Message:
  -----------
  Fix ambuguity in cache DB URL parser.

Do not accept URLs like schema:group//.. ; Correct format is schema:group://.. or schema://..


  Commit: ca96dd653c520cee044f72d1ac39970e830f19ba
      https://github.com/OpenSIPS/opensips/commit/ca96dd653c520cee044f72d1ac39970e830f19ba
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-12 (Tue, 12 Dec 2017)

  Changed paths:
    M modules/cachedb_local/README
    M modules/cachedb_local/doc/cachedb_local_admin.xml

  Log Message:
  -----------
  Fix README file

local:group2///collection2 Cache DB URL is broken in example.


Compare: https://github.com/OpenSIPS/opensips/compare/b24672a4f5af...ca96dd653c52

From bogdan at opensips.org  Tue Dec 12 13:03:54 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 12 Dec 2017 10:03:54 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a968d1: Fix ambuguity in cache
	DB URL parser.
Message-ID: <5a301a0a3702c_57bd2ac2cc7e9c081293e1@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a968d16a2a8d7f4882fb575915b13686cc8fa16c
      https://github.com/OpenSIPS/opensips/commit/a968d16a2a8d7f4882fb575915b13686cc8fa16c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-12 (Tue, 12 Dec 2017)

  Changed paths:
    M cachedb/cachedb_id.c

  Log Message:
  -----------
  Fix ambuguity in cache DB URL parser.

Do not accept URLs like schema:group//.. ; Correct format is schema:group://.. or schema://..

(cherry picked from commit 87025cc925f5eadc87c9ee757326d6b5b9f5df87)



From bogdan at opensips.org  Tue Dec 12 13:04:18 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 12 Dec 2017 10:04:18 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 69e514: Fix ambuguity in cache
	DB URL parser.
Message-ID: <5a301a22894ed_39c22af93d069c108152d@hookshot-fe-cace476.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 69e514bfacfb7df49f819d6e5b80e6de0c86e974
      https://github.com/OpenSIPS/opensips/commit/69e514bfacfb7df49f819d6e5b80e6de0c86e974
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-12 (Tue, 12 Dec 2017)

  Changed paths:
    M cachedb/cachedb_id.c

  Log Message:
  -----------
  Fix ambuguity in cache DB URL parser.

Do not accept URLs like schema:group//.. ; Correct format is schema:group://.. or schema://..

(cherry picked from commit 87025cc925f5eadc87c9ee757326d6b5b9f5df87)


  Commit: 1906423bc5973dbc1b593cd016da9e7b6f4ec22d
      https://github.com/OpenSIPS/opensips/commit/1906423bc5973dbc1b593cd016da9e7b6f4ec22d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-12 (Tue, 12 Dec 2017)

  Changed paths:
    M modules/cachedb_local/README
    M modules/cachedb_local/doc/cachedb_local_admin.xml

  Log Message:
  -----------
  Fix README file

local:group2///collection2 Cache DB URL is broken in example.
(cherry picked from commit ca96dd653c520cee044f72d1ac39970e830f19ba)


Compare: https://github.com/OpenSIPS/opensips/compare/250d311681af...1906423bc597

From razvan at opensips.org  Wed Dec 13 03:22:44 2017
From: razvan at opensips.org (=?UTF-8?B?UsSDenZhbg==?= Crainea)
Date: Wed, 13 Dec 2017 00:22:44 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5220f6: modules/json: Improve
	readability
Message-ID: <5a30e354f0cb3_5ae92aadf3881c08837bd@hookshot-fe-6e9b612.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5220f6ae29574f42a95d43f37b0cc1df8b9b203a
      https://github.com/OpenSIPS/opensips/commit/5220f6ae29574f42a95d43f37b0cc1df8b9b203a
  Author: Björn Esser <besser82 at fedoraproject.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M modules/json/array_del.c
    M modules/json/json.c
    M modules/json/opensips_json_c_helper.h

  Log Message:
  -----------
  modules/json: Improve readability


  Commit: 4a511e459298184509f3d9a3b1bc21ace34a4ab6
      https://github.com/OpenSIPS/opensips/commit/4a511e459298184509f3d9a3b1bc21ace34a4ab6
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M modules/json/array_del.c
    M modules/json/json.c
    M modules/json/opensips_json_c_helper.h

  Log Message:
  -----------
  Merge pull request #1231 from besser82/enhancement/json_array_del

modules/json: Improve readability


Compare: https://github.com/OpenSIPS/opensips/compare/1906423bc597...4a511e459298

From razvan at opensips.org  Wed Dec 13 03:35:52 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 13 Dec 2017 00:35:52 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3e71fd: json: merge json
 detection into a common dir
Message-ID: <5a30e6689bd05_1c7e2acdfa637c009024d@hookshot-fe-cace476.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3e71fd6f709e363144b9db7805686bb952179e29
      https://github.com/OpenSIPS/opensips/commit/3e71fd6f709e363144b9db7805686bb952179e29
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M Makefile
    A lib/json/Makefile.json
    A lib/json/opensips_json_c_helper.h
    M modules/cgrates/Makefile
    M modules/cgrates/cgrates_common.c
    M modules/cgrates/cgrates_common.h
    M modules/json/Makefile
    M modules/json/array_del.c
    M modules/json/json.c
    R modules/json/opensips_json_c_helper.h

  Log Message:
  -----------
  json: merge json detection into a common dir

re-arrange code to be able to merge json(-c) library detection into a
single common directory



From razvan at opensips.org  Wed Dec 13 04:17:50 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 13 Dec 2017 01:17:50 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9f89de: mongodb: use json
	common detection
Message-ID: <5a30f03e2a506_acd2b00fb3f7c0434453@hookshot-fe-b0febf1.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9f89deb6ddabd6829ac9d1db089e4472340c3fad
      https://github.com/OpenSIPS/opensips/commit/9f89deb6ddabd6829ac9d1db089e4472340c3fad
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M modules/cachedb_mongodb/Makefile
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.h

  Log Message:
  -----------
  mongodb: use json common detection



From razvan at opensips.org  Wed Dec 13 04:29:53 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 13 Dec 2017 01:29:53 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e37be3: clang: fix blacklist
 bitwise check warnings
Message-ID: <5a30f31122b56_65c82b08808edc04145266@hookshot-fe-7191cb1.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e37be3ab2f8c985c2e59323f8dfcc22153695e51
      https://github.com/OpenSIPS/opensips/commit/e37be3ab2f8c985c2e59323f8dfcc22153695e51
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M blacklists.c

  Log Message:
  -----------
  clang: fix blacklist bitwise check warnings



From razvan at opensips.org  Wed Dec 13 04:36:08 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 13 Dec 2017 01:36:08 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f6ceb3: clang: fix blacklist
 bitwise check warnings
Message-ID: <5a30f488df76d_660b2af6efd4bc1c1174a9@hookshot-fe-b0febf1.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f6ceb3ea9915ae70533f4e717a4ff9e44e6dd691
      https://github.com/OpenSIPS/opensips/commit/f6ceb3ea9915ae70533f4e717a4ff9e44e6dd691
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M blacklists.c

  Log Message:
  -----------
  clang: fix blacklist bitwise check warnings

(cherry picked from commit e37be3ab2f8c985c2e59323f8dfcc22153695e51)



From razvan at opensips.org  Wed Dec 13 04:36:25 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 13 Dec 2017 01:36:25 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 715cd6: clang: fix blacklist
 bitwise check warnings
Message-ID: <5a30f4991a454_17472aeccd077c10642e1@hookshot-fe-32b5f5b.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 715cd66b91da7964cf0c83def01b1d8a4ef4fea4
      https://github.com/OpenSIPS/opensips/commit/715cd66b91da7964cf0c83def01b1d8a4ef4fea4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M blacklists.c

  Log Message:
  -----------
  clang: fix blacklist bitwise check warnings

(cherry picked from commit e37be3ab2f8c985c2e59323f8dfcc22153695e51)



From razvan at opensips.org  Wed Dec 13 05:26:45 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 13 Dec 2017 02:26:45 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3596ef: disable EPOLLEXCLUSIVE
 due to bogus behavior
Message-ID: <5a3100653276c_64112ac9a21e7bfc66897@hookshot-fe-88eb02d.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3596efdc004b1ab9241cb6e235477cb4c7e11eff
      https://github.com/OpenSIPS/opensips/commit/3596efdc004b1ab9241cb6e235477cb4c7e11eff
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M io_wait.h

  Log Message:
  -----------
  disable EPOLLEXCLUSIVE due to bogus behavior



From razvan at opensips.org  Wed Dec 13 05:27:08 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 13 Dec 2017 02:27:08 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 437120: disable EPOLLEXCLUSIVE
 due to bogus behavior
Message-ID: <5a31007c6c9_6e712b228fb23c0c96795@hookshot-fe-31feec6.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4371208a6c25c27a3571e837262efa6252d6cb15
      https://github.com/OpenSIPS/opensips/commit/4371208a6c25c27a3571e837262efa6252d6cb15
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M io_wait.h

  Log Message:
  -----------
  disable EPOLLEXCLUSIVE due to bogus behavior

(cherry picked from commit 3596efdc004b1ab9241cb6e235477cb4c7e11eff)



From razvan at opensips.org  Wed Dec 13 06:14:03 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 13 Dec 2017 03:14:03 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 49bb70: dialog: fix error typo
Message-ID: <5a310b7b317e9_1ef82ae438c6bc1c1113d@hookshot-fe-32b5f5b.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 49bb70dd1a018efe04e9640778bb295f8ad2665c
      https://github.com/OpenSIPS/opensips/commit/49bb70dd1a018efe04e9640778bb295f8ad2665c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  dialog: fix error typo



From razvan at opensips.org  Wed Dec 13 06:14:15 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 13 Dec 2017 03:14:15 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2ae87c: dialog: fix error typo
Message-ID: <5a310b879cc5b_62242b12299e1c0c130911@hookshot-fe-b0febf1.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2ae87c64465859e868f6f63ce4d20402830a9fe4
      https://github.com/OpenSIPS/opensips/commit/2ae87c64465859e868f6f63ce4d20402830a9fe4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  dialog: fix error typo

(cherry picked from commit 49bb70dd1a018efe04e9640778bb295f8ad2665c)



From razvan at opensips.org  Wed Dec 13 06:14:25 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 13 Dec 2017 03:14:25 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e9ddcc: dialog: fix error typo
Message-ID: <5a310b91baf64_45f32ae116dfbc00120538@hookshot-fe-6e9b612.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e9ddcc5a71b0a877021ac0df222ed1713c113d73
      https://github.com/OpenSIPS/opensips/commit/e9ddcc5a71b0a877021ac0df222ed1713c113d73
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  dialog: fix error typo

(cherry picked from commit 49bb70dd1a018efe04e9640778bb295f8ad2665c)



From liviu at opensips.org  Wed Dec 13 12:11:52 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 13 Dec 2017 09:11:52 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d21767: Improve LM_BUG() macro
Message-ID: <5a315f5830612_46df2b13dc7b9c04140914@hookshot-fe-6e9b612.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d21767e640130075e13a169c28e18efc84e35396
      https://github.com/OpenSIPS/opensips/commit/d21767e640130075e13a169c28e18efc84e35396
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M action.c
    M dprint.h
    M msg_translator.c

  Log Message:
  -----------
  Improve LM_BUG() macro

This allows syntax such as:

if (foo)
    LM_BUG("");
else
    bar;

We also drop the deprecated report_programming_bug() macro.



From liviu at opensips.org  Wed Dec 13 12:24:00 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 13 Dec 2017 09:24:00 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3a2489: freeswitch: Implement
 the fs_esl() API command
Message-ID: <5a316230193c0_54c42ab6e61d9bfc1177f8@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3a24892f8f84a4e8c62e185151fa82f23f64fc8b
      https://github.com/OpenSIPS/opensips/commit/3a24892f8f84a4e8c62e185151fa82f23f64fc8b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_ipc.c
    M modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_mod.c
    M modules/freeswitch/fs_proc.c

  Log Message:
  -----------
  freeswitch: Implement the fs_esl() API command

This API call allows execution of an arbitrary FreeSWITCH ESL command on
an arbitrary FS interface. It has the following flow:
    1. script worker
	- calls freeswitch_esl(), hence api->fs_esl()
	- fires an IPC job to the FS connection manager
	- busy-waits for an SHM response (with sleep())

    2. FS connection manager
	- receives the IPC job, runs the ESL command
	- places the reponse in SHM for the worker to find

    3. script worker
	- finds the corresponding response, stores it in the output
	  pvar (if provided) and resumes the OpenSIPS script



From liviu at opensips.org  Wed Dec 13 12:24:40 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 13 Dec 2017 09:24:40 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e47ac1: freeswitch_scripting:
 Rename fs_cli() to freeswitc...
Message-ID: <5a3162584cfa2_707d2b26494a7c0894355@hookshot-fe-d252ca1.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e47ac15610c2c9e349e97be36707715901db94f1
      https://github.com/OpenSIPS/opensips/commit/e47ac15610c2c9e349e97be36707715901db94f1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_ipc.c
    M modules/freeswitch_scripting/fss_ipc.h
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Rename fs_cli() to freeswitch_esl()

Also adapt to the new interface / IPC changes.



From liviu at opensips.org  Thu Dec 14 05:40:59 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 14 Dec 2017 02:40:59 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b67ae4: lib: Add basic CSV
 line parsing primitives
Message-ID: <5a32553bed796_396a2b13491c1c044375d@hookshot-fe-b0febf1.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b67ae459f41be008714abafc81a218a2a0c724a0
      https://github.com/OpenSIPS/opensips/commit/b67ae459f41be008714abafc81a218a2a0c724a0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    A lib/csv.c
    A lib/csv.h

  Log Message:
  -----------
  lib: Add basic CSV line parsing primitives


  Commit: a1f968c41c6e59ee8c68cea07cd44a87c81ed4e1
      https://github.com/OpenSIPS/opensips/commit/a1f968c41c6e59ee8c68cea07cd44a87c81ed4e1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 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: 078199c3d025b2a6f1895295f12e36b187284680
      https://github.com/OpenSIPS/opensips/commit/078199c3d025b2a6f1895295f12e36b187284680
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  util: Add str2short()


  Commit: 7355324bd5bde7a49432d3b3004dad45cf6c2169
      https://github.com/OpenSIPS/opensips/commit/7355324bd5bde7a49432d3b3004dad45cf6c2169
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M lib/url.c

  Log Message:
  -----------
  lib/url: Improve logging and robustness


  Commit: a9ec3fcc8e3c1f81a0637fb87868c897cbe766d4
      https://github.com/OpenSIPS/opensips/commit/a9ec3fcc8e3c1f81a0637fb87868c897cbe766d4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M lib/url.h

  Log Message:
  -----------
  lib/url: Add some header documentation


  Commit: acd3f8d99aafada13bb02eed5ae6cf46d83e8743
      https://github.com/OpenSIPS/opensips/commit/acd3f8d99aafada13bb02eed5ae6cf46d83e8743
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M lib/csv.h

  Log Message:
  -----------
  lib/csv: Add some header docs


  Commit: d7b742cd3756a8e7ebddfb6938f698295ac1990a
      https://github.com/OpenSIPS/opensips/commit/d7b742cd3756a8e7ebddfb6938f698295ac1990a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 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: a96b2a3f68922d0ae395e2c1919aeef3903c0358
      https://github.com/OpenSIPS/opensips/commit/a96b2a3f68922d0ae395e2c1919aeef3903c0358
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 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


  Commit: 2e60c4c3d2c8dd5da187fe26a7c12d1854d7334a
      https://github.com/OpenSIPS/opensips/commit/2e60c4c3d2c8dd5da187fe26a7c12d1854d7334a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M modules/dispatcher/dispatch.c
    M modules/dispatcher/dispatcher.c
    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/load_balancer/lb_data.c
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  freeswitch: Refactor API

    * add generic FS event subscribe/unsubscribe function stubs
    * new modparam: "event_heartbeat_interval"
    * expose "event_heartbeat_interval" in API, use wherever needed
    * improve naming for stats-based socket API functions
    * remove the callback-based support for updating stats
      (this never worked anyway, ds/lb would always pull data)


  Commit: 43f76cc2585be0014a099944828e3e2c7a20c4f3
      https://github.com/OpenSIPS/opensips/commit/43f76cc2585be0014a099944828e3e2c7a20c4f3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.h

  Log Message:
  -----------
  freeswitch: Extend API with sub/unsub functions

This makes the API more logical - easier to understand and use.


  Commit: c035747dbb2c21ae3c3141de358a9d583cf91577
      https://github.com/OpenSIPS/opensips/commit/c035747dbb2c21ae3c3141de358a9d583cf91577
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c

  Log Message:
  -----------
  freeswitch: Implement get_evs() / put_evs()


  Commit: e25a81d5d1160cccc9d249d79e28d4715d23453e
      https://github.com/OpenSIPS/opensips/commit/e25a81d5d1160cccc9d249d79e28d4715d23453e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M ipc.c
    M ipc.h
    M modules/event_routing/event_routing.c
    M net/net_tcp_report.c

  Log Message:
  -----------
  ipc: Improve and document the API


  Commit: 298b1deaa2d0a1d08a203a79f151e346c8dd6638
      https://github.com/OpenSIPS/opensips/commit/298b1deaa2d0a1d08a203a79f151e346c8dd6638
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M reactor.h

  Log Message:
  -----------
  reactor.h: Improve variable naming

Easier to figure out the time measuring unit


  Commit: 9b333e3de696254afc1415ed48a96028b8117f47
      https://github.com/OpenSIPS/opensips/commit/9b333e3de696254afc1415ed48a96028b8117f47
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    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/freeswitch/fs_proc.h
    M reactor_defs.h

  Log Message:
  -----------
  freeswitch: Extend API / further implement logic

    * implement evs_sub() / evs_unsub()
    * extend API with fs_cli() function
    * new modparam: "esl_connect_timeout"

Major refactoring of data structs and extra proc flow to support
the above.


  Commit: c8b3e136884401ad71f6197eb963b7001222aafc
      https://github.com/OpenSIPS/opensips/commit/c8b3e136884401ad71f6197eb963b7001222aafc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M ipc.c
    M ipc.h
    M main.c
    M modules/event_routing/event_routing.c
    M net/net_tcp_proc.c
    M net/net_tcp_report.c
    M net/net_udp.c
    M timer.c

  Log Message:
  -----------
  ipc: Add job dispatching support

This patch adds support to dispatch a job to a currently available
TCP, UDP or timer OpenSIPS worker.

We also revert the incorrect function refactoring done in commit 69142efd59f.


  Commit: 644fb2e081e2a54127dc363ca20be6460c778d5b
      https://github.com/OpenSIPS/opensips/commit/644fb2e081e2a54127dc363ca20be6460c778d5b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M timer.c

  Log Message:
  -----------
  ipc: Do not dispatch jobs to extra timer processes


  Commit: 3c56ddb5eb1bc3e8721cf358b8288753c7230555
      https://github.com/OpenSIPS/opensips/commit/3c56ddb5eb1bc3e8721cf358b8288753c7230555
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M modules/freeswitch/Makefile
    M modules/freeswitch/fs_api.h
    A modules/freeswitch/fs_ipc.c
    A modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_mod.c
    M modules/freeswitch/fs_proc.c
    A modules/freeswitch_scripting/Makefile
    A modules/freeswitch_scripting/fss_api.c
    A modules/freeswitch_scripting/fss_api.h
    A modules/freeswitch_scripting/fss_evs.c
    A modules/freeswitch_scripting/fss_evs.h
    A modules/freeswitch_scripting/fss_ipc.c
    A modules/freeswitch_scripting/fss_ipc.h
    A modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  Add a new "freeswitch_scripting" module

With a basic structure:

    * MI function stubs
    * script function stubs
    * (hope)fully implemented IPC interaction with "freeswitch"

Patch includes some "freeswitch" refactoring to get everything working.


  Commit: 5ce28ccad2ca03fd8d17d1cf4947ec080673444a
      https://github.com/OpenSIPS/opensips/commit/5ce28ccad2ca03fd8d17d1cf4947ec080673444a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M str_list.h

  Log Message:
  -----------
  str_list: Add a doubly linked string list structure


  Commit: 346e0bd5bbc254ae4f82f2c9e263c598332c09c2
      https://github.com/OpenSIPS/opensips/commit/346e0bd5bbc254ae4f82f2c9e263c598332c09c2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M lib/url.h
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_proc.c
    M modules/freeswitch_scripting/fss_evs.c
    M modules/freeswitch_scripting/fss_evs.h
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Implement modparam subscriptions

Also remove the "func" concept from the FS subscription API. It is no
longer needed, as the IPC communication between the two modules takes
care of providing this handler.


  Commit: 0c281c7432b5fb7732fa98b1402de1432f8e39b6
      https://github.com/OpenSIPS/opensips/commit/0c281c7432b5fb7732fa98b1402de1432f8e39b6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M str.h

  Log Message:
  -----------
  str.h: Add some handy zero-string test macros


  Commit: 79721336cafc87680d7fc80c4eb2ae1b5450076c
      https://github.com/OpenSIPS/opensips/commit/79721336cafc87680d7fc80c4eb2ae1b5450076c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Implement the fs_cli() script function


  Commit: 5e098c5aa57c047d4b33b70b14a456eaf1583509
      https://github.com/OpenSIPS/opensips/commit/5e098c5aa57c047d4b33b70b14a456eaf1583509
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c

  Log Message:
  -----------
  freeswitch: Fix socket updating logic


  Commit: fa05cf54db845074e25e7133a840a0412888a2c5
      https://github.com/OpenSIPS/opensips/commit/fa05cf54db845074e25e7133a840a0412888a2c5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_proc.c

  Log Message:
  -----------
  freeswitch: Improve logging


  Commit: 995d02f88600d54741d0b7fc4dea1a3f29cceac2
      https://github.com/OpenSIPS/opensips/commit/995d02f88600d54741d0b7fc4dea1a3f29cceac2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M action.c
    M dprint.h
    M msg_translator.c

  Log Message:
  -----------
  Improve LM_BUG() macro

This allows syntax such as:

if (foo)
    LM_BUG("");
else
    bar;

We also drop the deprecated report_programming_bug() macro.


  Commit: 35f613ba81e98191fd6e583317679d5f9a09fe15
      https://github.com/OpenSIPS/opensips/commit/35f613ba81e98191fd6e583317679d5f9a09fe15
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_ipc.c
    M modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_mod.c
    M modules/freeswitch/fs_proc.c

  Log Message:
  -----------
  freeswitch: Implement the fs_esl() API command

This API call allows execution of an arbitrary FreeSWITCH ESL command on
an arbitrary FS interface. It has the following flow:
    1. script worker
	- calls freeswitch_esl(), hence api->fs_esl()
	- fires an IPC job to the FS connection manager
	- busy-waits for an SHM response (with sleep())

    2. FS connection manager
	- receives the IPC job, runs the ESL command
	- places the reponse in SHM for the worker to find

    3. script worker
	- finds the corresponding response, stores it in the output
	  pvar (if provided) and resumes the OpenSIPS script


  Commit: 97c31c87a384ad9f163ae56cf73c5e12145e503a
      https://github.com/OpenSIPS/opensips/commit/97c31c87a384ad9f163ae56cf73c5e12145e503a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_ipc.c
    M modules/freeswitch_scripting/fss_ipc.h
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Rename fs_cli() to freeswitch_esl()

Also adapt to the new interface / IPC changes.


Compare: https://github.com/OpenSIPS/opensips/compare/e47ac15610c2...97c31c87a384

From liviu at opensips.org  Thu Dec 14 12:27:54 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 14 Dec 2017 09:27:54 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4af0bd: Fix the shared IPC
	support
Message-ID: <5a32b49a1f844_3fc52ac4caf41c1c40054@hookshot-fe-b0febf1.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4af0bdc4816340c26b7067adb556cbd7a6830002
      https://github.com/OpenSIPS/opensips/commit/4af0bdc4816340c26b7067adb556cbd7a6830002
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M ipc.c
    M ipc.h
    M net/net_tcp_proc.c
    M net/net_udp.c
    M timer.c

  Log Message:
  -----------
  Fix the shared IPC support

The initial implementation was incomplete


  Commit: 04c99b8407ae348ccfaa42875f307e961b33fdc1
      https://github.com/OpenSIPS/opensips/commit/04c99b8407ae348ccfaa42875f307e961b33fdc1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_ipc.c
    M modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_proc.c
    R modules/freeswitch_scripting/fss_api.c
    R modules/freeswitch_scripting/fss_api.h
    M modules/freeswitch_scripting/fss_evs.c
    M modules/freeswitch_scripting/fss_ipc.c
    M modules/freeswitch_scripting/fss_ipc.h
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch: Further implement generic event subscribing

Currently, we can subscribe for generic FS events and they get
fired into "freeswitch_scripting" via the shared IPC support.

Patch summary:
    - add FS ESL command building logic
    - refactor the api->evs_sub() function to take an ipc_handler_type
      as parameter.
    - drop the freeswitch_scripting API. No longer needed.
    - simplify data structures


Compare: https://github.com/OpenSIPS/opensips/compare/97c31c87a384...04c99b8407ae

From liviu at opensips.org  Thu Dec 14 12:51:52 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 14 Dec 2017 09:51:52 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] aae66d: freeswitch: Fix event
	unsubscribing
Message-ID: <5a32ba38e9807_5112ad170f0dc0c1654e@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: aae66d4ca7cf4a614ad8688c8b3aad79234fc596
      https://github.com/OpenSIPS/opensips/commit/aae66d4ca7cf4a614ad8688c8b3aad79234fc596
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c

  Log Message:
  -----------
  freeswitch: Fix event unsubscribing



From liviu at opensips.org  Fri Dec 15 05:54:38 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Fri, 15 Dec 2017 02:54:38 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 02b114: mid_registrar: Never
 parallel fork in "mode == 1"
Message-ID: <5a33a9eeb3129_56342b14b52abc1058125@hookshot-fe-32b5f5b.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 02b114902dc91ea3a1f2dfc36d00658150cb9946
      https://github.com/OpenSIPS/opensips/commit/02b114902dc91ea3a1f2dfc36d00658150cb9946
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M modules/mid_registrar/lookup.c

  Log Message:
  -----------
  mid_registrar: Never parallel fork in "mode == 1"

This patch fixes a subtle bug where a "mode == 1" mid-registrar would
parallel fork to a random number of contacts by walking the remaining
"->next" values of the currently looked up contact.



From liviu at opensips.org  Fri Dec 15 06:31:31 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Fri, 15 Dec 2017 03:31:31 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 65caeb: freeswitch_scripting:
 Implement sub/unsub MI comma...
Message-ID: <5a33b293c19bd_3cf32ac6ab701c1831190@hookshot-fe-d252ca1.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 65caeb6b0fea8973037d89ae21915621462f37e6
      https://github.com/OpenSIPS/opensips/commit/65caeb6b0fea8973037d89ae21915621462f37e6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Implement sub/unsub MI commands



From liviu at opensips.org  Fri Dec 15 06:44:09 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Fri, 15 Dec 2017 03:44:09 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 106295: freeswitch_scripting:
 Improve MI feedback on oom
Message-ID: <5a33b58954a30_20602b24bd2bfc0c598c0@hookshot-fe-cace476.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 106295197d42390f339e4123aa0a098efdd545dc
      https://github.com/OpenSIPS/opensips/commit/106295197d42390f339e4123aa0a098efdd545dc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Improve MI feedback on oom



From vladp at opensips.org  Fri Dec 15 09:03:42 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Fri, 15 Dec 2017 06:03:42 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6aef83: sql_cacher: fix
 possible crash when loading from S...
Message-ID: <5a33d63e80574_3c202b12276c1c18660f6@hookshot-fe-265448d.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6aef8347bbfaf5bec21455abc0baa4024faf55d6
      https://github.com/OpenSIPS/opensips/commit/6aef8347bbfaf5bec21455abc0baa4024faf55d6
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix possible crash when loading from SQL on demand

Elements from the list of queries in progress are now properly removed.



From bogdan at opensips.org  Fri Dec 15 10:56:13 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Fri, 15 Dec 2017 07:56:13 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 43cdb2: Added parser for
	list-like body headers.
Message-ID: <5a33f09d70e_6e272b0cc8e89c0c52843@hookshot-fe-88eb02d.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 43cdb2f241189e3476f263ace35b53f587045c3f
      https://github.com/OpenSIPS/opensips/commit/43cdb2f241189e3476f263ace35b53f587045c3f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    A parser/parse_list_hdr.c
    A parser/parse_list_hdr.h

  Log Message:
  -----------
  Added parser for list-like body headers.

This parser can be used for hdr bodies holding list of options/tokens like Supported, Require, Content-Disposition, etc.
Work in progress.


  Commit: bbae925fe602bbbc813db659c7814aacc8d6a542
      https://github.com/OpenSIPS/opensips/commit/bbae925fe602bbbc813db659c7814aacc8d6a542
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M lump_struct.h
    M modules/sipmsgops/README
    M modules/sipmsgops/doc/sipmsgops_admin.xml
    A modules/sipmsgops/list_hdr.c
    A modules/sipmsgops/list_hdr.h
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  Added new set of functions for list headers.

Functions for operating on headers having in body CSV lists of tokens (like the Supported, Require, Content-Dispsition headers) :
 * list_hdr_has_option(hdr_name,option)
 * list_hdr_add_option(hdr_name,option)
 * list_hdr_remove_option(hdr_name,option)


Compare: https://github.com/OpenSIPS/opensips/compare/6aef8347bbfa...bbae925fe602

From vladp at opensips.org  Fri Dec 15 11:06:34 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Fri, 15 Dec 2017 08:06:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5179bc: sql_cacher: fix memory
 leaks when loading from SQL...
Message-ID: <5a33f30a47148_34b12ac7dc18dc148732a@hookshot-fe-d252ca1.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5179bc2f97b65236dddfe59cc9c6795e4a1bde36
      https://github.com/OpenSIPS/opensips/commit/5179bc2f97b65236dddfe59cc9c6795e4a1bde36
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix memory leaks when loading from SQL on demand



From vladp at opensips.org  Fri Dec 15 11:12:42 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Fri, 15 Dec 2017 08:12:42 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fe22ad: sql_cacher: fix
 possible crash when loading from S...
Message-ID: <5a33f47a3038_7b2c2af7f7a29c1026712@hookshot-fe-b0febf1.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fe22adbcf10cc2fb7c6ed7a512fd5d370f788e7f
      https://github.com/OpenSIPS/opensips/commit/fe22adbcf10cc2fb7c6ed7a512fd5d370f788e7f
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix possible crash when loading from SQL on demand

Elements from the list of queries in progress are now properly removed.

(cherry picked from commit 6aef8347bbfaf5bec21455abc0baa4024faf55d6)


  Commit: 2b266f32829074af667d2ca774f7b021a11fe044
      https://github.com/OpenSIPS/opensips/commit/2b266f32829074af667d2ca774f7b021a11fe044
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix memory leaks when loading from SQL on demand

(cherry picked from commit 5179bc2f97b65236dddfe59cc9c6795e4a1bde36)


Compare: https://github.com/OpenSIPS/opensips/compare/2ae87c644658...2b266f328290

From vladp at opensips.org  Fri Dec 15 11:13:28 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Fri, 15 Dec 2017 08:13:28 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 21be99: sql_cacher: fix
 possible crash when loading from S...
Message-ID: <5a33f4a8215b_5bf02b0819963c0425876@hookshot-fe-32b5f5b.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 21be99194fcab6ef6abf28c9da080470285fbb9c
      https://github.com/OpenSIPS/opensips/commit/21be99194fcab6ef6abf28c9da080470285fbb9c
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix possible crash when loading from SQL on demand

Elements from the list of queries in progress are now properly removed.

(cherry picked from commit 6aef8347bbfaf5bec21455abc0baa4024faf55d6)


  Commit: 7ec85193ecd05b0d79438e0adc1ad570e16cb585
      https://github.com/OpenSIPS/opensips/commit/7ec85193ecd05b0d79438e0adc1ad570e16cb585
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix memory leaks when loading from SQL on demand

(cherry picked from commit 5179bc2f97b65236dddfe59cc9c6795e4a1bde36)


Compare: https://github.com/OpenSIPS/opensips/compare/e9ddcc5a71b0...7ec85193ecd0

From vladp at opensips.org  Fri Dec 15 12:09:52 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Fri, 15 Dec 2017 09:09:52 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 592326: sql_cacher: complete
 mem leak fix from previous co...
Message-ID: <5a3401e0ab5b8_5b3a2b1997ce3c149439d@hookshot-fe-32b5f5b.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5923267fb67200562bcae1662878d3024106613e
      https://github.com/OpenSIPS/opensips/commit/5923267fb67200562bcae1662878d3024106613e
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: complete mem leak fix from previous commit



From vladp at opensips.org  Fri Dec 15 12:10:23 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Fri, 15 Dec 2017 09:10:23 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 68ea1c: sql_cacher: complete
 mem leak fix from previous co...
Message-ID: <5a3401ffcc461_f402b0981c8fc0c55225@hookshot-fe-8867ff3.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 68ea1c25063b47f48fe669f8bf37dcda293d6d73
      https://github.com/OpenSIPS/opensips/commit/68ea1c25063b47f48fe669f8bf37dcda293d6d73
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: complete mem leak fix from previous commit

(cherry picked from commit 5923267fb67200562bcae1662878d3024106613e)



From vladp at opensips.org  Fri Dec 15 12:10:51 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Fri, 15 Dec 2017 09:10:51 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3e2872: sql_cacher: complete
 mem leak fix from previous co...
Message-ID: <5a34021b3a8b3_ac62b0d940e7c1c68065@hookshot-fe-7191cb1.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3e287215fd829f91a51b85edaf1756177e42b0e2
      https://github.com/OpenSIPS/opensips/commit/3e287215fd829f91a51b85edaf1756177e42b0e2
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: complete mem leak fix from previous commit

(cherry picked from commit 5923267fb67200562bcae1662878d3024106613e)



From liviu at opensips.org  Fri Dec 15 13:11:31 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Fri, 15 Dec 2017 10:11:31 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 991e19: freeswitch: Add WIP
 dereferenced socket cleanup lo...
Message-ID: <5a341053cb12a_4b472ad50b60fc103806a@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 991e19e7a53d3852809d37a671878699b09fcb68
      https://github.com/OpenSIPS/opensips/commit/991e19e7a53d3852809d37a671878699b09fcb68
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_proc.c

  Log Message:
  -----------
  freeswitch: Add WIP dereferenced socket cleanup logic

The reactor needs refactoring before this feature can work.


  Commit: c980885e273b7db5318984fad41661219c50788a
      https://github.com/OpenSIPS/opensips/commit/c980885e273b7db5318984fad41661219c50788a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-15 (Fri, 15 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_proc.c
    M modules/freeswitch_scripting/fss_ipc.c
    M modules/freeswitch_scripting/fss_ipc.h
    M modules/freeswitch_scripting/fss_mod.c
    M str.h

  Log Message:
  -----------
  freeswitch_scripting: Implement the E_FREESWITCH event

This event has three parameters:

    * name
    * sender (FreeSWITCH host)
    * JSON body


Compare: https://github.com/OpenSIPS/opensips/compare/106295197d42...c980885e273b

From liviu at opensips.org  Mon Dec 18 03:48:56 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 18 Dec 2017 00:48:56 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1a6cbb: freeswitch: Implement
 the JSON body event paramete...
Message-ID: <5a3780f81e2ff_30ed2acf143cdc102413a@hookshot-fe-8867ff3.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1a6cbbbea4de3c8fb1992ec330cf3312d334b897
      https://github.com/OpenSIPS/opensips/commit/1a6cbbbea4de3c8fb1992ec330cf3312d334b897
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-18 (Mon, 18 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_ipc.c
    M modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_proc.c
    M modules/freeswitch_scripting/fss_ipc.c

  Log Message:
  -----------
  freeswitch: Implement the JSON body event parameter



From razvan at opensips.org  Tue Dec 19 03:09:19 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 19 Dec 2017 00:09:19 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a6528d: ratelimit: fix
	slot_period documentation
Message-ID: <5a38c92f9a773_794e2b273c74bc181752d@hookshot-fe-b0febf1.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a6528d8eb0ee827c892c670737ef69547b935bf5
      https://github.com/OpenSIPS/opensips/commit/a6528d8eb0ee827c892c670737ef69547b935bf5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

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

  Log Message:
  -----------
  ratelimit: fix slot_period documentation

slot_period should be expressed in milliseconds, not milliseconds

Kudos to the Ecosmob team for reporting this!


  Commit: ba7c8e8e6806516432116bb6277789da9e58be0c
      https://github.com/OpenSIPS/opensips/commit/ba7c8e8e6806516432116bb6277789da9e58be0c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

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

  Log Message:
  -----------
  ratelimit: improve documentation on rl_check()

Consider using rl_dec_count() for declined calls.

Credits go to Ecosmob for reporting this.


  Commit: 001c42cfdf0f304408ad05a48fa52e2734eb0374
      https://github.com/OpenSIPS/opensips/commit/001c42cfdf0f304408ad05a48fa52e2734eb0374
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

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

  Log Message:
  -----------
  ratelimit: improve expire_time parameter doc

Kudos the Ecosmob team for reporting this!


Compare: https://github.com/OpenSIPS/opensips/compare/5923267fb672...001c42cfdf0f

From razvan at opensips.org  Tue Dec 19 03:09:59 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 19 Dec 2017 00:09:59 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 801cbc: ratelimit: fix
	slot_period documentation
Message-ID: <5a38c957f15bd_783d2adca5525c04410a2@hookshot-fe-b0febf1.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 801cbca4bcc5c8a7259c256558bf6262d0e7b1b2
      https://github.com/OpenSIPS/opensips/commit/801cbca4bcc5c8a7259c256558bf6262d0e7b1b2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

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

  Log Message:
  -----------
  ratelimit: fix slot_period documentation

slot_period should be expressed in milliseconds, not milliseconds

Kudos to the Ecosmob team for reporting this!

(cherry picked from commit f932cc4c02d34bcc725ee0a3659343bdee0afd5e)


  Commit: 880d628e2c71706793b9e1f31e6cb04b6f018cad
      https://github.com/OpenSIPS/opensips/commit/880d628e2c71706793b9e1f31e6cb04b6f018cad
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

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

  Log Message:
  -----------
  ratelimit: improve documentation on rl_check()

Consider using rl_dec_count() for declined calls.

Credits go to Ecosmob for reporting this.

(cherry picked from commit 0124e7f28ad8fd04f9d8f7f3d555568c21fa3b28)


  Commit: 5047ff98f3cbe3234229cc22b86b92a48253f5fb
      https://github.com/OpenSIPS/opensips/commit/5047ff98f3cbe3234229cc22b86b92a48253f5fb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

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

  Log Message:
  -----------
  ratelimit: improve expire_time parameter doc

Kudos the Ecosmob team for reporting this!

(cherry picked from commit 49805a1c0a6ca1a59de1d6b0298e3288bca9b45f)


Compare: https://github.com/OpenSIPS/opensips/compare/68ea1c25063b...5047ff98f3cb

From razvan at opensips.org  Tue Dec 19 03:10:17 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 19 Dec 2017 00:10:17 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5a2666: ratelimit: fix
	slot_period documentation
Message-ID: <5a38c969635d3_71292aedb38c5c141127c0@hookshot-fe-cace476.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5a26666201de2812c5c929050a12995373f2c523
      https://github.com/OpenSIPS/opensips/commit/5a26666201de2812c5c929050a12995373f2c523
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

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

  Log Message:
  -----------
  ratelimit: fix slot_period documentation

slot_period should be expressed in milliseconds, not milliseconds

Kudos to the Ecosmob team for reporting this!

(cherry picked from commit f932cc4c02d34bcc725ee0a3659343bdee0afd5e)


  Commit: 09bef813aeaa30d81410f929d982687ea094caff
      https://github.com/OpenSIPS/opensips/commit/09bef813aeaa30d81410f929d982687ea094caff
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

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

  Log Message:
  -----------
  ratelimit: improve documentation on rl_check()

Consider using rl_dec_count() for declined calls.

Credits go to Ecosmob for reporting this.

(cherry picked from commit 0124e7f28ad8fd04f9d8f7f3d555568c21fa3b28)


  Commit: 326468e90d644b649da1711e31ff4c2bea4e79cb
      https://github.com/OpenSIPS/opensips/commit/326468e90d644b649da1711e31ff4c2bea4e79cb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

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

  Log Message:
  -----------
  ratelimit: improve expire_time parameter doc

Kudos the Ecosmob team for reporting this!

(cherry picked from commit 49805a1c0a6ca1a59de1d6b0298e3288bca9b45f)


Compare: https://github.com/OpenSIPS/opensips/compare/3e287215fd82...326468e90d64

From eahaselhoff at gmail.com  Thu Dec  7 09:52:57 2017
From: eahaselhoff at gmail.com (Edwin)
Date: Thu, 7 Dec 2017 07:52:57 -0700 (MST)
Subject: [OpenSIPS-Devel] Clusterer module and memory leak!
In-Reply-To: <CAJUJwthOmVEZ79TVwtPLdCJKOwd_tZ9A+RDbG2rMat1anQkZbA@mail.gmail.com>
References: <CAJUJwthOmVEZ79TVwtPLdCJKOwd_tZ9A+RDbG2rMat1anQkZbA@mail.gmail.com>
Message-ID: <1512658377184-0.post@n2.nabble.com>

Hi Sammy,

I think I am experiencing the same problem, but with load on the server. See
issue 1214 ( https://github.com/OpenSIPS/opensips/issues/1214 )

Regards,

Edwin



--
Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Devel-f1449246.html


From razvan at opensips.org  Tue Dec 19 03:34:00 2017
From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=)
Date: Tue, 19 Dec 2017 10:34:00 +0200
Subject: [OpenSIPS-Devel] Clusterer module and memory leak!
In-Reply-To: <1512658377184-0.post@n2.nabble.com>
References: <CAJUJwthOmVEZ79TVwtPLdCJKOwd_tZ9A+RDbG2rMat1anQkZbA@mail.gmail.com>
 <1512658377184-0.post@n2.nabble.com>
Message-ID: <b2302119-e918-bbbd-bf07-84b93d3d1386@opensips.org>

Hi, Edwin!

As Bogdan already asked on the ticket, did you manage to get a memory 
dump to figure out if there is indeed a leak and what was causing it?

Best regards,

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

On 12/07/2017 04:52 PM, Edwin wrote:
> Hi Sammy,
>
> I think I am experiencing the same problem, but with load on the server. See
> issue 1214 ( https://github.com/OpenSIPS/opensips/issues/1214 )
>
> Regards,
>
> Edwin
>
>
>
> --
> Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Devel-f1449246.html
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel



From razvan at opensips.org  Tue Dec 19 03:43:18 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 19 Dec 2017 00:43:18 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a25019: acc: fix prepared
 statements for non-ctx records
Message-ID: <5a38d12699239_eb32af2c1e8bc1c1711f@hookshot-fe-d252ca1.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a250191728b761cdfb18fe37d2625e94623918f7
      https://github.com/OpenSIPS/opensips/commit/a250191728b761cdfb18fe37d2625e94623918f7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M modules/acc/acc.c

  Log Message:
  -----------
  acc: fix prepared statements for non-ctx records

In case one is doing a "manual" acc_db_request() in local route, where
you don't have a context, there are not extra values available, thus we
need to use a different prepared statement.

Credits go to Pete Kelly for reporting this



From razvan at opensips.org  Tue Dec 19 03:43:41 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 19 Dec 2017 00:43:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 04a019: acc: fix prepared
 statements for non-ctx records
Message-ID: <5a38d13d8f81b_b182ae65d84fc1010429a@hookshot-fe-d252ca1.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 04a0192ee14541ac0ad0bc3870c48fc634a36ea1
      https://github.com/OpenSIPS/opensips/commit/04a0192ee14541ac0ad0bc3870c48fc634a36ea1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M modules/acc/acc.c

  Log Message:
  -----------
  acc: fix prepared statements for non-ctx records

In case one is doing a "manual" acc_db_request() in local route, where
you don't have a context, there are not extra values available, thus we
need to use a different prepared statement.

Credits go to Pete Kelly for reporting this

(cherry picked from commit a250191728b761cdfb18fe37d2625e94623918f7)



From razvan at opensips.org  Tue Dec 19 04:38:12 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 19 Dec 2017 01:38:12 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cbfef4: deprecate epoll_et and
 use epoll_lt instead
Message-ID: <5a38de04e4d37_15862ad932b8bc18522d7@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cbfef48c726bd4679f7f63df83250523101068f6
      https://github.com/OpenSIPS/opensips/commit/cbfef48c726bd4679f7f63df83250523101068f6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M io_wait.c

  Log Message:
  -----------
  deprecate epoll_et and use epoll_lt instead

epoll_et needs draining the socket out of data, which behaves against
our balancing mechanism.



From razvan at opensips.org  Tue Dec 19 04:38:20 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 19 Dec 2017 01:38:20 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 781e1b: deprecate epoll_et and
 use epoll_lt instead
Message-ID: <5a38de0cd7f48_17c2b0fdb687c14743c8@hookshot-fe-6e9b612.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 781e1b37229965f77c7ca085e48fc5028fb60cfa
      https://github.com/OpenSIPS/opensips/commit/781e1b37229965f77c7ca085e48fc5028fb60cfa
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M io_wait.c

  Log Message:
  -----------
  deprecate epoll_et and use epoll_lt instead

epoll_et needs draining the socket out of data, which behaves against
our balancing mechanism.

(cherry picked from commit cbfef48c726bd4679f7f63df83250523101068f6)



From razvan at opensips.org  Tue Dec 19 05:28:19 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 19 Dec 2017 02:28:19 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9f5448: deprecate epoll_et and
 use epoll_lt instead
Message-ID: <5a38e9c39be7b_754c2abaca045c0427389@hookshot-fe-d2afb11.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9f54480df82f2c744336d8491e365908608c92c2
      https://github.com/OpenSIPS/opensips/commit/9f54480df82f2c744336d8491e365908608c92c2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M io_wait.c

  Log Message:
  -----------
  deprecate epoll_et and use epoll_lt instead

epoll_et needs draining the socket out of data, which behaves against
our balancing mechanism.

(cherry picked from commit cbfef48c726bd4679f7f63df83250523101068f6)


  Commit: 1b9532cb8b757e0d430523190c65d17cf33a9b99
      https://github.com/OpenSIPS/opensips/commit/1b9532cb8b757e0d430523190c65d17cf33a9b99
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M io_wait.c
    M io_wait.h
    M poll_types.h
    M reactor.h
    M reactor_defs.h

  Log Message:
  -----------
  reactor: replace epoll_lt and epoll_et \w epoll

Remove the epoll_lt and epoll_et keyworkds and make available only
epoll, which behaves as epoll lt (Level Triggered)


Compare: https://github.com/OpenSIPS/opensips/compare/a250191728b7...1b9532cb8b75

From bogdan at opensips.org  Tue Dec 19 07:48:10 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 19 Dec 2017 04:48:10 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a7e724: Refactor generic
 parse_to() to accept multi-value ...
Message-ID: <5a390a8a4c6a0_19d12ae084a79c04905dd@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a7e724a09c01c78a5f3c303d2966a55883eaffeb
      https://github.com/OpenSIPS/opensips/commit/a7e724a09c01c78a5f3c303d2966a55883eaffeb
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

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

  Log Message:
  -----------
  Refactor generic parse_to() to accept multi-value headers.

New function parse_multi_to() added to allow parsing of multi-value (comma separated) name-addr/addr-spec headers (like Diversion, PAI, PPI).
Changes are backward compatible in regards to original parse_to() function.


  Commit: 908b9f190bff3b356f76ce8ca75d43a2c149a412
      https://github.com/OpenSIPS/opensips/commit/908b9f190bff3b356f76ce8ca75d43a2c149a412
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M parser/parse_diversion.c
    M parser/parse_pai.c
    M parser/parse_ppi.c

  Log Message:
  -----------
  Fix hdr parsing to accept multi-value bodies.

The parser for Diversion, PAI and PPI use now the parse_multi_to() in order to handle multi name-addr/addr-spec hdr bodies.


  Commit: 69ef92cd9f74020da5398eab0f81668bb8e12281
      https://github.com/OpenSIPS/opensips/commit/69ef92cd9f74020da5398eab0f81668bb8e12281
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  Fix validation for PAI, PPI and Diversion headers

These headers must be parsed as multu-field headers
Also for PAI and PPI we apply extra checks as per RFC3325.

Close #1134
Close #1228


Compare: https://github.com/OpenSIPS/opensips/compare/1b9532cb8b75...69ef92cd9f74

From bogdan at opensips.org  Tue Dec 19 07:53:41 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 19 Dec 2017 04:53:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 25c305: Refactor generic
 parse_to() to accept multi-value ...
Message-ID: <5a390bd59aaa3_76c02ac4258afc141044c1@hookshot-fe-cace476.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 25c30561b7a24b949cf09d2b56539875d3debb26
      https://github.com/OpenSIPS/opensips/commit/25c30561b7a24b949cf09d2b56539875d3debb26
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

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

  Log Message:
  -----------
  Refactor generic parse_to() to accept multi-value headers.

New function parse_multi_to() added to allow parsing of multi-value (comma separated) name-addr/addr-spec headers (like Diversion, PAI, PPI).
Changes are backward compatible in regards to original parse_to() function.

(cherry picked from commit a7e724a09c01c78a5f3c303d2966a55883eaffeb)


  Commit: 9ae04214ba9a2fe7cad26e45658022f6f250441f
      https://github.com/OpenSIPS/opensips/commit/9ae04214ba9a2fe7cad26e45658022f6f250441f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M parser/parse_diversion.c
    M parser/parse_pai.c
    M parser/parse_ppi.c

  Log Message:
  -----------
  Fix hdr parsing to accept multi-value bodies.

The parser for Diversion, PAI and PPI use now the parse_multi_to() in order to handle multi name-addr/addr-spec hdr bodies.

(cherry picked from commit 908b9f190bff3b356f76ce8ca75d43a2c149a412)


  Commit: c57bd60aff558898fa7dc0399f203b1d7c1f0b29
      https://github.com/OpenSIPS/opensips/commit/c57bd60aff558898fa7dc0399f203b1d7c1f0b29
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  Fix validation for PAI, PPI and Diversion headers

These headers must be parsed as multu-field headers
Also for PAI and PPI we apply extra checks as per RFC3325.

Close #1134
Close #1228

(cherry picked from commit 69ef92cd9f74020da5398eab0f81668bb8e12281)


Compare: https://github.com/OpenSIPS/opensips/compare/781e1b372299...c57bd60aff55

From bogdan at opensips.org  Tue Dec 19 07:56:38 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 19 Dec 2017 04:56:38 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5f5d1a: Refactor generic
 parse_to() to accept multi-value ...
Message-ID: <5a390c866de2e_19102ada9096bc08714d2@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5f5d1a1601e3ee096e9f924c154cef2133a672e4
      https://github.com/OpenSIPS/opensips/commit/5f5d1a1601e3ee096e9f924c154cef2133a672e4
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

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

  Log Message:
  -----------
  Refactor generic parse_to() to accept multi-value headers.

New function parse_multi_to() added to allow parsing of multi-value (comma separated) name-addr/addr-spec headers (like Diversion, PAI, PPI).
Changes are backward compatible in regards to original parse_to() function.

(cherry picked from commit a7e724a09c01c78a5f3c303d2966a55883eaffeb)


  Commit: 6ef5ed61b4ea8ba8f560f88e7f1068fde6bccde9
      https://github.com/OpenSIPS/opensips/commit/6ef5ed61b4ea8ba8f560f88e7f1068fde6bccde9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M parser/parse_diversion.c
    M parser/parse_pai.c
    M parser/parse_ppi.c

  Log Message:
  -----------
  Fix hdr parsing to accept multi-value bodies.

The parser for Diversion, PAI and PPI use now the parse_multi_to() in order to handle multi name-addr/addr-spec hdr bodies.

(cherry picked from commit 908b9f190bff3b356f76ce8ca75d43a2c149a412)


  Commit: 230c45fe5bd272f22f5e2c73bdea604aaad212d9
      https://github.com/OpenSIPS/opensips/commit/230c45fe5bd272f22f5e2c73bdea604aaad212d9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  Fix validation for PAI, PPI and Diversion headers

These headers must be parsed as multu-field headers
Also for PAI and PPI we apply extra checks as per RFC3325.

Close #1134
Close #1228

(cherry picked from commit 69ef92cd9f74020da5398eab0f81668bb8e12281)


Compare: https://github.com/OpenSIPS/opensips/compare/cbfef48c726b...230c45fe5bd2

From liviu at opensips.org  Tue Dec 19 10:39:14 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 19 Dec 2017 07:39:14 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1d2a94: db: Fix a minor mem
	leak
Message-ID: <5a3932a228bea_72042b0786c41c0c563e9@hookshot-fe-7191cb1.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1d2a94ddb8a9c648918391a29e0a61fc0795519d
      https://github.com/OpenSIPS/opensips/commit/1d2a94ddb8a9c648918391a29e0a61fc0795519d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M db/db.c

  Log Message:
  -----------
  db: Fix a minor mem leak


  Commit: 43aa885c2a2a3fefee02f3ab0c369ad3c8922c5e
      https://github.com/OpenSIPS/opensips/commit/43aa885c2a2a3fefee02f3ab0c369ad3c8922c5e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M lib/csv.c
    M lib/csv.h

  Log Message:
  -----------
  lib/csv: Add some useful parsing flags

    * dup the parsed strings
    * do all allocations in SHM


  Commit: 5fd4e9ca715cfaf6479233cf8e21e9db17a3a7fc
      https://github.com/OpenSIPS/opensips/commit/5fd4e9ca715cfaf6479233cf8e21e9db17a3a7fc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Add "fs_list" MI command


  Commit: 465f35e5689480e63d3b50e23c455dc1b15b5bdf
      https://github.com/OpenSIPS/opensips/commit/465f35e5689480e63d3b50e23c455dc1b15b5bdf
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    A modules/freeswitch_scripting/fss_db.c
    A modules/freeswitch_scripting/fss_db.h
    M modules/freeswitch_scripting/fss_evs.c
    M modules/freeswitch_scripting/fss_evs.h
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Add DB provisioning support


  Commit: b1b3f69e011d58d3987488ed108afb0ef0a5edd8
      https://github.com/OpenSIPS/opensips/commit/b1b3f69e011d58d3987488ed108afb0ef0a5edd8
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    A db/schema/freeswitch.xml
    A db/schema/opensips-freeswitch_scripting.xml
    A scripts/db_berkeley/opensips/freeswitch
    A scripts/db_berkeley/opensips/freeswitch_scripting
    M scripts/db_berkeley/opensips/version
    A scripts/dbtext/opensips/freeswitch
    A scripts/dbtext/opensips/freeswitch_scripting
    A scripts/mysql/freeswitch_scripting-create.sql
    A scripts/oracle/freeswitch_scripting-create.sql
    A scripts/pi_http/freeswitch_scripting-mod
    A scripts/pi_http/freeswitch_scripting-table
    M scripts/pi_http/pi_framework.xml
    A scripts/postgres/freeswitch_scripting-create.sql
    A scripts/sqlite/freeswitch_scripting-create.sql

  Log Message:
  -----------
  freeswitch_scripting: Add DB schema files


Compare: https://github.com/OpenSIPS/opensips/compare/1a6cbbbea4de...b1b3f69e011d

From liviu at opensips.org  Tue Dec 19 10:59:17 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 19 Dec 2017 07:59:17 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 823099: opensipsctl: Add a
 critical section for FIFO write...
Message-ID: <5a3937557c7fe_7fef2ac474925c1c2278a@hookshot-fe-6e9b612.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 82309938838ede055c139699cb953d36bf53b9de
      https://github.com/OpenSIPS/opensips/commit/82309938838ede055c139699cb953d36bf53b9de
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M scripts/opensipsctl.base
    M scripts/opensipsctl.fifo

  Log Message:
  -----------
  opensipsctl: Add a critical section for FIFO writes



From liviu at opensips.org  Tue Dec 19 11:00:48 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 19 Dec 2017 08:00:48 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 253633: freeswitch_scripting:
	Fix GCC warning
Message-ID: <5a3937b075e76_7d212adfe009fc14115963@hookshot-fe-6e9b612.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2536336f97792a560c5f642348432689d42e286e
      https://github.com/OpenSIPS/opensips/commit/2536336f97792a560c5f642348432689d42e286e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_db.c

  Log Message:
  -----------
  freeswitch_scripting: Fix GCC warning



From liviu at opensips.org  Wed Dec 20 04:35:43 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 20 Dec 2017 01:35:43 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4a3f8b: opensipsctl: Do not
 synchronize different instance...
Message-ID: <5a3a2eefa190c_75812ad489b89c041244d2@hookshot-fe-7191cb1.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4a3f8b3912d6cc11f9b1e26822c30a2b99872df5
      https://github.com/OpenSIPS/opensips/commit/4a3f8b3912d6cc11f9b1e26822c30a2b99872df5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M scripts/opensipsctl.fifo

  Log Message:
  -----------
  opensipsctl: Do not synchronize different instances

Suggested by Răzvan Crainea



From razvan at opensips.org  Wed Dec 20 06:32:09 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 20 Dec 2017 03:32:09 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b2ce0c: debian: let debuild
 figure out mysql dependencies
Message-ID: <5a3a4a396b8bd_71c02ae4b6511c18814b@hookshot-fe-cace476.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b2ce0c2edc31c63d49d8eca685ab8ee9cfeeba6e
      https://github.com/OpenSIPS/opensips/commit/b2ce0c2edc31c63d49d8eca685ab8ee9cfeeba6e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M packaging/debian/control

  Log Message:
  -----------
  debian: let debuild figure out mysql dependencies

Reported by Nick Altmann

(cherry picked from commit 5916511339e638ff301ad7556c2ef8f4cb7f36bb)



From razvan at opensips.org  Wed Dec 20 06:32:45 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 20 Dec 2017 03:32:45 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 28385b: debian: let debuild
 figure out mysql dependencies
Message-ID: <5a3a4a5d2acec_794e2b273c74bc182818@hookshot-fe-b0febf1.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 28385b6de4a1949d9b2d6032cdba6a925b7c02ca
      https://github.com/OpenSIPS/opensips/commit/28385b6de4a1949d9b2d6032cdba6a925b7c02ca
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M packaging/debian/control

  Log Message:
  -----------
  debian: let debuild figure out mysql dependencies

Reported by Nick Altmann

(cherry picked from commit 5916511339e638ff301ad7556c2ef8f4cb7f36bb)
(cherry picked from commit b2ce0c2edc31c63d49d8eca685ab8ee9cfeeba6e)



From bogdan at opensips.org  Wed Dec 20 07:45:11 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 20 Dec 2017 04:45:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f78926: Use as OBP the first
	PATH URI.
Message-ID: <5a3a5b5796053_46d02ab5b5405c00871e5@hookshot-fe-32b5f5b.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f78926432f1beb3594fd1fd72e64407a5b0ad1b7
      https://github.com/OpenSIPS/opensips/commit/f78926432f1beb3594fd1fd72e64407a5b0ad1b7
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/tm/t_fwd.c

  Log Message:
  -----------
  Use as OBP the first PATH URI.

If PATH defined, when injecting a new branch, extract the first PATH URI and use it as destination.
Reported by @futsystems in #1235
Fix for problem 1.



From bogdan at opensips.org  Wed Dec 20 07:45:46 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 20 Dec 2017 04:45:46 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a6ee57: Use as OBP the first
	PATH URI.
Message-ID: <5a3a5b7a11140_76d2ac34bf3dc00398c8@hookshot-fe-265448d.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a6ee57698d835759db55fb4704a8977655c1a220
      https://github.com/OpenSIPS/opensips/commit/a6ee57698d835759db55fb4704a8977655c1a220
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/tm/t_fwd.c

  Log Message:
  -----------
  Use as OBP the first PATH URI.

If PATH defined, when injecting a new branch, extract the first PATH URI and use it as destination.
Reported by @futsystems in #1235
Fix for problem 1.

(cherry picked from commit f78926432f1beb3594fd1fd72e64407a5b0ad1b7)



From bogdan at opensips.org  Wed Dec 20 09:46:37 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 20 Dec 2017 06:46:37 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ef89e1: Remove some heavy log
 (instroduced with the prev c...
Message-ID: <5a3a77cd8dce7_14312ad6a1275c0c488d1@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ef89e181ff7cb8274b12d0a34aff74e0ae5a3a4a
      https://github.com/OpenSIPS/opensips/commit/ef89e181ff7cb8274b12d0a34aff74e0ae5a3a4a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M parser/parse_to.c

  Log Message:
  -----------
  Remove some heavy log (instroduced with the prev commit).



From bogdan at opensips.org  Wed Dec 20 09:47:38 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 20 Dec 2017 06:47:38 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1702eb: Remove some heavy log
 (instroduced with the prev c...
Message-ID: <5a3a780a2a487_12282afd27825c04623dd@hookshot-fe-d252ca1.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1702ebe441eec85bb0644984f66851e5353753f0
      https://github.com/OpenSIPS/opensips/commit/1702ebe441eec85bb0644984f66851e5353753f0
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M parser/parse_to.c

  Log Message:
  -----------
  Remove some heavy log (instroduced with the prev commit).

(cherry picked from commit ef89e181ff7cb8274b12d0a34aff74e0ae5a3a4a)



From bogdan at opensips.org  Wed Dec 20 10:14:51 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 20 Dec 2017 07:14:51 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 30d47e: Fixed error message.
Message-ID: <5a3a7e6b63e0c_dea2b032cd2dc00822e5@hookshot-fe-d252ca1.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 30d47e65835bacc766ae05257ef50df2e9420468
      https://github.com/OpenSIPS/opensips/commit/30d47e65835bacc766ae05257ef50df2e9420468
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  Fixed error message.

Properly report the hdr name (PAI or PPI) when hdr fields validation fails



From bogdan at opensips.org  Wed Dec 20 10:16:12 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 20 Dec 2017 07:16:12 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 03cd65: Fixed error message.
Message-ID: <5a3a7ebc61e18_27b682adbb8ba1c103264e@hookshot-fe-dfcc362.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 03cd65c9fff72dd6ba28611fbfd1221b9d75b5bc
      https://github.com/OpenSIPS/opensips/commit/03cd65c9fff72dd6ba28611fbfd1221b9d75b5bc
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  Fixed error message.

Properly report the hdr name (PAI or PPI) when hdr fields validation fails

(cherry picked from commit 30d47e65835bacc766ae05257ef50df2e9420468)



From bogdan at opensips.org  Wed Dec 20 10:16:47 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 20 Dec 2017 07:16:47 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4933c4: Fixed error message.
Message-ID: <5a3a7edfbce7d_53ef2ab47b435c1026243@hookshot-fe-2cc8887.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4933c4224326255127239a550590094472c17c4a
      https://github.com/OpenSIPS/opensips/commit/4933c4224326255127239a550590094472c17c4a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  Fixed error message.

Properly report the hdr name (PAI or PPI) when hdr fields validation fails

(cherry picked from commit 30d47e65835bacc766ae05257ef50df2e9420468)



From liviu at opensips.org  Wed Dec 20 10:58:32 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 20 Dec 2017 07:58:32 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 52a343: freeswitch_scripting:
	Add documentation
Message-ID: <5a3a88a817ff8_5492b178db45bfc1199fe@hookshot-fe-265448d.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 52a343fbfb8d262e0cb8256cd37e4e8ad1451aa7
      https://github.com/OpenSIPS/opensips/commit/52a343fbfb8d262e0cb8256cd37e4e8ad1451aa7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    A modules/freeswitch_scripting/README
    A modules/freeswitch_scripting/doc/freeswitch_scripting.xml
    A modules/freeswitch_scripting/doc/freeswitch_scripting_admin.xml

  Log Message:
  -----------
  freeswitch_scripting: Add documentation



From liviu at opensips.org  Wed Dec 20 12:53:13 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 20 Dec 2017 09:53:13 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 173640: freeswitch: Fixes and
	minor improvements
Message-ID: <5a3aa389a216e_50232aee52d0dc14855b0@hookshot-fe-31feec6.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1736402dac9721e6a7c58e9b83916a38e5d577f1
      https://github.com/OpenSIPS/opensips/commit/1736402dac9721e6a7c58e9b83916a38e5d577f1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_proc.c
    M modules/freeswitch_scripting/fss_evs.c
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch: Fixes and minor improvements

    * free pending replies on socket cleanup
    * NULL-terminate some printed strings
    * remove unneeded fields
    * fix bad socket cleanup condition
    * add some useful debug logs


  Commit: 5426b0c20dfd9cbee4b24cd912fad7a6d908b102
      https://github.com/OpenSIPS/opensips/commit/5426b0c20dfd9cbee4b24cd912fad7a6d908b102
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/README
    M modules/freeswitch/doc/freeswitch_admin.xml

  Log Message:
  -----------
  freeswitch: Document newly added modparams


  Commit: aebc8c52c986937e02d0e1d6482bc76d32f38c53
      https://github.com/OpenSIPS/opensips/commit/aebc8c52c986937e02d0e1d6482bc76d32f38c53
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_mod.c

  Log Message:
  -----------
  freeswitch: Lower default "esl_cmd_polling_itv" to 1ms


Compare: https://github.com/OpenSIPS/opensips/compare/52a343fbfb8d...aebc8c52c986

From liviu at opensips.org  Wed Dec 20 13:07:24 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 20 Dec 2017 10:07:24 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d3689b: lib: Add basic CSV
 line parsing primitives
Message-ID: <5a3aa6dcdce24_43992adde5691c1412296@hookshot-fe-32b5f5b.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d3689b0315a8a0e08dbbd7ce42a728dcb320a54a
      https://github.com/OpenSIPS/opensips/commit/d3689b0315a8a0e08dbbd7ce42a728dcb320a54a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    A lib/csv.c
    A lib/csv.h

  Log Message:
  -----------
  lib: Add basic CSV line parsing primitives


  Commit: 530001539d8f57b61c243d34530f7ddffed3d458
      https://github.com/OpenSIPS/opensips/commit/530001539d8f57b61c243d34530f7ddffed3d458
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 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: 70f8a34d646bcf92af5d942049b113e39096f91c
      https://github.com/OpenSIPS/opensips/commit/70f8a34d646bcf92af5d942049b113e39096f91c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  util: Add str2short()


  Commit: 2d4ecdebc4a0982f2a5763e4e72d1ae8e97ad1b9
      https://github.com/OpenSIPS/opensips/commit/2d4ecdebc4a0982f2a5763e4e72d1ae8e97ad1b9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M lib/url.c

  Log Message:
  -----------
  lib/url: Improve logging and robustness


  Commit: 94f2bcec2270186de59005fdef4ccb66fdba1900
      https://github.com/OpenSIPS/opensips/commit/94f2bcec2270186de59005fdef4ccb66fdba1900
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M lib/url.h

  Log Message:
  -----------
  lib/url: Add some header documentation


  Commit: 8ad49f52dfe835be8f906bd03e9af9aaad50fde2
      https://github.com/OpenSIPS/opensips/commit/8ad49f52dfe835be8f906bd03e9af9aaad50fde2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M lib/csv.h

  Log Message:
  -----------
  lib/csv: Add some header docs


  Commit: 3412920127e90585096e2a5e380e7ab7f07dc057
      https://github.com/OpenSIPS/opensips/commit/3412920127e90585096e2a5e380e7ab7f07dc057
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 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: 580fdb0a36c15c0074d10499d22dc10ce1e4339c
      https://github.com/OpenSIPS/opensips/commit/580fdb0a36c15c0074d10499d22dc10ce1e4339c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 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


  Commit: ff83a31e473ba6f2d144bf8a6c3b03f1e34ff7e4
      https://github.com/OpenSIPS/opensips/commit/ff83a31e473ba6f2d144bf8a6c3b03f1e34ff7e4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/dispatcher/dispatch.c
    M modules/dispatcher/dispatcher.c
    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/load_balancer/lb_data.c
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  freeswitch: Refactor API

    * add generic FS event subscribe/unsubscribe function stubs
    * new modparam: "event_heartbeat_interval"
    * expose "event_heartbeat_interval" in API, use wherever needed
    * improve naming for stats-based socket API functions
    * remove the callback-based support for updating stats
      (this never worked anyway, ds/lb would always pull data)


  Commit: 3db613e8339bc3f734b824d8c5820f99aec0a97e
      https://github.com/OpenSIPS/opensips/commit/3db613e8339bc3f734b824d8c5820f99aec0a97e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.h

  Log Message:
  -----------
  freeswitch: Extend API with sub/unsub functions

This makes the API more logical - easier to understand and use.


  Commit: ef5f2017ac027220ecaaca60e3ec288376374d3b
      https://github.com/OpenSIPS/opensips/commit/ef5f2017ac027220ecaaca60e3ec288376374d3b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c

  Log Message:
  -----------
  freeswitch: Implement get_evs() / put_evs()


  Commit: a1c4c2a39a09e608271f0e31f4ee24082e44d53d
      https://github.com/OpenSIPS/opensips/commit/a1c4c2a39a09e608271f0e31f4ee24082e44d53d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M ipc.c
    M ipc.h
    M modules/event_routing/event_routing.c
    M net/net_tcp_report.c

  Log Message:
  -----------
  ipc: Improve and document the API


  Commit: e38b1b594b61ddc1206a7a6cb98b3e85c9dbae6d
      https://github.com/OpenSIPS/opensips/commit/e38b1b594b61ddc1206a7a6cb98b3e85c9dbae6d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M reactor.h

  Log Message:
  -----------
  reactor.h: Improve variable naming

Easier to figure out the time measuring unit


  Commit: 51a979f571ca9fad4c0138a39e9ac8746cf79681
      https://github.com/OpenSIPS/opensips/commit/51a979f571ca9fad4c0138a39e9ac8746cf79681
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    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/freeswitch/fs_proc.h
    M reactor_defs.h

  Log Message:
  -----------
  freeswitch: Extend API / further implement logic

    * implement evs_sub() / evs_unsub()
    * extend API with fs_cli() function
    * new modparam: "esl_connect_timeout"

Major refactoring of data structs and extra proc flow to support
the above.


  Commit: 100d72aa54a3eea9e211518b2997cf02d7f6d8e5
      https://github.com/OpenSIPS/opensips/commit/100d72aa54a3eea9e211518b2997cf02d7f6d8e5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M ipc.c
    M ipc.h
    M main.c
    M modules/event_routing/event_routing.c
    M net/net_tcp_proc.c
    M net/net_tcp_report.c
    M net/net_udp.c
    M timer.c

  Log Message:
  -----------
  ipc: Add job dispatching support

This patch adds support to dispatch a job to a currently available
TCP, UDP or timer OpenSIPS worker.

We also revert the incorrect function refactoring done in commit 69142efd59f.


  Commit: 6aa157695e63de1a7bc5a4fd0eb4d1e17655a83e
      https://github.com/OpenSIPS/opensips/commit/6aa157695e63de1a7bc5a4fd0eb4d1e17655a83e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M timer.c

  Log Message:
  -----------
  ipc: Do not dispatch jobs to extra timer processes


  Commit: 073a53aed427709102697378c74dab938c3356dd
      https://github.com/OpenSIPS/opensips/commit/073a53aed427709102697378c74dab938c3356dd
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/Makefile
    M modules/freeswitch/fs_api.h
    A modules/freeswitch/fs_ipc.c
    A modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_mod.c
    M modules/freeswitch/fs_proc.c
    A modules/freeswitch_scripting/Makefile
    A modules/freeswitch_scripting/fss_api.c
    A modules/freeswitch_scripting/fss_api.h
    A modules/freeswitch_scripting/fss_evs.c
    A modules/freeswitch_scripting/fss_evs.h
    A modules/freeswitch_scripting/fss_ipc.c
    A modules/freeswitch_scripting/fss_ipc.h
    A modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  Add a new "freeswitch_scripting" module

With a basic structure:

    * MI function stubs
    * script function stubs
    * (hope)fully implemented IPC interaction with "freeswitch"

Patch includes some "freeswitch" refactoring to get everything working.


  Commit: 0d57d6e55dc9b33d7f252db9445fd06f568123a3
      https://github.com/OpenSIPS/opensips/commit/0d57d6e55dc9b33d7f252db9445fd06f568123a3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M str_list.h

  Log Message:
  -----------
  str_list: Add a doubly linked string list structure


  Commit: cccc6e65ad4733818f33879a3c46b8386bb1f440
      https://github.com/OpenSIPS/opensips/commit/cccc6e65ad4733818f33879a3c46b8386bb1f440
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M lib/url.h
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_proc.c
    M modules/freeswitch_scripting/fss_evs.c
    M modules/freeswitch_scripting/fss_evs.h
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Implement modparam subscriptions

Also remove the "func" concept from the FS subscription API. It is no
longer needed, as the IPC communication between the two modules takes
care of providing this handler.


  Commit: 5f112a60acc56773aade88faf0de391832beebf1
      https://github.com/OpenSIPS/opensips/commit/5f112a60acc56773aade88faf0de391832beebf1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M str.h

  Log Message:
  -----------
  str.h: Add some handy zero-string test macros


  Commit: 0d50eb92326bab0df5a8214059b427b0e1e3e7de
      https://github.com/OpenSIPS/opensips/commit/0d50eb92326bab0df5a8214059b427b0e1e3e7de
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Implement the fs_cli() script function


  Commit: 2f50509e2694f8aaf9cc2d895e287775338d0831
      https://github.com/OpenSIPS/opensips/commit/2f50509e2694f8aaf9cc2d895e287775338d0831
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c

  Log Message:
  -----------
  freeswitch: Fix socket updating logic


  Commit: bead98be0381d5567c2213888e561352d32acd38
      https://github.com/OpenSIPS/opensips/commit/bead98be0381d5567c2213888e561352d32acd38
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_proc.c

  Log Message:
  -----------
  freeswitch: Improve logging


  Commit: 7195d197b44fe4008c886101885452f8f4907727
      https://github.com/OpenSIPS/opensips/commit/7195d197b44fe4008c886101885452f8f4907727
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M action.c
    M dprint.h
    M msg_translator.c

  Log Message:
  -----------
  Improve LM_BUG() macro

This allows syntax such as:

if (foo)
    LM_BUG("");
else
    bar;

We also drop the deprecated report_programming_bug() macro.


  Commit: 6b29c9c04a6526276ee37e172038ba48fd898138
      https://github.com/OpenSIPS/opensips/commit/6b29c9c04a6526276ee37e172038ba48fd898138
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_ipc.c
    M modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_mod.c
    M modules/freeswitch/fs_proc.c

  Log Message:
  -----------
  freeswitch: Implement the fs_esl() API command

This API call allows execution of an arbitrary FreeSWITCH ESL command on
an arbitrary FS interface. It has the following flow:
    1. script worker
	- calls freeswitch_esl(), hence api->fs_esl()
	- fires an IPC job to the FS connection manager
	- busy-waits for an SHM response (with sleep())

    2. FS connection manager
	- receives the IPC job, runs the ESL command
	- places the reponse in SHM for the worker to find

    3. script worker
	- finds the corresponding response, stores it in the output
	  pvar (if provided) and resumes the OpenSIPS script


  Commit: 6be577e6a2af5ed85c957fd337bd714b0b77e079
      https://github.com/OpenSIPS/opensips/commit/6be577e6a2af5ed85c957fd337bd714b0b77e079
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_ipc.c
    M modules/freeswitch_scripting/fss_ipc.h
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Rename fs_cli() to freeswitch_esl()

Also adapt to the new interface / IPC changes.


  Commit: 8f16df247959329fa574450a5af429f82befce21
      https://github.com/OpenSIPS/opensips/commit/8f16df247959329fa574450a5af429f82befce21
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M ipc.c
    M ipc.h
    M net/net_tcp_proc.c
    M net/net_udp.c
    M timer.c

  Log Message:
  -----------
  Fix the shared IPC support

The initial implementation was incomplete


  Commit: debf94dee5b6bfaf30517a9df81706e40fa56b98
      https://github.com/OpenSIPS/opensips/commit/debf94dee5b6bfaf30517a9df81706e40fa56b98
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_ipc.c
    M modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_proc.c
    R modules/freeswitch_scripting/fss_api.c
    R modules/freeswitch_scripting/fss_api.h
    M modules/freeswitch_scripting/fss_evs.c
    M modules/freeswitch_scripting/fss_ipc.c
    M modules/freeswitch_scripting/fss_ipc.h
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch: Further implement generic event subscribing

Currently, we can subscribe for generic FS events and they get
fired into "freeswitch_scripting" via the shared IPC support.

Patch summary:
    - add FS ESL command building logic
    - refactor the api->evs_sub() function to take an ipc_handler_type
      as parameter.
    - drop the freeswitch_scripting API. No longer needed.
    - simplify data structures


  Commit: e587188ce1f5995e653e1bf8d925dbc02156bf9e
      https://github.com/OpenSIPS/opensips/commit/e587188ce1f5995e653e1bf8d925dbc02156bf9e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c

  Log Message:
  -----------
  freeswitch: Fix event unsubscribing


  Commit: 8b3bafa91445c93bb066524a76a15f91f1f1d745
      https://github.com/OpenSIPS/opensips/commit/8b3bafa91445c93bb066524a76a15f91f1f1d745
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Implement sub/unsub MI commands


  Commit: 5c99644aaac84419814431453f6ffabe8623fe8a
      https://github.com/OpenSIPS/opensips/commit/5c99644aaac84419814431453f6ffabe8623fe8a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Improve MI feedback on oom


  Commit: cdb104cb495f8e4bd5337f7a48ec9d3740349b11
      https://github.com/OpenSIPS/opensips/commit/cdb104cb495f8e4bd5337f7a48ec9d3740349b11
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_proc.c

  Log Message:
  -----------
  freeswitch: Add WIP dereferenced socket cleanup logic

The reactor needs refactoring before this feature can work.


  Commit: b30abf8db72025b5308a33775ec193d001d6f7a9
      https://github.com/OpenSIPS/opensips/commit/b30abf8db72025b5308a33775ec193d001d6f7a9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_proc.c
    M modules/freeswitch_scripting/fss_ipc.c
    M modules/freeswitch_scripting/fss_ipc.h
    M modules/freeswitch_scripting/fss_mod.c
    M str.h

  Log Message:
  -----------
  freeswitch_scripting: Implement the E_FREESWITCH event

This event has three parameters:

    * name
    * sender (FreeSWITCH host)
    * JSON body


  Commit: 0bbc79a443e31c076d01ddedadfa25652915099a
      https://github.com/OpenSIPS/opensips/commit/0bbc79a443e31c076d01ddedadfa25652915099a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_ipc.c
    M modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_proc.c
    M modules/freeswitch_scripting/fss_ipc.c

  Log Message:
  -----------
  freeswitch: Implement the JSON body event parameter


  Commit: 8b6884e98e8b4cbabcd3218f8b7a73864a07fc95
      https://github.com/OpenSIPS/opensips/commit/8b6884e98e8b4cbabcd3218f8b7a73864a07fc95
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M db/db.c

  Log Message:
  -----------
  db: Fix a minor mem leak


  Commit: 1b4381619ab4db88bffb88bb7e02becf09239205
      https://github.com/OpenSIPS/opensips/commit/1b4381619ab4db88bffb88bb7e02becf09239205
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M lib/csv.c
    M lib/csv.h

  Log Message:
  -----------
  lib/csv: Add some useful parsing flags

    * dup the parsed strings
    * do all allocations in SHM


  Commit: 9f3c3c3be76e9db6e2ba9bbab8c63ebece688b35
      https://github.com/OpenSIPS/opensips/commit/9f3c3c3be76e9db6e2ba9bbab8c63ebece688b35
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Add "fs_list" MI command


  Commit: d014fe5c739bb4809a4a990cff677ec6015d5368
      https://github.com/OpenSIPS/opensips/commit/d014fe5c739bb4809a4a990cff677ec6015d5368
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    A modules/freeswitch_scripting/fss_db.c
    A modules/freeswitch_scripting/fss_db.h
    M modules/freeswitch_scripting/fss_evs.c
    M modules/freeswitch_scripting/fss_evs.h
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Add DB provisioning support


  Commit: 5e4a6648fc07f1fa684e0668d7842c7830fb3a02
      https://github.com/OpenSIPS/opensips/commit/5e4a6648fc07f1fa684e0668d7842c7830fb3a02
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    A db/schema/freeswitch.xml
    A db/schema/opensips-freeswitch_scripting.xml
    A scripts/db_berkeley/opensips/freeswitch
    A scripts/db_berkeley/opensips/freeswitch_scripting
    M scripts/db_berkeley/opensips/version
    A scripts/dbtext/opensips/freeswitch
    A scripts/dbtext/opensips/freeswitch_scripting
    A scripts/mysql/freeswitch_scripting-create.sql
    A scripts/oracle/freeswitch_scripting-create.sql
    A scripts/pi_http/freeswitch_scripting-mod
    A scripts/pi_http/freeswitch_scripting-table
    M scripts/pi_http/pi_framework.xml
    A scripts/postgres/freeswitch_scripting-create.sql
    A scripts/sqlite/freeswitch_scripting-create.sql

  Log Message:
  -----------
  freeswitch_scripting: Add DB schema files


  Commit: 96289ccac88e918f86a50bf125fd79067e7ea3ca
      https://github.com/OpenSIPS/opensips/commit/96289ccac88e918f86a50bf125fd79067e7ea3ca
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M scripts/opensipsctl.base
    M scripts/opensipsctl.fifo

  Log Message:
  -----------
  opensipsctl: Add a critical section for FIFO writes


  Commit: 978a6c3845a144e60562132976cfd592a5d137e2
      https://github.com/OpenSIPS/opensips/commit/978a6c3845a144e60562132976cfd592a5d137e2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_db.c

  Log Message:
  -----------
  freeswitch_scripting: Fix GCC warning


  Commit: f571ed35e8663999c12c7f2c9d88a8e463fdb40b
      https://github.com/OpenSIPS/opensips/commit/f571ed35e8663999c12c7f2c9d88a8e463fdb40b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M scripts/opensipsctl.fifo

  Log Message:
  -----------
  opensipsctl: Do not synchronize different instances

Suggested by Răzvan Crainea


  Commit: b3b61f0fe80df0f71fbba5acd53417f0a1ee7a0b
      https://github.com/OpenSIPS/opensips/commit/b3b61f0fe80df0f71fbba5acd53417f0a1ee7a0b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    A modules/freeswitch_scripting/README
    A modules/freeswitch_scripting/doc/freeswitch_scripting.xml
    A modules/freeswitch_scripting/doc/freeswitch_scripting_admin.xml

  Log Message:
  -----------
  freeswitch_scripting: Add documentation


  Commit: a848555e04f572b15c60469071a52db808376823
      https://github.com/OpenSIPS/opensips/commit/a848555e04f572b15c60469071a52db808376823
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_proc.c
    M modules/freeswitch_scripting/fss_evs.c
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch: Fixes and minor improvements

    * free pending replies on socket cleanup
    * NULL-terminate some printed strings
    * remove unneeded fields
    * fix bad socket cleanup condition
    * add some useful debug logs


  Commit: ece4d1ebc5a7823b3fcdd42be6f937960eec18a3
      https://github.com/OpenSIPS/opensips/commit/ece4d1ebc5a7823b3fcdd42be6f937960eec18a3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/README
    M modules/freeswitch/doc/freeswitch_admin.xml

  Log Message:
  -----------
  freeswitch: Document newly added modparams


  Commit: f33c145a5f5dc3229112407013a8548790ddef2a
      https://github.com/OpenSIPS/opensips/commit/f33c145a5f5dc3229112407013a8548790ddef2a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_mod.c

  Log Message:
  -----------
  freeswitch: Lower default "esl_cmd_polling_itv" to 1ms


Compare: https://github.com/OpenSIPS/opensips/compare/aebc8c52c986...f33c145a5f5d

From liviu at opensips.org  Wed Dec 20 13:13:50 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 20 Dec 2017 10:13:50 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d3689b: lib: Add basic CSV
 line parsing primitives
Message-ID: <5a3aa85ea927a_71622b2406d9fc10488cb@hookshot-fe-cace476.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d3689b0315a8a0e08dbbd7ce42a728dcb320a54a
      https://github.com/OpenSIPS/opensips/commit/d3689b0315a8a0e08dbbd7ce42a728dcb320a54a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    A lib/csv.c
    A lib/csv.h

  Log Message:
  -----------
  lib: Add basic CSV line parsing primitives


  Commit: 530001539d8f57b61c243d34530f7ddffed3d458
      https://github.com/OpenSIPS/opensips/commit/530001539d8f57b61c243d34530f7ddffed3d458
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 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: 70f8a34d646bcf92af5d942049b113e39096f91c
      https://github.com/OpenSIPS/opensips/commit/70f8a34d646bcf92af5d942049b113e39096f91c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  util: Add str2short()


  Commit: 2d4ecdebc4a0982f2a5763e4e72d1ae8e97ad1b9
      https://github.com/OpenSIPS/opensips/commit/2d4ecdebc4a0982f2a5763e4e72d1ae8e97ad1b9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M lib/url.c

  Log Message:
  -----------
  lib/url: Improve logging and robustness


  Commit: 94f2bcec2270186de59005fdef4ccb66fdba1900
      https://github.com/OpenSIPS/opensips/commit/94f2bcec2270186de59005fdef4ccb66fdba1900
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M lib/url.h

  Log Message:
  -----------
  lib/url: Add some header documentation


  Commit: 8ad49f52dfe835be8f906bd03e9af9aaad50fde2
      https://github.com/OpenSIPS/opensips/commit/8ad49f52dfe835be8f906bd03e9af9aaad50fde2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M lib/csv.h

  Log Message:
  -----------
  lib/csv: Add some header docs


  Commit: 3412920127e90585096e2a5e380e7ab7f07dc057
      https://github.com/OpenSIPS/opensips/commit/3412920127e90585096e2a5e380e7ab7f07dc057
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 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: 580fdb0a36c15c0074d10499d22dc10ce1e4339c
      https://github.com/OpenSIPS/opensips/commit/580fdb0a36c15c0074d10499d22dc10ce1e4339c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 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


  Commit: ff83a31e473ba6f2d144bf8a6c3b03f1e34ff7e4
      https://github.com/OpenSIPS/opensips/commit/ff83a31e473ba6f2d144bf8a6c3b03f1e34ff7e4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/dispatcher/dispatch.c
    M modules/dispatcher/dispatcher.c
    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/load_balancer/lb_data.c
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  freeswitch: Refactor API

    * add generic FS event subscribe/unsubscribe function stubs
    * new modparam: "event_heartbeat_interval"
    * expose "event_heartbeat_interval" in API, use wherever needed
    * improve naming for stats-based socket API functions
    * remove the callback-based support for updating stats
      (this never worked anyway, ds/lb would always pull data)


  Commit: 3db613e8339bc3f734b824d8c5820f99aec0a97e
      https://github.com/OpenSIPS/opensips/commit/3db613e8339bc3f734b824d8c5820f99aec0a97e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.h

  Log Message:
  -----------
  freeswitch: Extend API with sub/unsub functions

This makes the API more logical - easier to understand and use.


  Commit: ef5f2017ac027220ecaaca60e3ec288376374d3b
      https://github.com/OpenSIPS/opensips/commit/ef5f2017ac027220ecaaca60e3ec288376374d3b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c

  Log Message:
  -----------
  freeswitch: Implement get_evs() / put_evs()


  Commit: a1c4c2a39a09e608271f0e31f4ee24082e44d53d
      https://github.com/OpenSIPS/opensips/commit/a1c4c2a39a09e608271f0e31f4ee24082e44d53d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M ipc.c
    M ipc.h
    M modules/event_routing/event_routing.c
    M net/net_tcp_report.c

  Log Message:
  -----------
  ipc: Improve and document the API


  Commit: e38b1b594b61ddc1206a7a6cb98b3e85c9dbae6d
      https://github.com/OpenSIPS/opensips/commit/e38b1b594b61ddc1206a7a6cb98b3e85c9dbae6d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M reactor.h

  Log Message:
  -----------
  reactor.h: Improve variable naming

Easier to figure out the time measuring unit


  Commit: 51a979f571ca9fad4c0138a39e9ac8746cf79681
      https://github.com/OpenSIPS/opensips/commit/51a979f571ca9fad4c0138a39e9ac8746cf79681
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    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/freeswitch/fs_proc.h
    M reactor_defs.h

  Log Message:
  -----------
  freeswitch: Extend API / further implement logic

    * implement evs_sub() / evs_unsub()
    * extend API with fs_cli() function
    * new modparam: "esl_connect_timeout"

Major refactoring of data structs and extra proc flow to support
the above.


  Commit: 100d72aa54a3eea9e211518b2997cf02d7f6d8e5
      https://github.com/OpenSIPS/opensips/commit/100d72aa54a3eea9e211518b2997cf02d7f6d8e5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M ipc.c
    M ipc.h
    M main.c
    M modules/event_routing/event_routing.c
    M net/net_tcp_proc.c
    M net/net_tcp_report.c
    M net/net_udp.c
    M timer.c

  Log Message:
  -----------
  ipc: Add job dispatching support

This patch adds support to dispatch a job to a currently available
TCP, UDP or timer OpenSIPS worker.

We also revert the incorrect function refactoring done in commit 69142efd59f.


  Commit: 6aa157695e63de1a7bc5a4fd0eb4d1e17655a83e
      https://github.com/OpenSIPS/opensips/commit/6aa157695e63de1a7bc5a4fd0eb4d1e17655a83e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M timer.c

  Log Message:
  -----------
  ipc: Do not dispatch jobs to extra timer processes


  Commit: 073a53aed427709102697378c74dab938c3356dd
      https://github.com/OpenSIPS/opensips/commit/073a53aed427709102697378c74dab938c3356dd
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/Makefile
    M modules/freeswitch/fs_api.h
    A modules/freeswitch/fs_ipc.c
    A modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_mod.c
    M modules/freeswitch/fs_proc.c
    A modules/freeswitch_scripting/Makefile
    A modules/freeswitch_scripting/fss_api.c
    A modules/freeswitch_scripting/fss_api.h
    A modules/freeswitch_scripting/fss_evs.c
    A modules/freeswitch_scripting/fss_evs.h
    A modules/freeswitch_scripting/fss_ipc.c
    A modules/freeswitch_scripting/fss_ipc.h
    A modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  Add a new "freeswitch_scripting" module

With a basic structure:

    * MI function stubs
    * script function stubs
    * (hope)fully implemented IPC interaction with "freeswitch"

Patch includes some "freeswitch" refactoring to get everything working.


  Commit: 0d57d6e55dc9b33d7f252db9445fd06f568123a3
      https://github.com/OpenSIPS/opensips/commit/0d57d6e55dc9b33d7f252db9445fd06f568123a3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M str_list.h

  Log Message:
  -----------
  str_list: Add a doubly linked string list structure


  Commit: cccc6e65ad4733818f33879a3c46b8386bb1f440
      https://github.com/OpenSIPS/opensips/commit/cccc6e65ad4733818f33879a3c46b8386bb1f440
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M lib/url.h
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_proc.c
    M modules/freeswitch_scripting/fss_evs.c
    M modules/freeswitch_scripting/fss_evs.h
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Implement modparam subscriptions

Also remove the "func" concept from the FS subscription API. It is no
longer needed, as the IPC communication between the two modules takes
care of providing this handler.


  Commit: 5f112a60acc56773aade88faf0de391832beebf1
      https://github.com/OpenSIPS/opensips/commit/5f112a60acc56773aade88faf0de391832beebf1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M str.h

  Log Message:
  -----------
  str.h: Add some handy zero-string test macros


  Commit: 0d50eb92326bab0df5a8214059b427b0e1e3e7de
      https://github.com/OpenSIPS/opensips/commit/0d50eb92326bab0df5a8214059b427b0e1e3e7de
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Implement the fs_cli() script function


  Commit: 2f50509e2694f8aaf9cc2d895e287775338d0831
      https://github.com/OpenSIPS/opensips/commit/2f50509e2694f8aaf9cc2d895e287775338d0831
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c

  Log Message:
  -----------
  freeswitch: Fix socket updating logic


  Commit: bead98be0381d5567c2213888e561352d32acd38
      https://github.com/OpenSIPS/opensips/commit/bead98be0381d5567c2213888e561352d32acd38
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_proc.c

  Log Message:
  -----------
  freeswitch: Improve logging


  Commit: 7195d197b44fe4008c886101885452f8f4907727
      https://github.com/OpenSIPS/opensips/commit/7195d197b44fe4008c886101885452f8f4907727
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M action.c
    M dprint.h
    M msg_translator.c

  Log Message:
  -----------
  Improve LM_BUG() macro

This allows syntax such as:

if (foo)
    LM_BUG("");
else
    bar;

We also drop the deprecated report_programming_bug() macro.


  Commit: 6b29c9c04a6526276ee37e172038ba48fd898138
      https://github.com/OpenSIPS/opensips/commit/6b29c9c04a6526276ee37e172038ba48fd898138
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_ipc.c
    M modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_mod.c
    M modules/freeswitch/fs_proc.c

  Log Message:
  -----------
  freeswitch: Implement the fs_esl() API command

This API call allows execution of an arbitrary FreeSWITCH ESL command on
an arbitrary FS interface. It has the following flow:
    1. script worker
	- calls freeswitch_esl(), hence api->fs_esl()
	- fires an IPC job to the FS connection manager
	- busy-waits for an SHM response (with sleep())

    2. FS connection manager
	- receives the IPC job, runs the ESL command
	- places the reponse in SHM for the worker to find

    3. script worker
	- finds the corresponding response, stores it in the output
	  pvar (if provided) and resumes the OpenSIPS script


  Commit: 6be577e6a2af5ed85c957fd337bd714b0b77e079
      https://github.com/OpenSIPS/opensips/commit/6be577e6a2af5ed85c957fd337bd714b0b77e079
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_ipc.c
    M modules/freeswitch_scripting/fss_ipc.h
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Rename fs_cli() to freeswitch_esl()

Also adapt to the new interface / IPC changes.


  Commit: 8f16df247959329fa574450a5af429f82befce21
      https://github.com/OpenSIPS/opensips/commit/8f16df247959329fa574450a5af429f82befce21
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M ipc.c
    M ipc.h
    M net/net_tcp_proc.c
    M net/net_udp.c
    M timer.c

  Log Message:
  -----------
  Fix the shared IPC support

The initial implementation was incomplete


  Commit: debf94dee5b6bfaf30517a9df81706e40fa56b98
      https://github.com/OpenSIPS/opensips/commit/debf94dee5b6bfaf30517a9df81706e40fa56b98
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_ipc.c
    M modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_proc.c
    R modules/freeswitch_scripting/fss_api.c
    R modules/freeswitch_scripting/fss_api.h
    M modules/freeswitch_scripting/fss_evs.c
    M modules/freeswitch_scripting/fss_ipc.c
    M modules/freeswitch_scripting/fss_ipc.h
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch: Further implement generic event subscribing

Currently, we can subscribe for generic FS events and they get
fired into "freeswitch_scripting" via the shared IPC support.

Patch summary:
    - add FS ESL command building logic
    - refactor the api->evs_sub() function to take an ipc_handler_type
      as parameter.
    - drop the freeswitch_scripting API. No longer needed.
    - simplify data structures


  Commit: e587188ce1f5995e653e1bf8d925dbc02156bf9e
      https://github.com/OpenSIPS/opensips/commit/e587188ce1f5995e653e1bf8d925dbc02156bf9e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c

  Log Message:
  -----------
  freeswitch: Fix event unsubscribing


  Commit: 8b3bafa91445c93bb066524a76a15f91f1f1d745
      https://github.com/OpenSIPS/opensips/commit/8b3bafa91445c93bb066524a76a15f91f1f1d745
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Implement sub/unsub MI commands


  Commit: 5c99644aaac84419814431453f6ffabe8623fe8a
      https://github.com/OpenSIPS/opensips/commit/5c99644aaac84419814431453f6ffabe8623fe8a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Improve MI feedback on oom


  Commit: cdb104cb495f8e4bd5337f7a48ec9d3740349b11
      https://github.com/OpenSIPS/opensips/commit/cdb104cb495f8e4bd5337f7a48ec9d3740349b11
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_proc.c

  Log Message:
  -----------
  freeswitch: Add WIP dereferenced socket cleanup logic

The reactor needs refactoring before this feature can work.


  Commit: b30abf8db72025b5308a33775ec193d001d6f7a9
      https://github.com/OpenSIPS/opensips/commit/b30abf8db72025b5308a33775ec193d001d6f7a9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_proc.c
    M modules/freeswitch_scripting/fss_ipc.c
    M modules/freeswitch_scripting/fss_ipc.h
    M modules/freeswitch_scripting/fss_mod.c
    M str.h

  Log Message:
  -----------
  freeswitch_scripting: Implement the E_FREESWITCH event

This event has three parameters:

    * name
    * sender (FreeSWITCH host)
    * JSON body


  Commit: 0bbc79a443e31c076d01ddedadfa25652915099a
      https://github.com/OpenSIPS/opensips/commit/0bbc79a443e31c076d01ddedadfa25652915099a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_ipc.c
    M modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_proc.c
    M modules/freeswitch_scripting/fss_ipc.c

  Log Message:
  -----------
  freeswitch: Implement the JSON body event parameter


  Commit: 8b6884e98e8b4cbabcd3218f8b7a73864a07fc95
      https://github.com/OpenSIPS/opensips/commit/8b6884e98e8b4cbabcd3218f8b7a73864a07fc95
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M db/db.c

  Log Message:
  -----------
  db: Fix a minor mem leak


  Commit: 1b4381619ab4db88bffb88bb7e02becf09239205
      https://github.com/OpenSIPS/opensips/commit/1b4381619ab4db88bffb88bb7e02becf09239205
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M lib/csv.c
    M lib/csv.h

  Log Message:
  -----------
  lib/csv: Add some useful parsing flags

    * dup the parsed strings
    * do all allocations in SHM


  Commit: 9f3c3c3be76e9db6e2ba9bbab8c63ebece688b35
      https://github.com/OpenSIPS/opensips/commit/9f3c3c3be76e9db6e2ba9bbab8c63ebece688b35
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Add "fs_list" MI command


  Commit: d014fe5c739bb4809a4a990cff677ec6015d5368
      https://github.com/OpenSIPS/opensips/commit/d014fe5c739bb4809a4a990cff677ec6015d5368
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    A modules/freeswitch_scripting/fss_db.c
    A modules/freeswitch_scripting/fss_db.h
    M modules/freeswitch_scripting/fss_evs.c
    M modules/freeswitch_scripting/fss_evs.h
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Add DB provisioning support


  Commit: 5e4a6648fc07f1fa684e0668d7842c7830fb3a02
      https://github.com/OpenSIPS/opensips/commit/5e4a6648fc07f1fa684e0668d7842c7830fb3a02
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    A db/schema/freeswitch.xml
    A db/schema/opensips-freeswitch_scripting.xml
    A scripts/db_berkeley/opensips/freeswitch
    A scripts/db_berkeley/opensips/freeswitch_scripting
    M scripts/db_berkeley/opensips/version
    A scripts/dbtext/opensips/freeswitch
    A scripts/dbtext/opensips/freeswitch_scripting
    A scripts/mysql/freeswitch_scripting-create.sql
    A scripts/oracle/freeswitch_scripting-create.sql
    A scripts/pi_http/freeswitch_scripting-mod
    A scripts/pi_http/freeswitch_scripting-table
    M scripts/pi_http/pi_framework.xml
    A scripts/postgres/freeswitch_scripting-create.sql
    A scripts/sqlite/freeswitch_scripting-create.sql

  Log Message:
  -----------
  freeswitch_scripting: Add DB schema files


  Commit: 96289ccac88e918f86a50bf125fd79067e7ea3ca
      https://github.com/OpenSIPS/opensips/commit/96289ccac88e918f86a50bf125fd79067e7ea3ca
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M scripts/opensipsctl.base
    M scripts/opensipsctl.fifo

  Log Message:
  -----------
  opensipsctl: Add a critical section for FIFO writes


  Commit: 978a6c3845a144e60562132976cfd592a5d137e2
      https://github.com/OpenSIPS/opensips/commit/978a6c3845a144e60562132976cfd592a5d137e2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch_scripting/fss_db.c

  Log Message:
  -----------
  freeswitch_scripting: Fix GCC warning


  Commit: f571ed35e8663999c12c7f2c9d88a8e463fdb40b
      https://github.com/OpenSIPS/opensips/commit/f571ed35e8663999c12c7f2c9d88a8e463fdb40b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M scripts/opensipsctl.fifo

  Log Message:
  -----------
  opensipsctl: Do not synchronize different instances

Suggested by Răzvan Crainea


  Commit: b3b61f0fe80df0f71fbba5acd53417f0a1ee7a0b
      https://github.com/OpenSIPS/opensips/commit/b3b61f0fe80df0f71fbba5acd53417f0a1ee7a0b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    A modules/freeswitch_scripting/README
    A modules/freeswitch_scripting/doc/freeswitch_scripting.xml
    A modules/freeswitch_scripting/doc/freeswitch_scripting_admin.xml

  Log Message:
  -----------
  freeswitch_scripting: Add documentation


  Commit: a848555e04f572b15c60469071a52db808376823
      https://github.com/OpenSIPS/opensips/commit/a848555e04f572b15c60469071a52db808376823
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    M modules/freeswitch/fs_proc.c
    M modules/freeswitch_scripting/fss_evs.c
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch: Fixes and minor improvements

    * free pending replies on socket cleanup
    * NULL-terminate some printed strings
    * remove unneeded fields
    * fix bad socket cleanup condition
    * add some useful debug logs


  Commit: ece4d1ebc5a7823b3fcdd42be6f937960eec18a3
      https://github.com/OpenSIPS/opensips/commit/ece4d1ebc5a7823b3fcdd42be6f937960eec18a3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/README
    M modules/freeswitch/doc/freeswitch_admin.xml

  Log Message:
  -----------
  freeswitch: Document newly added modparams


  Commit: f33c145a5f5dc3229112407013a8548790ddef2a
      https://github.com/OpenSIPS/opensips/commit/f33c145a5f5dc3229112407013a8548790ddef2a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M modules/freeswitch/fs_mod.c

  Log Message:
  -----------
  freeswitch: Lower default "esl_cmd_polling_itv" to 1ms


  Commit: 9ddb33ea0a3c28af8ecb71638aca7c8dc9a122f8
      https://github.com/OpenSIPS/opensips/commit/9ddb33ea0a3c28af8ecb71638aca7c8dc9a122f8
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-20 (Wed, 20 Dec 2017)

  Changed paths:
    M action.c
    M db/db.c
    A db/schema/freeswitch.xml
    A db/schema/opensips-freeswitch_scripting.xml
    M dprint.h
    M ipc.c
    M ipc.h
    A lib/csv.c
    A lib/csv.h
    R lib/osips_malloc.c
    M lib/osips_malloc.h
    A lib/url.c
    A lib/url.h
    M main.c
    M modules/dispatcher/dispatch.c
    M modules/dispatcher/dispatcher.c
    M modules/event_routing/event_routing.c
    M modules/freeswitch/Makefile
    M modules/freeswitch/README
    M modules/freeswitch/doc/freeswitch_admin.xml
    M modules/freeswitch/fs_api.c
    M modules/freeswitch/fs_api.h
    A modules/freeswitch/fs_ipc.c
    A modules/freeswitch/fs_ipc.h
    M modules/freeswitch/fs_mod.c
    M modules/freeswitch/fs_proc.c
    M modules/freeswitch/fs_proc.h
    A modules/freeswitch_scripting/Makefile
    A modules/freeswitch_scripting/README
    A modules/freeswitch_scripting/doc/freeswitch_scripting.xml
    A modules/freeswitch_scripting/doc/freeswitch_scripting_admin.xml
    A modules/freeswitch_scripting/fss_db.c
    A modules/freeswitch_scripting/fss_db.h
    A modules/freeswitch_scripting/fss_evs.c
    A modules/freeswitch_scripting/fss_evs.h
    A modules/freeswitch_scripting/fss_ipc.c
    A modules/freeswitch_scripting/fss_ipc.h
    A modules/freeswitch_scripting/fss_mod.c
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/load_balancer.c
    M modules/tm/mi.c
    M msg_translator.c
    M net/net_tcp_proc.c
    M net/net_tcp_report.c
    M net/net_udp.c
    M reactor.h
    M reactor_defs.h
    A scripts/db_berkeley/opensips/freeswitch
    A scripts/db_berkeley/opensips/freeswitch_scripting
    M scripts/db_berkeley/opensips/version
    A scripts/dbtext/opensips/freeswitch
    A scripts/dbtext/opensips/freeswitch_scripting
    A scripts/mysql/freeswitch_scripting-create.sql
    M scripts/opensipsctl.base
    M scripts/opensipsctl.fifo
    A scripts/oracle/freeswitch_scripting-create.sql
    A scripts/pi_http/freeswitch_scripting-mod
    A scripts/pi_http/freeswitch_scripting-table
    M scripts/pi_http/pi_framework.xml
    A scripts/postgres/freeswitch_scripting-create.sql
    A scripts/sqlite/freeswitch_scripting-create.sql
    M str.h
    A str_list.h
    M timer.c
    M ut.h

  Log Message:
  -----------
  Merge branch 'feature/freeswitch-extended-integration'


Compare: https://github.com/OpenSIPS/opensips/compare/30d47e65835b...9ddb33ea0a3c

From liviu at opensips.org  Wed Dec 20 13:15:09 2017
From: liviu at opensips.org (liviuchircu)
Date: Wed, 20 Dec 2017 10:15:09 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips]
Message-ID: <5a3aa8ade5a35_55d02afc4e083c143868c@hookshot-fe-2cc8887.cp1-iad.github.net.mail>

  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips

From liviu at opensips.org  Thu Dec 21 04:23:45 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 21 Dec 2017 01:23:45 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 11e418: db: Fix a minor mem
	leak
Message-ID: <5a3b7da1ef8bc_7e232b2693b41c041103be@hookshot-fe-b0febf1.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 11e4181e6dabf47cbbb9d94f65287999793f1a1a
      https://github.com/OpenSIPS/opensips/commit/11e4181e6dabf47cbbb9d94f65287999793f1a1a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M db/db.c

  Log Message:
  -----------
  db: Fix a minor mem leak

(cherry picked from commit 8b6884e98e8b4cbabcd3218f8b7a73864a07fc95)



From liviu at opensips.org  Thu Dec 21 04:24:09 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 21 Dec 2017 01:24:09 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0af523: db: Fix a minor mem
	leak
Message-ID: <5a3b7db91e47e_15a42afb43573c085606@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0af523068242015b1985779c3a2a08b0296168ad
      https://github.com/OpenSIPS/opensips/commit/0af523068242015b1985779c3a2a08b0296168ad
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M db/db.c

  Log Message:
  -----------
  db: Fix a minor mem leak

(cherry picked from commit 8b6884e98e8b4cbabcd3218f8b7a73864a07fc95)



From liviu at opensips.org  Thu Dec 21 04:28:41 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 21 Dec 2017 01:28:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1f3a0a: cachedb core: Fix a
	minor mem leak
Message-ID: <5a3b7ec9c7e8_52512b0b9cea3c10102018@hookshot-fe-31feec6.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1f3a0a3358d13cdfab9e844790ac58711be6ef99
      https://github.com/OpenSIPS/opensips/commit/1f3a0a3358d13cdfab9e844790ac58711be6ef99
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M cachedb/cachedb.c

  Log Message:
  -----------
  cachedb core: Fix a minor mem leak



From liviu at opensips.org  Thu Dec 21 04:28:58 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 21 Dec 2017 01:28:58 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1f4136: cachedb core: Fix a
	minor mem leak
Message-ID: <5a3b7eda7e372_33962ae60c033c0882214@hookshot-fe-8867ff3.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1f41367d0f45c796aea4a900557c2c31b95d00a9
      https://github.com/OpenSIPS/opensips/commit/1f41367d0f45c796aea4a900557c2c31b95d00a9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M cachedb/cachedb.c

  Log Message:
  -----------
  cachedb core: Fix a minor mem leak

(cherry picked from commit 1f3a0a3358d13cdfab9e844790ac58711be6ef99)



From liviu at opensips.org  Thu Dec 21 04:29:07 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 21 Dec 2017 01:29:07 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9af49a: cachedb core: Fix a
	minor mem leak
Message-ID: <5a3b7ee342368_31d2af8ba46fc0c11077d@hookshot-fe-265448d.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9af49a7a93c2bfa386163de91da576bed107b19a
      https://github.com/OpenSIPS/opensips/commit/9af49a7a93c2bfa386163de91da576bed107b19a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M cachedb/cachedb.c

  Log Message:
  -----------
  cachedb core: Fix a minor mem leak

(cherry picked from commit 1f3a0a3358d13cdfab9e844790ac58711be6ef99)



From liviu at opensips.org  Thu Dec 21 04:31:35 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 21 Dec 2017 01:31:35 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9a19ff: cache_counter_fetch():
 Fix bogus error handling
Message-ID: <5a3b7f77448c9_16552b0404843c0c80625@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9a19ff96a2c7db4c544c20065c1c90bb2a5e8aae
      https://github.com/OpenSIPS/opensips/commit/9a19ff96a2c7db4c544c20065c1c90bb2a5e8aae
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M action.c

  Log Message:
  -----------
  cache_counter_fetch(): Fix bogus error handling

(looks like a copy-paste bug)



From liviu at opensips.org  Thu Dec 21 04:31:51 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 21 Dec 2017 01:31:51 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 774653: cache_counter_fetch():
 Fix bogus error handling
Message-ID: <5a3b7f87cd391_2a42ade1d6c3c04116914@hookshot-fe-6e9b612.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 774653190009654168c83a1daa71d4e0e788a3fe
      https://github.com/OpenSIPS/opensips/commit/774653190009654168c83a1daa71d4e0e788a3fe
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M action.c

  Log Message:
  -----------
  cache_counter_fetch(): Fix bogus error handling

(looks like a copy-paste bug)

(cherry picked from commit 9a19ff96a2c7db4c544c20065c1c90bb2a5e8aae)



From liviu at opensips.org  Thu Dec 21 04:31:53 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 21 Dec 2017 01:31:53 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a0193d: cache_counter_fetch():
 Fix bogus error handling
Message-ID: <5a3b7f894416f_1fc32b0619975c08429b9@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a0193d0b3c7b3c819b1c895ad0fd21e9ad6e70f2
      https://github.com/OpenSIPS/opensips/commit/a0193d0b3c7b3c819b1c895ad0fd21e9ad6e70f2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M action.c

  Log Message:
  -----------
  cache_counter_fetch(): Fix bogus error handling

(looks like a copy-paste bug)

(cherry picked from commit 9a19ff96a2c7db4c544c20065c1c90bb2a5e8aae)



From nick.altmann at gmail.com  Thu Dec 21 06:14:25 2017
From: nick.altmann at gmail.com (Nick Altmann)
Date: Thu, 21 Dec 2017 03:14:25 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e64b8e: YUM packaging: add
 freeswitch_scripting module
Message-ID: <5a3b9791d5a4c_733c2accd4195c141251e1@hookshot-fe-d2afb11.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e64b8eaf8b02373698b81f366dc8762156897442
      https://github.com/OpenSIPS/opensips/commit/e64b8eaf8b02373698b81f366dc8762156897442
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  YUM packaging: add freeswitch_scripting module



From liviu at opensips.org  Thu Dec 21 06:28:26 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 21 Dec 2017 03:28:26 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6c62d8: Fix some typos
Message-ID: <5a3b9ada1eca8_72152ab9c4145c00823b4@hookshot-fe-cace476.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6c62d858f417f2ff306353a25eeae8138aefceee
      https://github.com/OpenSIPS/opensips/commit/6c62d858f417f2ff306353a25eeae8138aefceee
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M lib/url.c
    M lib/url.h
    M modules/cfgutils/README
    M modules/cfgutils/doc/cfgutils_admin.xml
    M modules/dns_cache/dns_cache.c
    M modules/event_routing/README
    M modules/event_routing/doc/event_routing_admin.xml
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/mid_registrar_admin.xml
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  Fix some typos



From razvan at opensips.org  Thu Dec 21 08:18:04 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 21 Dec 2017 05:18:04 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e845b3: dialog: don't mark new
	dialogs as deleted
Message-ID: <5a3bb48c8720a_26302b00aa211bfc393d3@hookshot-fe-88eb02d.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e845b37a598d6315b68c4063528b8c72496ce23c
      https://github.com/OpenSIPS/opensips/commit/e845b37a598d6315b68c4063528b8c72496ce23c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  dialog: don't mark new dialogs as deleted



From razvan at opensips.org  Thu Dec 21 08:18:37 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 21 Dec 2017 05:18:37 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8f4a31: dialog: don't mark new
	dialogs as deleted
Message-ID: <5a3bb4ad1d11c_71952ad71ee41c0c7216a@hookshot-fe-cace476.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8f4a31818886392b19f52e8db5a3b8be9fcb41b0
      https://github.com/OpenSIPS/opensips/commit/8f4a31818886392b19f52e8db5a3b8be9fcb41b0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  dialog: don't mark new dialogs as deleted

(cherry picked from commit e845b37a598d6315b68c4063528b8c72496ce23c)



From razvan at opensips.org  Thu Dec 21 08:19:18 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 21 Dec 2017 05:19:18 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5dc400: dialog: don't mark new
	dialogs as deleted
Message-ID: <5a3bb4d65593_76f92ab27074fc001325a4@hookshot-fe-7191cb1.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5dc400017b9b3d556da4c4d736b8eb73dd15dcf4
      https://github.com/OpenSIPS/opensips/commit/5dc400017b9b3d556da4c4d736b8eb73dd15dcf4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  dialog: don't mark new dialogs as deleted

(cherry picked from commit e845b37a598d6315b68c4063528b8c72496ce23c)



From razvan at opensips.org  Fri Dec 22 04:51:41 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Fri, 22 Dec 2017 01:51:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 575a1b: dispatcher: fix TCP
	and TLS destinations
Message-ID: <5a3cd5ad4350a_46f52ab79cf41c0c57362@hookshot-fe-32b5f5b.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 575a1b15936bdc306e00ca01c8534567201d13a9
      https://github.com/OpenSIPS/opensips/commit/575a1b15936bdc306e00ca01c8534567201d13a9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-22 (Fri, 22 Dec 2017)

  Changed paths:
    M modules/dispatcher/dispatch.c

  Log Message:
  -----------
  dispatcher: fix TCP and TLS destinations

Before this commit, the structures used internally to store the
destinations URI were not storing the URI parameters - since these were
dropped, URIs that contain TCP or TLS transport would be involuntary
converted to UDP.
This fix also stores the provisioned parameters in the dst_uri.

Closes #1227


  Commit: bf137620381885f2c21669dac8684446b2479e07
      https://github.com/OpenSIPS/opensips/commit/bf137620381885f2c21669dac8684446b2479e07
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-22 (Fri, 22 Dec 2017)

  Changed paths:
    M modules/dispatcher/dispatch.h

  Log Message:
  -----------
  dispatcher: add comment for uri vs dst_uri


Compare: https://github.com/OpenSIPS/opensips/compare/e845b37a598d...bf1376203818

From razvan at opensips.org  Fri Dec 22 04:51:58 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Fri, 22 Dec 2017 01:51:58 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 74c5e9: dispatcher: fix TCP
	and TLS destinations
Message-ID: <5a3cd5be62cfd_4fb32b260aad9c1410641@hookshot-fe-31feec6.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 74c5e9c32d62b8bd5a438b9da0fe71f4f6aeacac
      https://github.com/OpenSIPS/opensips/commit/74c5e9c32d62b8bd5a438b9da0fe71f4f6aeacac
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-22 (Fri, 22 Dec 2017)

  Changed paths:
    M modules/dispatcher/dispatch.c

  Log Message:
  -----------
  dispatcher: fix TCP and TLS destinations

Before this commit, the structures used internally to store the
destinations URI were not storing the URI parameters - since these were
dropped, URIs that contain TCP or TLS transport would be involuntary
converted to UDP.
This fix also stores the provisioned parameters in the dst_uri.

Closes #1227

(cherry picked from commit 575a1b15936bdc306e00ca01c8534567201d13a9)



From razvan at opensips.org  Fri Dec 22 04:52:11 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Fri, 22 Dec 2017 01:52:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 158396: dispatcher: fix TCP
	and TLS destinations
Message-ID: <5a3cd5cb60c73_75812ad489b89c041400ca@hookshot-fe-7191cb1.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1583965bd28985de03a304d05444546a9edbb1fb
      https://github.com/OpenSIPS/opensips/commit/1583965bd28985de03a304d05444546a9edbb1fb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-22 (Fri, 22 Dec 2017)

  Changed paths:
    M modules/dispatcher/dispatch.c

  Log Message:
  -----------
  dispatcher: fix TCP and TLS destinations

Before this commit, the structures used internally to store the
destinations URI were not storing the URI parameters - since these were
dropped, URIs that contain TCP or TLS transport would be involuntary
converted to UDP.
This fix also stores the provisioned parameters in the dst_uri.

Closes #1227

(cherry picked from commit 575a1b15936bdc306e00ca01c8534567201d13a9)



From razvan at opensips.org  Fri Dec 22 04:56:43 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Fri, 22 Dec 2017 01:56:43 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6b2ad1: dispatcher: restore
 URI headers check from prev. c...
Message-ID: <5a3cd6dbbf381_5e192ad548ddbc18508af@hookshot-fe-d2afb11.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6b2ad1fe3f37ccb5aa0b7fc4da6676278baacedb
      https://github.com/OpenSIPS/opensips/commit/6b2ad1fe3f37ccb5aa0b7fc4da6676278baacedb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-22 (Fri, 22 Dec 2017)

  Changed paths:
    M modules/dispatcher/dispatch.c

  Log Message:
  -----------
  dispatcher: restore URI headers check from prev. commit



From razvan at opensips.org  Fri Dec 22 04:56:58 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Fri, 22 Dec 2017 01:56:58 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 01c078: dispatcher: restore
 URI headers check from prev. c...
Message-ID: <5a3cd6ead2a9a_7ada2ad35ae59c0c13666b@hookshot-fe-7191cb1.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 01c078df2586be8ff2b390d17a82daca22beb411
      https://github.com/OpenSIPS/opensips/commit/01c078df2586be8ff2b390d17a82daca22beb411
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-22 (Fri, 22 Dec 2017)

  Changed paths:
    M modules/dispatcher/dispatch.c

  Log Message:
  -----------
  dispatcher: restore URI headers check from prev. commit

(cherry picked from commit 6b2ad1fe3f37ccb5aa0b7fc4da6676278baacedb)



From razvan at opensips.org  Fri Dec 22 04:57:17 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Fri, 22 Dec 2017 01:57:17 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d07bfb: dispatcher: restore
 URI headers check from prev. c...
Message-ID: <5a3cd6fdced3_7d972ac3b2a9bc1c4679b@hookshot-fe-b0febf1.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d07bfb78d68d5c3ec8eb6986477e07ec04fb4f86
      https://github.com/OpenSIPS/opensips/commit/d07bfb78d68d5c3ec8eb6986477e07ec04fb4f86
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-22 (Fri, 22 Dec 2017)

  Changed paths:
    M modules/dispatcher/dispatch.c

  Log Message:
  -----------
  dispatcher: restore URI headers check from prev. commit

(cherry picked from commit 6b2ad1fe3f37ccb5aa0b7fc4da6676278baacedb)



From razvan at opensips.org  Fri Dec 22 05:48:53 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Fri, 22 Dec 2017 02:48:53 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d2c1c7: rtpproxy: store
	returned IP:port in pvar
Message-ID: <5a3ce31557d96_a9a2b15693c3c101032c6@hookshot-fe-d252ca1.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d2c1c7838035c834717b4615f5ea88411619063d
      https://github.com/OpenSIPS/opensips/commit/d2c1c7838035c834717b4615f5ea88411619063d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-22 (Fri, 22 Dec 2017)

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

  Log Message:
  -----------
  rtpproxy: store returned IP:port in pvar

Closes #1233



