From bogdan at opensips.org  Mon Jul  3 08:09:47 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 03 Jul 2017 05:09:47 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b06f4f: Set proper UPDATED
	flag upon cloning.
Message-ID: <595a340b63fb0_1f3a3ff16e4f3c34826a9@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b06f4fb4e50c3e302ec5b1d32d0a026f5984c189
      https://github.com/OpenSIPS/opensips/commit/b06f4fb4e50c3e302ec5b1d32d0a026f5984c189
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M modules/tm/sip_msg.c

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

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

(cherry picked from commit 0f9e65fef33d2846eaf0d3f17a469c321796cee5)



From bogdan at opensips.org  Mon Jul  3 08:09:52 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 03 Jul 2017 05:09:52 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7723cd: Set proper UPDATED
	flag upon cloning.
Message-ID: <595a341018226_6b913fd808a27c34897e3@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7723cd3f6d08d95c3a1d56801e2f234f8e521c23
      https://github.com/OpenSIPS/opensips/commit/7723cd3f6d08d95c3a1d56801e2f234f8e521c23
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M modules/tm/sip_msg.c

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

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

(cherry picked from commit 0f9e65fef33d2846eaf0d3f17a469c321796cee5)



From bogdan at opensips.org  Mon Jul  3 09:32:42 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 03 Jul 2017 06:32:42 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 382f56: Added extra code for
 sanity checks over reactor da...
Message-ID: <595a477ad5b67_486e3f8242377c341108ec@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 382f567cf35affd1b04a838de1b260f720222d61
      https://github.com/OpenSIPS/opensips/commit/382f567cf35affd1b04a838de1b260f720222d61
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M io_wait.h
    M io_wait_loop.h

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

(cherry picked from commit ab26d05599074e8ef4a5ba7f68e60c739be7cbfc)


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

  Changed paths:
    M io_wait.h
    M io_wait_loop.h

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

(cherry picked from commit b90094c46bb8dadc3f6f13be6c394c6b7208190e)


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

  Changed paths:
    M io_wait.h
    M io_wait_loop.h

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

(cherry picked from commit 0dfbad3861e6fb066db3a4aea4e78f17ab0b27f5)


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

  Changed paths:
    M io_wait.h
    M io_wait_loop.h

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

(cherry picked from commit 34d98d82dc7cff162782b57af8e8f04e6719109c)


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

  Changed paths:
    M io_wait_loop.h

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

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

(cherry picked from commit ade9c93d807abb97ababa0033589b46f70c040da)


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

  Changed paths:
    M io_wait_loop.h

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

(cherry picked from commit b60780c502ae3b7b9f54f2047da04cb95d915e5b)


Compare: https://github.com/OpenSIPS/opensips/compare/b06f4fb4e50c...e38e6daa17f9

From bogdan at opensips.org  Mon Jul  3 09:32:49 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 03 Jul 2017 06:32:49 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b276dc: Added auto-healing for
	reactor.
Message-ID: <595a47818d4d2_48cc3f9804205c3414938f@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b276dca39e4944b81e9f2dd38266d5e09f1168a5
      https://github.com/OpenSIPS/opensips/commit/b276dca39e4944b81e9f2dd38266d5e09f1168a5
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M io_wait_loop.h

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

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

(cherry picked from commit 4929bcee6b69a809052d25f141a1849cd272a749)


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

  Changed paths:
    M io_wait.h
    M io_wait_loop.h

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

(cherry picked from commit ab26d05599074e8ef4a5ba7f68e60c739be7cbfc)


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

  Changed paths:
    M io_wait.h
    M io_wait_loop.h

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

(cherry picked from commit b90094c46bb8dadc3f6f13be6c394c6b7208190e)


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

  Changed paths:
    M io_wait.h
    M io_wait_loop.h

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

(cherry picked from commit 0dfbad3861e6fb066db3a4aea4e78f17ab0b27f5)


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

  Changed paths:
    M io_wait.h
    M io_wait_loop.h

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

(cherry picked from commit 34d98d82dc7cff162782b57af8e8f04e6719109c)


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

  Changed paths:
    M io_wait_loop.h

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

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

(cherry picked from commit ade9c93d807abb97ababa0033589b46f70c040da)


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

  Changed paths:
    M io_wait_loop.h

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

(cherry picked from commit b60780c502ae3b7b9f54f2047da04cb95d915e5b)


Compare: https://github.com/OpenSIPS/opensips/compare/7723cd3f6d08...24ea7e8db108

From osas at voipembedded.com  Mon Jul  3 10:04:37 2017
From: osas at voipembedded.com (Ovidiu Sas)
Date: Mon, 3 Jul 2017 10:04:37 -0400
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 382f56: Added extra code
 for sanity checks over reactor da...
In-Reply-To: <595a477ad5b67_486e3f8242377c341108ec@hookshot-fe1-cp1-prd.iad.github.net.mail>
References: <595a477ad5b67_486e3f8242377c341108ec@hookshot-fe1-cp1-prd.iad.github.net.mail>
Message-ID: <CAND0LkvVTcX-S1Fw5ug52vHYQYe92bP4mzvTuGkkqG7_s+0q_A@mail.gmail.com>

This set of commits seems to generate some errors all over the code:
Compiling async.c
In file included from mem/shm_mem.h:53:0,
                 from async.c:26:
io_wait.h: In function ‘io_watch_add.constprop.6’:
mem/../dprint.h:335:11: warning: ‘already’ may be used uninitialized
in this function [-Wmaybe-uninitialized]
     dprint( _prefix LOG_PREFIX _fmt, dp_time(), \
           ^
In file included from reactor_defs.h:40:0,
                 from async.c:28:
io_wait.h:381:6: note: ‘already’ was declared here
  int already;
      ^

-ovidiu

On Mon, Jul 3, 2017 at 9:32 AM, Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:
>   Branch: refs/heads/2.3
>   Home:   https://github.com/OpenSIPS/opensips
>   Commit: 382f567cf35affd1b04a838de1b260f720222d61
>       https://github.com/OpenSIPS/opensips/commit/382f567cf35affd1b04a838de1b260f720222d61
>   Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
>   Date:   2017-07-03 (Mon, 03 Jul 2017)
>
>   Changed paths:
>     M io_wait.h
>     M io_wait_loop.h
>
>   Log Message:
>   -----------
>   Added extra code for sanity checks over reactor data
>
> (cherry picked from commit ab26d05599074e8ef4a5ba7f68e60c739be7cbfc)
>
>
>   Commit: e05db1806cdb8fb0040672f0f12697922977dd9b
>       https://github.com/OpenSIPS/opensips/commit/e05db1806cdb8fb0040672f0f12697922977dd9b
>   Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
>   Date:   2017-07-03 (Mon, 03 Jul 2017)
>
>   Changed paths:
>     M io_wait.h
>     M io_wait_loop.h
>
>   Log Message:
>   -----------
>   Fix prev commit - data may be null for valid fd maps (like timer jobs)
>
> (cherry picked from commit b90094c46bb8dadc3f6f13be6c394c6b7208190e)
>
>
>   Commit: 2035f4049f273f90a935239e8a85d54577d867aa
>       https://github.com/OpenSIPS/opensips/commit/2035f4049f273f90a935239e8a85d54577d867aa
>   Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
>   Date:   2017-07-03 (Mon, 03 Jul 2017)
>
>   Changed paths:
>     M io_wait.h
>     M io_wait_loop.h
>
>   Log Message:
>   -----------
>   Fix for prev+1 commit - fd=0 should be consider unset (as -1)
>
> (cherry picked from commit 0dfbad3861e6fb066db3a4aea4e78f17ab0b27f5)
>
>
>   Commit: 84a53b8bd9b11990741399da9d3e024fc66db39d
>       https://github.com/OpenSIPS/opensips/commit/84a53b8bd9b11990741399da9d3e024fc66db39d
>   Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
>   Date:   2017-07-03 (Mon, 03 Jul 2017)
>
>   Changed paths:
>     M io_wait.h
>     M io_wait_loop.h
>
>   Log Message:
>   -----------
>   Flag reset fixed; print flags as hexa
>
> (cherry picked from commit 34d98d82dc7cff162782b57af8e8f04e6719109c)
>
>
>   Commit: d4f99f78640e4eb84d70ff7737d7ed9739ad5172
>       https://github.com/OpenSIPS/opensips/commit/d4f99f78640e4eb84d70ff7737d7ed9739ad5172
>   Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
>   Date:   2017-07-03 (Mon, 03 Jul 2017)
>
>   Changed paths:
>     M io_wait_loop.h
>
>   Log Message:
>   -----------
>   Triggered fds with no fd_map are reported and removed from epoll
>
> If epoll triggers on a fd that has a cleared (removed) fd_map, remove it from epoll.
>
> (cherry picked from commit ade9c93d807abb97ababa0033589b46f70c040da)
>
>
>   Commit: e38e6daa17f989d0704df614718591e0aa375fdb
>       https://github.com/OpenSIPS/opensips/commit/e38e6daa17f989d0704df614718591e0aa375fdb
>   Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
>   Date:   2017-07-03 (Mon, 03 Jul 2017)
>
>   Changed paths:
>     M io_wait_loop.h
>
>   Log Message:
>   -----------
>   Downgrade severity and extra loging on epoll self healing
>
> (cherry picked from commit b60780c502ae3b7b9f54f2047da04cb95d915e5b)
>
>
> Compare: https://github.com/OpenSIPS/opensips/compare/b06f4fb4e50c...e38e6daa17f9
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com


From bogdan at opensips.org  Mon Jul  3 10:21:02 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 03 Jul 2017 07:21:02 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e14972: Set some default value
 for "already", to avoid bog...
Message-ID: <595a52ce66ebc_360f3f880c98bc4028536@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e1497271f02966736de834c35bf5943d0fd9ef0b
      https://github.com/OpenSIPS/opensips/commit/e1497271f02966736de834c35bf5943d0fd9ef0b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M io_wait.h

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

Reported by Ovidiu Sas



From bogdan at opensips.org  Mon Jul  3 10:27:35 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 03 Jul 2017 07:27:35 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 36db13: Set some default value
 for "already", to avoid bog...
Message-ID: <595a5457eb2b6_6cc83f83c2f01c2c28041@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 36db1302dc80275aab987576d2403552137780e9
      https://github.com/OpenSIPS/opensips/commit/36db1302dc80275aab987576d2403552137780e9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M io_wait.h

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

Reported by Ovidiu Sas

(cherry picked from commit e1497271f02966736de834c35bf5943d0fd9ef0b)



From bogdan at opensips.org  Mon Jul  3 10:27:49 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 03 Jul 2017 07:27:49 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c4c84f: Set some default value
 for "already", to avoid bog...
Message-ID: <595a54654ed2d_112b3f80cc5cdc44124435@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c4c84f1e39bb54cad232dda59f21db580cd742e1
      https://github.com/OpenSIPS/opensips/commit/c4c84f1e39bb54cad232dda59f21db580cd742e1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M io_wait.h

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

Reported by Ovidiu Sas

(cherry picked from commit e1497271f02966736de834c35bf5943d0fd9ef0b)



From bogdan at opensips.org  Mon Jul  3 10:29:32 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 3 Jul 2017 17:29:32 +0300
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 382f56: Added extra code
 for sanity checks over reactor da...
In-Reply-To: <CAND0LkvVTcX-S1Fw5ug52vHYQYe92bP4mzvTuGkkqG7_s+0q_A@mail.gmail.com>
References: <595a477ad5b67_486e3f8242377c341108ec@hookshot-fe1-cp1-prd.iad.github.net.mail>
 <CAND0LkvVTcX-S1Fw5ug52vHYQYe92bP4mzvTuGkkqG7_s+0q_A@mail.gmail.com>
Message-ID: <028ec348-fbf8-bb1a-f501-43da2f08c15e@opensips.org>

Hi Ovidiu,

Strange, my compiler did not complained about that, still there are some 
logical cases where you end up printing an un-init value for "already".

Fixes are available on all versions.

Many thanks,

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

OpenSIPS Bootcamp 2017, Houston, US
   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html

On 07/03/2017 05:04 PM, Ovidiu Sas wrote:
> This set of commits seems to generate some errors all over the code:
> Compiling async.c
> In file included from mem/shm_mem.h:53:0,
>                   from async.c:26:
> io_wait.h: In function ‘io_watch_add.constprop.6’:
> mem/../dprint.h:335:11: warning: ‘already’ may be used uninitialized
> in this function [-Wmaybe-uninitialized]
>       dprint( _prefix LOG_PREFIX _fmt, dp_time(), \
>             ^
> In file included from reactor_defs.h:40:0,
>                   from async.c:28:
> io_wait.h:381:6: note: ‘already’ was declared here
>    int already;
>        ^
>
> -ovidiu
>
> On Mon, Jul 3, 2017 at 9:32 AM, Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:
>>    Branch: refs/heads/2.3
>>    Home:   https://github.com/OpenSIPS/opensips
>>    Commit: 382f567cf35affd1b04a838de1b260f720222d61
>>        https://github.com/OpenSIPS/opensips/commit/382f567cf35affd1b04a838de1b260f720222d61
>>    Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
>>    Date:   2017-07-03 (Mon, 03 Jul 2017)
>>
>>    Changed paths:
>>      M io_wait.h
>>      M io_wait_loop.h
>>
>>    Log Message:
>>    -----------
>>    Added extra code for sanity checks over reactor data
>>
>> (cherry picked from commit ab26d05599074e8ef4a5ba7f68e60c739be7cbfc)
>>
>>
>>    Commit: e05db1806cdb8fb0040672f0f12697922977dd9b
>>        https://github.com/OpenSIPS/opensips/commit/e05db1806cdb8fb0040672f0f12697922977dd9b
>>    Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
>>    Date:   2017-07-03 (Mon, 03 Jul 2017)
>>
>>    Changed paths:
>>      M io_wait.h
>>      M io_wait_loop.h
>>
>>    Log Message:
>>    -----------
>>    Fix prev commit - data may be null for valid fd maps (like timer jobs)
>>
>> (cherry picked from commit b90094c46bb8dadc3f6f13be6c394c6b7208190e)
>>
>>
>>    Commit: 2035f4049f273f90a935239e8a85d54577d867aa
>>        https://github.com/OpenSIPS/opensips/commit/2035f4049f273f90a935239e8a85d54577d867aa
>>    Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
>>    Date:   2017-07-03 (Mon, 03 Jul 2017)
>>
>>    Changed paths:
>>      M io_wait.h
>>      M io_wait_loop.h
>>
>>    Log Message:
>>    -----------
>>    Fix for prev+1 commit - fd=0 should be consider unset (as -1)
>>
>> (cherry picked from commit 0dfbad3861e6fb066db3a4aea4e78f17ab0b27f5)
>>
>>
>>    Commit: 84a53b8bd9b11990741399da9d3e024fc66db39d
>>        https://github.com/OpenSIPS/opensips/commit/84a53b8bd9b11990741399da9d3e024fc66db39d
>>    Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
>>    Date:   2017-07-03 (Mon, 03 Jul 2017)
>>
>>    Changed paths:
>>      M io_wait.h
>>      M io_wait_loop.h
>>
>>    Log Message:
>>    -----------
>>    Flag reset fixed; print flags as hexa
>>
>> (cherry picked from commit 34d98d82dc7cff162782b57af8e8f04e6719109c)
>>
>>
>>    Commit: d4f99f78640e4eb84d70ff7737d7ed9739ad5172
>>        https://github.com/OpenSIPS/opensips/commit/d4f99f78640e4eb84d70ff7737d7ed9739ad5172
>>    Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
>>    Date:   2017-07-03 (Mon, 03 Jul 2017)
>>
>>    Changed paths:
>>      M io_wait_loop.h
>>
>>    Log Message:
>>    -----------
>>    Triggered fds with no fd_map are reported and removed from epoll
>>
>> If epoll triggers on a fd that has a cleared (removed) fd_map, remove it from epoll.
>>
>> (cherry picked from commit ade9c93d807abb97ababa0033589b46f70c040da)
>>
>>
>>    Commit: e38e6daa17f989d0704df614718591e0aa375fdb
>>        https://github.com/OpenSIPS/opensips/commit/e38e6daa17f989d0704df614718591e0aa375fdb
>>    Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
>>    Date:   2017-07-03 (Mon, 03 Jul 2017)
>>
>>    Changed paths:
>>      M io_wait_loop.h
>>
>>    Log Message:
>>    -----------
>>    Downgrade severity and extra loging on epoll self healing
>>
>> (cherry picked from commit b60780c502ae3b7b9f54f2047da04cb95d915e5b)
>>
>>
>> Compare: https://github.com/OpenSIPS/opensips/compare/b06f4fb4e50c...e38e6daa17f9
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>
>
>



From liviu at opensips.org  Mon Jul  3 10:55:55 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 03 Jul 2017 07:55:55 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1bf414: TCP engine: Fix ref
 counting bug in async writes
Message-ID: <595a5afb375ae_65613f99a065bc286503@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1bf414226d0a7616d8a7b3dbd730fe45a42f9084
      https://github.com/OpenSIPS/opensips/commit/1bf414226d0a7616d8a7b3dbd730fe45a42f9084
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

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

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

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

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

(cherry picked from commit 04e2d6e5f46b98c481b2e810ea0aa73c7be36b40)


  Commit: 0fd713369378c6c4c0682b5f503346bb80d6c41e
      https://github.com/OpenSIPS/opensips/commit/0fd713369378c6c4c0682b5f503346bb80d6c41e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M net/net_tcp_proc.c

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

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

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

Thanks to Bogdan for helping with troubleshooting

(cherry picked from commit 99181710c3f52b4ca97186623af0a7760191a276)


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

  Changed paths:
    M net/net_tcp_proc.c

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

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

(cherry picked from commit d5fca4482ab1746351157ee0353474a24b084f60)


  Commit: 6a5fd0e6451eb9614c14669bd8c0f94d5f00c0a1
      https://github.com/OpenSIPS/opensips/commit/6a5fd0e6451eb9614c14669bd8c0f94d5f00c0a1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M net/net_tcp.c

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

(cherry picked from commit a7249f03d7a16221e21b8f57eb73540f0b8c4888)


  Commit: 4f06fd6e5c3e8cac3d1c5ccc2d332948e10a5152
      https://github.com/OpenSIPS/opensips/commit/4f06fd6e5c3e8cac3d1c5ccc2d332948e10a5152
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

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

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

(cherry picked from commit 8845fd7950ec90fad7498b323745c86cac4070f6)


Compare: https://github.com/OpenSIPS/opensips/compare/e1497271f029...4f06fd6e5c3e

From liviu at opensips.org  Mon Jul  3 10:55:56 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 03 Jul 2017 07:55:56 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7d30b9: TCP engine: Fix ref
 counting bug in async writes
Message-ID: <595a5afcde2ad_21a43feae7b85c3810065c@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7d30b9c234b4ba858299d0915113c67cef0b84e6
      https://github.com/OpenSIPS/opensips/commit/7d30b9c234b4ba858299d0915113c67cef0b84e6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

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

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

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

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

(cherry picked from commit 04e2d6e5f46b98c481b2e810ea0aa73c7be36b40)


  Commit: 9ede5894afe4b1f5877e51c36b21308d0d968ff9
      https://github.com/OpenSIPS/opensips/commit/9ede5894afe4b1f5877e51c36b21308d0d968ff9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M net/net_tcp_proc.c

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

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

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

Thanks to Bogdan for helping with troubleshooting

(cherry picked from commit 99181710c3f52b4ca97186623af0a7760191a276)


  Commit: 2ae866fabd2575cec02305e888a2f049dabb8a21
      https://github.com/OpenSIPS/opensips/commit/2ae866fabd2575cec02305e888a2f049dabb8a21
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M net/net_tcp_proc.c

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

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

(cherry picked from commit d5fca4482ab1746351157ee0353474a24b084f60)


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

  Changed paths:
    M net/net_tcp.c

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

(cherry picked from commit a7249f03d7a16221e21b8f57eb73540f0b8c4888)


  Commit: 09a7533ed1a910762fcc8f9d13d013bee5921477
      https://github.com/OpenSIPS/opensips/commit/09a7533ed1a910762fcc8f9d13d013bee5921477
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

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

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

(cherry picked from commit 8845fd7950ec90fad7498b323745c86cac4070f6)


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

  Changed paths:
    M modules/tm/sip_msg.c

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

This reverts commit 7723cd3f6d08d95c3a1d56801e2f234f8e521c23.


Compare: https://github.com/OpenSIPS/opensips/compare/36db1302dc80...8c35fc4e203d

From liviu at opensips.org  Mon Jul  3 11:05:56 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 03 Jul 2017 08:05:56 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e56f49: cfg parser: Fix
 underflow with an empty mpath
Message-ID: <595a5d548bca8_5fd53fc347c87c341309f1@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e56f49d7a99db9f8582aeb81849dc0b98852579f
      https://github.com/OpenSIPS/opensips/commit/e56f49d7a99db9f8582aeb81849dc0b98852579f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M cfg.y

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

(cherry picked from commit 9e07f3f3650607c3e0298182aa3bb08d377e8837)



From liviu at opensips.org  Mon Jul  3 11:06:03 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 03 Jul 2017 08:06:03 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] eaafc9: cfg parser: Fix
 underflow with an empty mpath
Message-ID: <595a5d5b17d7f_14db3f8b4aba5c2420055@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: eaafc9b77c54602ced08c7741fdc95c7392fbde5
      https://github.com/OpenSIPS/opensips/commit/eaafc9b77c54602ced08c7741fdc95c7392fbde5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M cfg.y

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

(cherry picked from commit 9e07f3f3650607c3e0298182aa3bb08d377e8837)



From bogdan at opensips.org  Mon Jul  3 11:36:50 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 03 Jul 2017 08:36:50 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 05ece7: Remove bogus auto
 conversion from SIP uri to TEL u...
Message-ID: <595a64924948b_6813fdf92509c341778b6@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 05ece794083f8328cbd5259cdb7b3aead8d9f943
      https://github.com/OpenSIPS/opensips/commit/05ece794083f8328cbd5259cdb7b3aead8d9f943
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M parser/parse_uri.c

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

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



From bogdan at opensips.org  Mon Jul  3 11:38:10 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 03 Jul 2017 08:38:10 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3fd772: Remove bogus auto
 conversion from SIP uri to TEL u...
Message-ID: <595a64e2a1732_4e093f9872f39c342258df@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3fd772cf2c35cbae2385aeb006271d6015b7f5aa
      https://github.com/OpenSIPS/opensips/commit/3fd772cf2c35cbae2385aeb006271d6015b7f5aa
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M parser/parse_uri.c

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

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

(cherry picked from commit 05ece794083f8328cbd5259cdb7b3aead8d9f943)



From bogdan at opensips.org  Mon Jul  3 11:38:46 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 03 Jul 2017 08:38:46 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 91c14c: Remove bogus auto
 conversion from SIP uri to TEL u...
Message-ID: <595a6506d2990_5a5e3f7f6afc3c3413208f@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 91c14ce679f80c8b4888769004c08039da2fc805
      https://github.com/OpenSIPS/opensips/commit/91c14ce679f80c8b4888769004c08039da2fc805
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M parser/parse_uri.c

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

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

(cherry picked from commit 05ece794083f8328cbd5259cdb7b3aead8d9f943)



From bogdan at opensips.org  Mon Jul  3 12:55:29 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 3 Jul 2017 19:55:29 +0300
Subject: [OpenSIPS-Devel] =?utf-8?q?OpenSIPS_=40_ClueCon_2017_=E2=80=93_Tr?=
	=?utf-8?q?aining_and_more?=
Message-ID: <9e028e28-8085-0e72-d949-246a08fb83c5@opensips.org>

This year we will be part of ClueCon once again !

https://blog.opensips.org/2017/07/03/opensips-cluecon-2017-training-and-more/

See you in Chicago,

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

OpenSIPS Bootcamp 2017, Houston, US
   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html



From liviu at opensips.org  Mon Jul  3 13:07:01 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 03 Jul 2017 10:07:01 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 969e1b: struct history
 tracker: Improve log flushing behav...
Message-ID: <595a79b5e612c_78873fd41c72bc3c1916d@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 969e1b7b13a2db6740828c53cf51bd5a7ee738e6
      https://github.com/OpenSIPS/opensips/commit/969e1b7b13a2db6740828c53cf51bd5a7ee738e6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
    M lib/dbg/struct_hist.c

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



From liviu at opensips.org  Tue Jul  4 06:28:18 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 04 Jul 2017 03:28:18 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6675c6: struct history
 tracker: Include object name in API
Message-ID: <595b6dc2d0f37_4d33fcc26affc3018453@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6675c6e8af8faba69a5cc4426dda5e87c9b1522f
      https://github.com/OpenSIPS/opensips/commit/6675c6e8af8faba69a5cc4426dda5e87c9b1522f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

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

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



From liviu at opensips.org  Tue Jul  4 08:57:44 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 04 Jul 2017 05:57:44 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e9a2dc: struct history
 tracker: Fix some subtle locking bu...
Message-ID: <595b90c8ac7dd_509b3fbfc0a2dc3423035d@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e9a2dc24eb7cf9a3b1542fdc95a367a6b6ad3056
      https://github.com/OpenSIPS/opensips/commit/e9a2dc24eb7cf9a3b1542fdc95a367a6b6ad3056
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
    M lib/dbg/struct_hist.c

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

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



From bogdan at opensips.org  Tue Jul  4 10:11:59 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 04 Jul 2017 07:11:59 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 059545: Fix tracing race
 condition on SSL based connects
Message-ID: <595ba22fc290f_7c083f90d7dcfc3818798f@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 059545765e34dc8016c278a3e4800a33929bd117
      https://github.com/OpenSIPS/opensips/commit/059545765e34dc8016c278a3e4800a33929bd117
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

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

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

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



From bogdan at opensips.org  Tue Jul  4 10:13:58 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 04 Jul 2017 07:13:58 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f2666c: Fix tracing race
 condition on SSL based connects
Message-ID: <595ba2a663e9a_14de3fe81bf6fc281260f6@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f2666cbc3eb3155283aa57b019d482e0c5cea4e8
      https://github.com/OpenSIPS/opensips/commit/f2666cbc3eb3155283aa57b019d482e0c5cea4e8
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

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

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

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

(cherry picked from commit 059545765e34dc8016c278a3e4800a33929bd117)



From bogdan at opensips.org  Tue Jul  4 11:39:49 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 04 Jul 2017 08:39:49 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e2f872: Fixed memory leak on
	proto TLS tracing.
Message-ID: <595bb6c5b1dc7_2a423ffb78237c341524c4@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e2f872598145bad7913215b48b929b05dff78311
      https://github.com/OpenSIPS/opensips/commit/e2f872598145bad7913215b48b929b05dff78311
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
    M modules/proto_tls/proto_tls.c

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

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



From bogdan at opensips.org  Tue Jul  4 11:40:31 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 04 Jul 2017 08:40:31 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f8cf5a: Fixed memory leak on
	proto TLS tracing.
Message-ID: <595bb6ef8bd65_12f43f7f241a5c38164490@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f8cf5aca942ac4233d2ae9e0588bf72e4d6cb903
      https://github.com/OpenSIPS/opensips/commit/f8cf5aca942ac4233d2ae9e0588bf72e4d6cb903
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
    M modules/proto_tls/proto_tls.c

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

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

(cherry picked from commit e2f872598145bad7913215b48b929b05dff78311)



From bogdan at opensips.org  Tue Jul  4 11:43:57 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 04 Jul 2017 08:43:57 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e08d54: Destroy the TCP conn
 even if the WS link has missi...
Message-ID: <595bb7bdd33d4_cfc3fe3510f3c2c2489d4@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e08d54e6bc1a2550cd3ec6c7aec12f6a69b6377a
      https://github.com/OpenSIPS/opensips/commit/e08d54e6bc1a2550cd3ec6c7aec12f6a69b6377a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
    M modules/proto_wss/proto_wss.c

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

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



From bogdan at opensips.org  Tue Jul  4 11:46:19 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 04 Jul 2017 08:46:19 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9cf756: Destroy the TCP conn
 even if the WS link has missi...
Message-ID: <595bb84b3e7c6_7713fa659001c4011058@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9cf756c73c60c69cf573027bb01f22a5c629142c
      https://github.com/OpenSIPS/opensips/commit/9cf756c73c60c69cf573027bb01f22a5c629142c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
    M modules/proto_wss/proto_wss.c

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

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

(cherry picked from commit e08d54e6bc1a2550cd3ec6c7aec12f6a69b6377a)



From bogdan at opensips.org  Tue Jul  4 11:47:02 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 04 Jul 2017 08:47:02 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4ba179: Destroy the TCP conn
 even if the WS link has missi...
Message-ID: <595bb8766bd2e_6cbe3f880c653c3059854@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4ba179df58516bba455248bc1d26f86e49ef82e5
      https://github.com/OpenSIPS/opensips/commit/4ba179df58516bba455248bc1d26f86e49ef82e5
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
    M modules/proto_wss/proto_wss.c

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

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

(cherry picked from commit e08d54e6bc1a2550cd3ec6c7aec12f6a69b6377a)



From liviu at opensips.org  Tue Jul  4 12:20:08 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 04 Jul 2017 09:20:08 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9957ff: pua: Fix several
 locking & memory access bugs
Message-ID: <595bc03819d89_12b43fde093b9c3845946@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9957ff2d9acc4a2686495b5e2ea43cdc3bb7e3ed
      https://github.com/OpenSIPS/opensips/commit/9957ff2d9acc4a2686495b5e2ea43cdc3bb7e3ed
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
    M modules/pua/send_publish.c

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

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



From liviu at opensips.org  Tue Jul  4 12:24:49 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 04 Jul 2017 09:24:49 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e32975: pua: Fix several
 locking & memory access bugs
Message-ID: <595bc151db493_62b3fdd5d051c3c164711@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e32975f507554f98252866e92667ae857b5e696c
      https://github.com/OpenSIPS/opensips/commit/e32975f507554f98252866e92667ae857b5e696c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
    M modules/pua/send_publish.c

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

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

(cherry picked from commit 9957ff2d9acc4a2686495b5e2ea43cdc3bb7e3ed)



From liviu at opensips.org  Tue Jul  4 12:25:41 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 04 Jul 2017 09:25:41 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8e65aa: pua: Fix several
 locking & memory access bugs
Message-ID: <595bc185d51d7_429d3fa4d6763c382026f4@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8e65aa71b3f18c9654e97a3467a09e13f3261548
      https://github.com/OpenSIPS/opensips/commit/8e65aa71b3f18c9654e97a3467a09e13f3261548
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
    M modules/pua/send_publish.c

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

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

(cherry picked from commit 9957ff2d9acc4a2686495b5e2ea43cdc3bb7e3ed)



From liviu at opensips.org  Tue Jul  4 13:30:21 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 04 Jul 2017 10:30:21 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4a628f: struct history
 tracker: Rework verb defining and p...
Message-ID: <595bd0ad54416_2e5f53fbd1688bc341240d0@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4a628f411235f5824c86875b5d5d3571f479edd7
      https://github.com/OpenSIPS/opensips/commit/4a628f411235f5824c86875b5d5d3571f479edd7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

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

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

Thanks to Răzvan for suggesting the sweet cpp trick



From razvan at opensips.org  Wed Jul  5 04:05:36 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 05 Jul 2017 01:05:36 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 54a575: acc: release memory
 allocated for loaded dialogs
Message-ID: <595c9dd0991bb_6c953fe284eabc3417395b@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 54a5752768ef446b6b58d28962b05f963aabe740
      https://github.com/OpenSIPS/opensips/commit/54a5752768ef446b6b58d28962b05f963aabe740
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-05 (Wed, 05 Jul 2017)

  Changed paths:
    M modules/acc/acc_logic.c

  Log Message:
  -----------
  acc: release memory allocated for loaded dialogs



From liviu at opensips.org  Wed Jul  5 07:58:51 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 05 Jul 2017 04:58:51 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bb2228: exec: Fix incorrect
 pclose() calls on standard I/O...
Message-ID: <595cd47b733aa_29223fa3f0e95c401731eb@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bb2228bf67d89e09686912cb52356e3a0b757eec
      https://github.com/OpenSIPS/opensips/commit/bb2228bf67d89e09686912cb52356e3a0b757eec
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-05 (Wed, 05 Jul 2017)

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

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

Many thanks to Walter Doekes for detailing this issue

(also including some minor code improvements)

(cherry picked from commit 96ba9ed03d2223f09b6fd25061d229c2c7ee5eb4)



From liviu at opensips.org  Wed Jul  5 07:58:53 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 05 Jul 2017 04:58:53 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 72a8a4: exec: Fix incorrect
 pclose() calls on standard I/O...
Message-ID: <595cd47de9bcf_18a573fafd83bbc40626b@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 72a8a4259010264d010cb4b19b7cef9a059b6249
      https://github.com/OpenSIPS/opensips/commit/72a8a4259010264d010cb4b19b7cef9a059b6249
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-05 (Wed, 05 Jul 2017)

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

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

Many thanks to Walter Doekes for detailing this issue

(also including some minor code improvements)

(cherry picked from commit 96ba9ed03d2223f09b6fd25061d229c2c7ee5eb4)



From liviu at opensips.org  Wed Jul  5 09:30:28 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 05 Jul 2017 06:30:28 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d41274: dialog: Update FAQ
	regarding issue #938
Message-ID: <595ce9f4d1c83_50da3fc61165dc3818733e@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d412742795d67eb40c8c20ad5f96ba628e379305
      https://github.com/OpenSIPS/opensips/commit/d412742795d67eb40c8c20ad5f96ba628e379305
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-05 (Wed, 05 Jul 2017)

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

  Log Message:
  -----------
  dialog: Update FAQ regarding issue #938

"The 2.2 dialog does not support simultaneous use of dialog and profile
replication"



From razvan at opensips.org  Wed Jul  5 09:44:27 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 05 Jul 2017 06:44:27 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3a1647: acc: specify that
 *extra_bye should be populated b...
Message-ID: <595ced3b81e32_61e33feb79fcdc401370ed@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3a164717e2302b7accbd747a4e2ad922d201c811
      https://github.com/OpenSIPS/opensips/commit/3a164717e2302b7accbd747a4e2ad922d201c811
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-05 (Wed, 05 Jul 2017)

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

  Log Message:
  -----------
  acc: specify that *extra_bye should be populated before matching dialog



From razvan at opensips.org  Wed Jul  5 09:46:22 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 05 Jul 2017 06:46:22 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5b207b: acc: specify that
 *extra_bye should be populated b...
Message-ID: <595cedae33e2e_14183f810bd11c28715fd@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5b207b74bc6d3c9ed2e83f6d196b2f7255ce98f0
      https://github.com/OpenSIPS/opensips/commit/5b207b74bc6d3c9ed2e83f6d196b2f7255ce98f0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-05 (Wed, 05 Jul 2017)

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

  Log Message:
  -----------
  acc: specify that *extra_bye should be populated before matching dialog

(cherry picked from commit 3a164717e2302b7accbd747a4e2ad922d201c811)



From razvan at opensips.org  Wed Jul  5 11:52:55 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 05 Jul 2017 08:52:55 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 92cf23: Bump version to 2.3.1
Message-ID: <595d0b578cb0c_3733f9b1f75bc3815611e@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 92cf23ddd23dd3265c83012fd21ef33457e6917e
      https://github.com/OpenSIPS/opensips/commit/92cf23ddd23dd3265c83012fd21ef33457e6917e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-05 (Wed, 05 Jul 2017)

  Changed paths:
    M Makefile.defs
    M packaging/debian/common/changelog
    R packaging/gentoo/opensips-2.1.0.ebuild
    A packaging/gentoo/opensips-2.3.1.ebuild
    M packaging/redhat_fedora/opensips.spec
    M packaging/solaris/base-pkginfo
    M packaging/solaris/berkeley-pkginfo
    M packaging/solaris/carrierroute-pkginfo
    M packaging/solaris/identity-pkginfo
    M packaging/solaris/ldap-pkginfo
    M packaging/solaris/mmgeoip-pkginfo
    M packaging/solaris/mysql-pkginfo
    M packaging/solaris/perl-pkginfo
    M packaging/solaris/pgsql-pkginfo
    M packaging/solaris/regex-pkginfo
    M packaging/solaris/snmp-pkginfo
    M packaging/solaris/tls-pkginfo
    M packaging/solaris/xmlrpc-pkginfo

  Log Message:
  -----------
  Bump version to 2.3.1


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

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  Update ChangeLog for 2.3.1


Compare: https://github.com/OpenSIPS/opensips/compare/bb2228bf67d8...2ca64d2f313a

From razvan at opensips.org  Wed Jul  5 11:53:01 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 05 Jul 2017 08:53:01 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] caf4cb: Bump version to 2.2.5
Message-ID: <595d0b5df2111_63183ff856addc3c1253db@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: caf4cb7796bb559020f9fad65520dca934fa16fa
      https://github.com/OpenSIPS/opensips/commit/caf4cb7796bb559020f9fad65520dca934fa16fa
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-05 (Wed, 05 Jul 2017)

  Changed paths:
    M Makefile.defs
    M packaging/debian/common/changelog
    M packaging/freebsd/Makefile
    R packaging/gentoo/opensips-2.2.4.ebuild
    A packaging/gentoo/opensips-2.2.5.ebuild
    M packaging/netbsd/Makefile
    M packaging/openbsd/Makefile
    M packaging/redhat_fedora/opensips.spec
    M packaging/solaris/base-pkginfo
    M packaging/solaris/berkeley-pkginfo
    M packaging/solaris/carrierroute-pkginfo
    M packaging/solaris/identity-pkginfo
    M packaging/solaris/ldap-pkginfo
    M packaging/solaris/mmgeoip-pkginfo
    M packaging/solaris/mysql-pkginfo
    M packaging/solaris/perl-pkginfo
    M packaging/solaris/pgsql-pkginfo
    M packaging/solaris/regex-pkginfo
    M packaging/solaris/snmp-pkginfo
    M packaging/solaris/tls-pkginfo
    M packaging/solaris/xmlrpc-pkginfo

  Log Message:
  -----------
  Bump version to 2.2.5


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

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  Update ChangeLog for 2.2.5


Compare: https://github.com/OpenSIPS/opensips/compare/3a164717e230...4e226933c1c9

From razvan at opensips.org  Wed Jul  5 11:53:23 2017
From: razvan at opensips.org (razvancrainea)
Date: Wed, 05 Jul 2017 08:53:23 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips]
Message-ID: <595d0b73ead58_3cfb3fbe80b8dc3c99298@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/tags/2.3.1
  Home:   https://github.com/OpenSIPS/opensips

From razvan at opensips.org  Wed Jul  5 11:53:34 2017
From: razvan at opensips.org (razvancrainea)
Date: Wed, 05 Jul 2017 08:53:34 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips]
Message-ID: <595d0b7ea3d92_7f813fef3c35bc34122862@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/tags/2.2.5
  Home:   https://github.com/OpenSIPS/opensips

From razvan at opensips.org  Wed Jul  5 12:59:00 2017
From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=)
Date: Wed, 5 Jul 2017 19:59:00 +0300
Subject: [OpenSIPS-Devel] OpenSIPS 2.2.5 and 2.3.1 releases are out!
Message-ID: <66607880-5238-f920-d59a-051e178d7bf0@opensips.org>

Hello!

I am happy to announce two new releases of OpenSIPS - versions 2.2.5 and 
2.3.1. These new releases bring a series of improvements and important 
fixes to the core TCP networking layer, as well as to OpenSIPS modules 
(acc, dialog, clusterer, pua,exec, etc).

Note that OpenSIPS 2.3.1 is the first minor release of the latest 2.3 
version released in April 2017, thus it includes a lot of feedback from 
the "early users" of this branch.

You can find the latest ChangeLog here:
* OpenSIPS 2.2.5: http://opensips.org/pub/opensips/2.2.5/ChangeLog
* OpenSIPS 2.3.1: http://opensips.org/pub/opensips/2.3.1/ChangeLog

You can get the latest versions from here:
* OpenSIPS 2.2.5: 
http://opensips.org/pub/opensips/2.2.5/opensips-2.2.5.tar.gz
* OpenSIPS 2.3.1: 
http://opensips.org/pub/opensips/2.3.1/opensips-2.3.1.tar.gz

Thank you everyone for the hard work invested in the OpenSIPS project!


Cheers,

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



From vladp at opensips.org  Wed Jul  5 13:08:05 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Wed, 05 Jul 2017 10:08:05 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] de76c2: Remove core value
 "myself" and offer approximately...
Message-ID: <595d1cf58f61a_2f373fa57c0f5c382236f9@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/keywords_rework
  Home:   https://github.com/OpenSIPS/opensips
  Commit: de76c2d19f7fbdf8f2af91efb07a05e16b064dbc
      https://github.com/OpenSIPS/opensips/commit/de76c2d19f7fbdf8f2af91efb07a05e16b064dbc
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-05 (Wed, 05 Jul 2017)

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

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



From liviu at opensips.org  Wed Jul  5 13:15:32 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 05 Jul 2017 10:15:32 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ceb652: freeswitch: Mitigate
 effects of the shutdown clean...
Message-ID: <595d1eb454e7e_4eee3fbc87c77c241293f1@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ceb6528d2178a6f4b03a0686f9e6816c7fe6a123
      https://github.com/OpenSIPS/opensips/commit/ceb6528d2178a6f4b03a0686f9e6816c7fe6a123
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-05 (Wed, 05 Jul 2017)

  Changed paths:
    M modules/freeswitch/fs_api.c

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

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


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

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

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

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


Compare: https://github.com/OpenSIPS/opensips/compare/4a628f411235...02da97c96480

From bogdan at opensips.org  Thu Jul  6 07:52:10 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Thu, 06 Jul 2017 04:52:10 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dad353: Fix milliseconds (for
 call duration) consistency a...
Message-ID: <595e246a9988e_2e0a3fe8f9213c30823c@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dad353ac2bd6c41820973292a3a5de22091b43e1
      https://github.com/OpenSIPS/opensips/commit/dad353ac2bd6c41820973292a3a5de22091b43e1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-06 (Thu, 06 Jul 2017)

  Changed paths:
    M modules/acc/acc.c
    M modules/acc/acc.h
    M modules/acc/acc_logic.c

  Log Message:
  -----------
  Fix milliseconds (for call duration) consistency across ACC backends.

Each backend was evaluating the END time by itself, leading to discrepencies in the reported milliseconds between different backends (when multiple backends were used for CDR reporting).
The fix consists in having a single END time value shared to all ACC backends.



From vladp at opensips.org  Mon Jul 10 13:11:02 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Mon, 10 Jul 2017 10:11:02 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 905a18: Remove core keywords
 related to URIs: "uri", "from...
Message-ID: <5963b5269fac0_6ff03fe128e79c3c30939b@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/keywords_rework
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 905a18ce37088b8321a453f414145d1f2dee8b21
      https://github.com/OpenSIPS/opensips/commit/905a18ce37088b8321a453f414145d1f2dee8b21
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-06 (Thu, 06 Jul 2017)

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

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


  Commit: 8b2e14f2ee41d3e88815372c1f3e08e1eb167540
      https://github.com/OpenSIPS/opensips/commit/8b2e14f2ee41d3e88815372c1f3e08e1eb167540
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-10 (Mon, 10 Jul 2017)

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

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


Compare: https://github.com/OpenSIPS/opensips/compare/de76c2d19f7f...8b2e14f2ee41

From karthickrm at sardonyx.in  Mon Jul 10 03:11:55 2017
From: karthickrm at sardonyx.in (KARTHICKRM)
Date: Mon, 10 Jul 2017 12:41:55 +0530
Subject: [OpenSIPS-Devel] 20170710-Support Needed to install OpenSIPS
	Control Panel
Message-ID: <000601d2f94b$d1ea1c90$75be55b0$@sardonyx.in>

Hi,

 

This is Karthick. I am using Ubuntu 17.04 version.

 

I had installed OpenSIPS 2.3.1 version. And I installed Control Panel 7.2.3
.

 

To install the OpenSIPS, I just referred and followed the link
<https://www.linuxhelp.com/how-to-install-opensips-on-ubuntu-17-04/>
https://www.linuxhelp.com/how-to-install-opensips-on-ubuntu-17-04/

 

To install the Control Panel 7.2.3 I just followed the link
<https://www.vultr.com/docs/how-to-install-opensips-control-panel-on-ubuntu-
16-04>
https://www.vultr.com/docs/how-to-install-opensips-control-panel-on-ubuntu-1
6-04 

 

It gives the OpenSIPS Control Panel Login Screen. But at the time of login
it gives the error message 

 

Error while connecting : MDB2 Error: not found

 

How to solve this issue? Please give the solution ASAP.

 

 

Note:

Latest MDB2 Driver is installed for MySQL. (MDB2-Driver-MYSQL 1.5.0b4) and
MDB2 Version is 2.5.0b5

 

Thanks,

Karthick.R.M

+91 8124774480

+91 9698289216

 

 

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

From vladp at opensips.org  Tue Jul 11 06:39:03 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Tue, 11 Jul 2017 03:39:03 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d29733: Second parameter of
 "is_myself" is now also a quot...
Message-ID: <5964aac7b6fde_6be03fb63b691c30152bf@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/keywords_rework
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d29733d6176a7ea1c62170fe5655a3cb88d2e204
      https://github.com/OpenSIPS/opensips/commit/d29733d6176a7ea1c62170fe5655a3cb88d2e204
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-11 (Tue, 11 Jul 2017)

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

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



From liviu at opensips.org  Tue Jul 11 09:27:34 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Tue, 11 Jul 2017 06:27:34 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6b612a: struct history: Fix
 the support for memory-only lo...
Message-ID: <5964d2466bbda_233e3fdf15e5dc2c82950@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6b612a0798995b09f6e102c8e0b55fd050d79056
      https://github.com/OpenSIPS/opensips/commit/6b612a0798995b09f6e102c8e0b55fd050d79056
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-11 (Tue, 11 Jul 2017)

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

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


  Commit: 7d024fa9703079c25f1ae2cdd674d1dd4ae33b6f
      https://github.com/OpenSIPS/opensips/commit/7d024fa9703079c25f1ae2cdd674d1dd4ae33b6f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-11 (Tue, 11 Jul 2017)

  Changed paths:
    M lib/dbg/struct_hist.c

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


Compare: https://github.com/OpenSIPS/opensips/compare/02da97c96480...7d024fa97030

From razvan at opensips.org  Wed Jul 12 07:52:10 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 12 Jul 2017 04:52:10 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e2f9d8: acc: restore new_uri
 in case an error occurs on re...
Message-ID: <59660d6ab1b37_19423fb1a93edc4069392@hookshot-fe2-cp1-prd.iad.github.net.mail>

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

  Changed paths:
    M modules/acc/acc_logic.c

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



From razvan at opensips.org  Wed Jul 12 07:56:53 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 12 Jul 2017 04:56:53 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 23d893: acc: restore new_uri
 in case an error occurs on re...
Message-ID: <59660e85ea2c9_20fcb3fc067d91c34280b3@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

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

  Changed paths:
    M modules/acc/acc_logic.c

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

(cherry picked from commit e2f9d8fc73a8414fc80430abd4ba5975cb1bfe89)



From razvan at opensips.org  Wed Jul 12 08:00:11 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Wed, 12 Jul 2017 05:00:11 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 695fc0: acc: restore new_uri
 in case an error occurs on re...
Message-ID: <59660f4b3c3cd_43423fdc72297c30105817@hookshot-fe3-cp1-prd.iad.github.net.mail>

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

  Changed paths:
    M modules/acc/acc_logic.c

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

(cherry picked from commit e2f9d8fc73a8414fc80430abd4ba5975cb1bfe89)



From liviu at opensips.org  Wed Jul 12 12:23:01 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 12 Jul 2017 09:23:01 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] aa5366: mid_registrar: Fix
 authenticated registrations
Message-ID: <59664ce5426bb_1e7c3fe503f11c381240b4@hookshot-fe2-cp1-prd.iad.github.net.mail>

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

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

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

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

Closes #1156



From liviu at opensips.org  Wed Jul 12 12:24:53 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 12 Jul 2017 09:24:53 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8c2a15: mid_registrar: Fix
 authenticated registrations
Message-ID: <59664d55b1e6_64f73ff8614edc2c4705c@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8c2a153399720080d057a2c9d7410cddbaa2f3be
      https://github.com/OpenSIPS/opensips/commit/8c2a153399720080d057a2c9d7410cddbaa2f3be
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-12 (Wed, 12 Jul 2017)

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

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

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

Closes #1156

(cherry picked from commit aa5366796a285fc32a90aeab9df26d70f31760ce)



From vladp at opensips.org  Wed Jul 12 13:25:14 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Wed, 12 Jul 2017 10:25:14 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 711332: Remove "src_ip",
 "dst_ip", "src_port" and "dst_por...
Message-ID: <59665b7a9539f_20ecb3fa527ca5c401087cf@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/keywords_rework
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7113323c8a902594e062519ef2d5b917dcb578bd
      https://github.com/OpenSIPS/opensips/commit/7113323c8a902594e062519ef2d5b917dcb578bd
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-12 (Wed, 12 Jul 2017)

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

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



From vladp at opensips.org  Thu Jul 13 05:52:09 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Thu, 13 Jul 2017 02:52:09 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2ca34f: clusterer: prevent
 crash when calling module destr...
Message-ID: <596742c9a878a_72b53fce216f5c284177a@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2ca34ff01e2c5b9f2640b23dadffde017c25805d
      https://github.com/OpenSIPS/opensips/commit/2ca34ff01e2c5b9f2640b23dadffde017c25805d
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 2017)

  Changed paths:
    M modules/clusterer/clusterer_mod.c

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



From vladp at opensips.org  Thu Jul 13 05:53:49 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Thu, 13 Jul 2017 02:53:49 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fed06e: clusterer: prevent
 crash when calling module destr...
Message-ID: <5967432d408cf_2a013fd609979c341111f6@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fed06ed6c3f53f17f966f5e8b71e054f2b62ff24
      https://github.com/OpenSIPS/opensips/commit/fed06ed6c3f53f17f966f5e8b71e054f2b62ff24
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 2017)

  Changed paths:
    M modules/clusterer/clusterer_mod.c

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

(cherry picked from commit 2ca34ff01e2c5b9f2640b23dadffde017c25805d)



From razvan at opensips.org  Thu Jul 13 07:19:06 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 13 Jul 2017 04:19:06 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 991b3e: drouting: fix
 parameters specifications for gw det...
Message-ID: <5967572adbdca_18c03fcebea53c387478b@hookshot-fe5-cp1-prd.iad.github.net.mail>

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

  Changed paths:
    M modules/drouting/drouting.c

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



From razvan at opensips.org  Thu Jul 13 07:19:21 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 13 Jul 2017 04:19:21 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 94aedb: drouting: fix
 parameters specifications for gw det...
Message-ID: <5967573992e2e_69ef3f8aba2e1c2c138241@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 94aedb442121c0dd4e28d5f5eaf57ba809c6c3c7
      https://github.com/OpenSIPS/opensips/commit/94aedb442121c0dd4e28d5f5eaf57ba809c6c3c7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 2017)

  Changed paths:
    M modules/drouting/drouting.c

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

(cherry picked from commit 991b3ef4fabb4a21dd0f95ea18a5e934261be01c)



From razvan at opensips.org  Thu Jul 13 07:19:33 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Thu, 13 Jul 2017 04:19:33 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b93fc3: drouting: fix
 parameters specifications for gw det...
Message-ID: <59675745b74d_7ad43f8deadbbc289313b@hookshot-fe1-cp1-prd.iad.github.net.mail>

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

  Changed paths:
    M modules/drouting/drouting.c

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

(cherry picked from commit 991b3ef4fabb4a21dd0f95ea18a5e934261be01c)



From liviu at opensips.org  Thu Jul 13 10:19:56 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 13 Jul 2017 17:19:56 +0300
Subject: [OpenSIPS-Devel] [BLOG] Hunting Down Complex OpenSIPS Bugs in
	Production Environments
Message-ID: <836f957d-6f5f-31e0-eb76-10e4ca38c132@opensips.org>

Hi all,

For those of you who are interested in how we recently not only 
troubleshooted a bunch of nasty bugs in the OpenSIPS TCP engine, but 
also included a helper API to speed up the resolution of similar 
problems in the future, here is a blog post nicely summing everything up:

https://blog.opensips.org/2017/07/13/hunting-down-complex-opensips-bugs-in-production-environments/

Enjoy!

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



From liviu at opensips.org  Thu Jul 13 10:43:00 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 13 Jul 2017 07:43:00 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] eb22f4: struct history
 tracker: Optimize memory allocation...
Message-ID: <596786f46a9ba_3ba93f950f7cbc3872640@hookshot-fe3-cp1-prd.iad.github.net.mail>

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

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

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

Especially useful when used with QM_MALLOC.


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

  Changed paths:
    M lib/dbg/struct_hist.h

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


Compare: https://github.com/OpenSIPS/opensips/compare/991b3ef4fabb...5b9f7d3d16bc

From vladp at opensips.org  Thu Jul 13 12:02:36 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Thu, 13 Jul 2017 09:02:36 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6d8bb3: Replace "af" keyword
 with "$af" script variable.
Message-ID: <5967999c94c1e_2696f3fbe1d677c2423079@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/keywords_rework
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6d8bb3c83948fcb415b2211d25b23eb7f738be54
      https://github.com/OpenSIPS/opensips/commit/6d8bb3c83948fcb415b2211d25b23eb7f738be54
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 2017)

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

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


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

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

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


Compare: https://github.com/OpenSIPS/opensips/compare/7113323c8a90...39614b3ceeab

From vladp at opensips.org  Thu Jul 13 12:08:08 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Thu, 13 Jul 2017 09:08:08 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 76b79e: Remove keywords
 "method", "msg:len", "proto", "max...
Message-ID: <59679ae85b46c_64c3f9070487c283789b@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/keywords_rework
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 76b79ee419db5d12a8514dbc7402c8667faaa5aa
      https://github.com/OpenSIPS/opensips/commit/76b79ee419db5d12a8514dbc7402c8667faaa5aa
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 2017)

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

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



From vladp at opensips.org  Thu Jul 13 12:10:43 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Thu, 13 Jul 2017 09:10:43 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9c9252: Remove keywords
 "method", "msg:len", "proto", "max...
Message-ID: <59679b8381674_4c303f927014fc34107d@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/keywords_rework
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9c9252c97b4e641d814320f33d795a43c3ea7b0e
      https://github.com/OpenSIPS/opensips/commit/9c9252c97b4e641d814320f33d795a43c3ea7b0e
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 2017)

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

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



From vladp at opensips.org  Thu Jul 13 12:23:20 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Thu, 13 Jul 2017 09:23:20 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] de76c2: Remove core value
 "myself" and offer approximately...
Message-ID: <59679e786a06e_78e93f87d0553c4036847@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: de76c2d19f7fbdf8f2af91efb07a05e16b064dbc
      https://github.com/OpenSIPS/opensips/commit/de76c2d19f7fbdf8f2af91efb07a05e16b064dbc
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-05 (Wed, 05 Jul 2017)

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

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


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

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

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


  Commit: d29733d6176a7ea1c62170fe5655a3cb88d2e204
      https://github.com/OpenSIPS/opensips/commit/d29733d6176a7ea1c62170fe5655a3cb88d2e204
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-11 (Tue, 11 Jul 2017)

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

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


  Commit: 7113323c8a902594e062519ef2d5b917dcb578bd
      https://github.com/OpenSIPS/opensips/commit/7113323c8a902594e062519ef2d5b917dcb578bd
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-12 (Wed, 12 Jul 2017)

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

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


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

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

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


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

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

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


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

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

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


Compare: https://github.com/OpenSIPS/opensips/compare/5b9f7d3d16bc...815d885a180e

From liviu at opensips.org  Thu Jul 13 12:40:37 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 13 Jul 2017 09:40:37 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d507a8: opensips.vim: Update
	syntax
Message-ID: <5967a2857f552_2693a3ff5e7e39c303004c@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

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

  Changed paths:
    M utils/vim/opensips.vim

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



From liviu at opensips.org  Thu Jul 13 12:41:16 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 13 Jul 2017 09:41:16 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8d7f4a: opensips.vim: Update
	syntax
Message-ID: <5967a2ac719bf_7ae03f83e3267c34247b7@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8d7f4a00f4d1f9f7f86a330c0e101d383260829f
      https://github.com/OpenSIPS/opensips/commit/8d7f4a00f4d1f9f7f86a330c0e101d383260829f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-13 (Thu, 13 Jul 2017)

  Changed paths:
    M utils/vim/opensips.vim

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



From bogdan at opensips.org  Fri Jul 14 11:32:30 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Fri, 14 Jul 2017 08:32:30 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5a4550: Fix incorrect bug log.
Message-ID: <5968e40e42e2_1f853fa35264fc3c11553b@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5a4550b23deb137db33c50fb6fcf773392d31940
      https://github.com/OpenSIPS/opensips/commit/5a4550b23deb137db33c50fb6fcf773392d31940
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

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

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



From bogdan at opensips.org  Fri Jul 14 11:34:57 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Fri, 14 Jul 2017 08:34:57 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 90266a: Fix incorrect bug log.
Message-ID: <5968e4a1df651_3bbe3f8a28cb1c3060032@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 90266a63831eef5af348412b9c4fad98bd4a7177
      https://github.com/OpenSIPS/opensips/commit/90266a63831eef5af348412b9c4fad98bd4a7177
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

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

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

(cherry picked from commit 5a4550b23deb137db33c50fb6fcf773392d31940)



From bogdan at opensips.org  Fri Jul 14 11:36:17 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Fri, 14 Jul 2017 08:36:17 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dcf591: Fix incorrect bug log.
Message-ID: <5968e4f1a6d39_37993fd4b5947c34242ee@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dcf5915441a3993963d987c49bb10deac1e6c0b0
      https://github.com/OpenSIPS/opensips/commit/dcf5915441a3993963d987c49bb10deac1e6c0b0
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M modules/siptrace/siptrace.c

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

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

(cherry picked from commit 5a4550b23deb137db33c50fb6fcf773392d31940)



From bogdan at opensips.org  Mon Jul 17 06:41:32 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 17 Jul 2017 03:41:32 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d1d897: Fix replicating NULL
	socket in contact
Message-ID: <596c945c94189_7d633fd4ea387c24676e4@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d1d897ebc1f7cdd0c817952c28d5c5877b51f304
      https://github.com/OpenSIPS/opensips/commit/d1d897ebc1f7cdd0c817952c28d5c5877b51f304
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-17 (Mon, 17 Jul 2017)

  Changed paths:
    M modules/usrloc/ureplication.c

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

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

Reported by Samusenko Andrej on user mailing list



From bogdan at opensips.org  Mon Jul 17 06:44:06 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 17 Jul 2017 03:44:06 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 538bb6: Fix replicating NULL
	socket in contact
Message-ID: <596c94f6c80e1_21fe3ffbcc3b5c3845730@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 538bb6372b82de2010ab3fa4b6b775cec881b150
      https://github.com/OpenSIPS/opensips/commit/538bb6372b82de2010ab3fa4b6b775cec881b150
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-17 (Mon, 17 Jul 2017)

  Changed paths:
    M modules/usrloc/ureplication.c

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

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

Reported by Samusenko Andrej on user mailing list

(cherry picked from commit d1d897ebc1f7cdd0c817952c28d5c5877b51f304)



From bogdan at opensips.org  Mon Jul 17 07:47:41 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 17 Jul 2017 04:47:41 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fa52af: Fix replicating NULL
	socket in contact
Message-ID: <596ca3dd7f053_139113f87d3415c2c7367b@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fa52af6914c1a393e021ce69d8baceae6572b0b3
      https://github.com/OpenSIPS/opensips/commit/fa52af6914c1a393e021ce69d8baceae6572b0b3
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-17 (Mon, 17 Jul 2017)

  Changed paths:
    M modules/usrloc/ureplication.c

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

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

Reported by Samusenko Andrej on user mailing list

(cherry picked from commit d1d897ebc1f7cdd0c817952c28d5c5877b51f304)



From vladp at opensips.org  Mon Jul 17 11:16:09 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Mon, 17 Jul 2017 08:16:09 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4aa827: Remove core keywords
 from default configuration sc...
Message-ID: <596cd4b9b353a_1314f3fda68ab9c30238f5@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4aa8279cc4f71ef942abbbc5e8c37b846cc5c4f6
      https://github.com/OpenSIPS/opensips/commit/4aa8279cc4f71ef942abbbc5e8c37b846cc5c4f6
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-17 (Mon, 17 Jul 2017)

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

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


  Commit: eecdac348f09e8de86bb414fbaa7d0aa64a502cd
      https://github.com/OpenSIPS/opensips/commit/eecdac348f09e8de86bb414fbaa7d0aa64a502cd
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-17 (Mon, 17 Jul 2017)

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

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


Compare: https://github.com/OpenSIPS/opensips/compare/d1d897ebc1f7...eecdac348f09

From liviu at opensips.org  Mon Jul 17 12:02:54 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 17 Jul 2017 09:02:54 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 15f151: menuconfig template:
 Fix typos / improve TCP detec...
Message-ID: <596cdfae4d68b_51363f83fe061c30408f3@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 15f151b96ab7c1cd8373447b4063acdc57a2b301
      https://github.com/OpenSIPS/opensips/commit/15f151b96ab7c1cd8373447b4063acdc57a2b301
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-17 (Mon, 17 Jul 2017)

  Changed paths:
    M menuconfig/configs/opensips_residential.m4

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



From vladp at opensips.org  Tue Jul 18 07:00:13 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Tue, 18 Jul 2017 04:00:13 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips]
Message-ID: <596dea3da44c_377a3fcf1afa3c4091789@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/keywords_rework
  Home:   https://github.com/OpenSIPS/opensips

From liviu at opensips.org  Wed Jul 19 05:28:08 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 19 Jul 2017 02:28:08 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8a1b3e: exec: Improve
	environment AVP typing
Message-ID: <596f2628ebd4b_20063f88b8bb9c401553bd@hookshot-fe1-cp1-prd.iad.github.net.mail>

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

  Changed paths:
    M modules/exec/exec_mod.c

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

Reported by Tito Cumpen


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

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

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

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


Compare: https://github.com/OpenSIPS/opensips/compare/15f151b96ab7...0e1029b1fe50

From liviu at opensips.org  Wed Jul 19 06:01:49 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 19 Jul 2017 03:01:49 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a7eb44: Debian packaging: Add
 a global INSTALL_PREFIX
Message-ID: <596f2e0d92423_28753fb67724fc308239b@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a7eb448edf720a72e1ae506683ddfc893f9c45c7
      https://github.com/OpenSIPS/opensips/commit/a7eb448edf720a72e1ae506683ddfc893f9c45c7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-19 (Wed, 19 Jul 2017)

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

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



From liviu at opensips.org  Wed Jul 19 06:09:24 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 19 Jul 2017 03:09:24 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 45a98e: Debian packaging: Fix
 source tarball name for "dev...
Message-ID: <596f2fd432210_43673fd86e7cdc34640e9@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 45a98e187ab42805f46bec04cf6fa729bba113e2
      https://github.com/OpenSIPS/opensips/commit/45a98e187ab42805f46bec04cf6fa729bba113e2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-19 (Wed, 19 Jul 2017)

  Changed paths:
    M Makefile

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



From liviu at opensips.org  Wed Jul 19 11:45:55 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 19 Jul 2017 08:45:55 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] aa2b42: Debian packaging:
 Improve INSTALL_PREFIX logic
Message-ID: <596f7eb3a2ced_377a3fcf1afa3c401213db@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: aa2b42ca672ab4e85235226ece2e338bd250c4ad
      https://github.com/OpenSIPS/opensips/commit/aa2b42ca672ab4e85235226ece2e338bd250c4ad
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-19 (Wed, 19 Jul 2017)

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

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

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



From bogdan at opensips.org  Fri Jul 21 09:14:11 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Fri, 21 Jul 2017 06:14:11 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6eec7f: Fixed missing traced
	SIP messages.
Message-ID: <5971fe23f3066_28ae3f98172c3c30464d4@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6eec7f95025f0bda0e1dfa764430934a73e90e87
      https://github.com/OpenSIPS/opensips/commit/6eec7f95025f0bda0e1dfa764430934a73e90e87
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-21 (Fri, 21 Jul 2017)

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

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

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

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



From rmundkowsky at ets.org  Fri Jul 21 16:38:35 2017
From: rmundkowsky at ets.org (Mundkowsky, Robert)
Date: Fri, 21 Jul 2017 20:38:35 +0000
Subject: [OpenSIPS-Devel] opensips 2.2.3 - getting stuck
Message-ID: <BN6PR07MB3556A1FE374A0DB31E7DDE76BEA40@BN6PR07MB3556.namprd07.prod.outlook.com>

Hi,

I am running openSIPS 2.2.3 on a AWS server as a SIP router (using load_balance).  It seems to work fine for a few calls at a time, but when I start making more short duration calls it starts hanging.  Leg A seems to connect to openSIPS, but leg B out of openSIPS does not seem to work.  And I get the below warnings in the log.

My guess is I have something wrong in my configuration file, but I am not sure.  I am using "exec" to kick off scripts that run in background to do things like disable the loadbalancer gateways for ~60 seconds to let the backend systems reset.


Jul 21 16:09:52 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for 744260 ms (now 744360 ms), it may overlap..
Jul 21 16:09:52 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for 744260 ms (now 744460 ms), it may overlap..
Jul 21 16:09:52 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for 744260 ms (now 744560 ms), it may overlap..
Jul 21 16:09:52 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for 744260 ms (now 744650 ms), it may overlap..
Jul 21 16:09:52 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for 744260 ms (now 744750 ms), it may overlap..
Jul 21 16:09:52 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for 744260 ms (now 744850 ms), it may overlap..
Jul 21 16:09:53 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for 744260 ms (now 744950 ms), it may overlap..
Jul 21 16:09:53 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for 744260 ms (now 745100 ms), it may overlap..
Jul 21 16:09:53 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for 744260 ms (now 745150 ms), it may overlap..
Jul 21 16:09:53 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:timer_ticker: timer task <tm-timer> already scheduled for 744160 ms (now 745150 ms), it may overlap..
Jul 21 16:09:53 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:timer_ticker: timer task <blcore-expire> already scheduled for 744160 ms (now 745150 ms), it may overlap..
Jul 21 16:09:53 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for 744260 ms (now 745250 ms), it may overlap..
Jul 21 16:09:53 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for 744260 ms (now 745350 ms), it may overlap..
Jul 21 16:09:53 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for 744260 ms (now 745450 ms), it may overlap..
Jul 21 16:09:53 ip-10-61-81-170 /export/Apps/opensips/2.2.3/sbin/opensips[23483]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for 744260 ms (now 745550 ms), it may overlap..

Robert Mundkowsky
Software Developer - Lead (IT-NLP Group)
Educational Testing Service (ETS)
Princeton, NJ  08541
Mail Stop:  75-D
rmundkowsky at ets.org<mailto:rmundkowsky at ets.org>
609-683-2616

I never make the same mistake twice,   ... I make it 5 or 6 times just to be sure.


________________________________

This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited.


Thank you for your compliance.

________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20170721/856a3b71/attachment.html>

From razvan at opensips.org  Mon Jul 24 10:07:01 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Mon, 24 Jul 2017 07:07:01 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8ba656: b2b_entities: fix b2b
	key memory leak
Message-ID: <5975ff05d5450_640f3fea5e17fc2c393c5@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8ba6567f2d81d9a912a6ab9dd0d23d265c77ba41
      https://github.com/OpenSIPS/opensips/commit/8ba6567f2d81d9a912a6ab9dd0d23d265c77ba41
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-24 (Mon, 24 Jul 2017)

  Changed paths:
    M modules/b2b_entities/dlg.c

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



From razvan at opensips.org  Mon Jul 24 10:07:18 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Mon, 24 Jul 2017 07:07:18 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 57f019: b2b_entities: fix b2b
	key memory leak
Message-ID: <5975ff1652fc2_2084f3fd8cfd9fc3c567b3@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 57f0193863c57f5c966f72b9608718c275f7e23b
      https://github.com/OpenSIPS/opensips/commit/57f0193863c57f5c966f72b9608718c275f7e23b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-24 (Mon, 24 Jul 2017)

  Changed paths:
    M modules/b2b_entities/dlg.c

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

(cherry picked from commit 8ba6567f2d81d9a912a6ab9dd0d23d265c77ba41)



From razvan at opensips.org  Mon Jul 24 10:07:38 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Mon, 24 Jul 2017 07:07:38 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d6b141: b2b_entities: fix b2b
	key memory leak
Message-ID: <5975ff2ae22f6_56b23fadd4377c44577d9@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d6b1412eb8d165868547b7678550e405680bd562
      https://github.com/OpenSIPS/opensips/commit/d6b1412eb8d165868547b7678550e405680bd562
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-24 (Mon, 24 Jul 2017)

  Changed paths:
    M modules/b2b_entities/dlg.c

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

(cherry picked from commit 8ba6567f2d81d9a912a6ab9dd0d23d265c77ba41)



From bogdan at opensips.org  Mon Jul 24 12:39:43 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 24 Jul 2017 09:39:43 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0f7e72: Add siptrace contact
 for in request (needed by ACK...
Message-ID: <597622cf33d1b_29fb3fb57bb55c28860a7@hookshot-fe5-cp1-prd.iad.github.net.mail>

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

  Changed paths:
    M modules/siptrace/siptrace.c

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



From razvan at opensips.org  Tue Jul 25 04:00:09 2017
From: razvan at opensips.org (=?UTF-8?B?UsSDenZhbg==?= Crainea)
Date: Tue, 25 Jul 2017 01:00:09 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e43ba9: Increase amount of
 debug produced by the rtpproxy ...
Message-ID: <5976fa89d8267_20ac43fac87417c3851073@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e43ba9e7e459e9aa99fc4c629fc423c8d613f334
      https://github.com/OpenSIPS/opensips/commit/e43ba9e7e459e9aa99fc4c629fc423c8d613f334
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2017-07-24 (Mon, 24 Jul 2017)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

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

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


  Commit: 5a7fad1ae40d12abae5f83baf28b0cc2df3a5534
      https://github.com/OpenSIPS/opensips/commit/5a7fad1ae40d12abae5f83baf28b0cc2df3a5534
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

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

Increase amount of debug produced by the rtpproxy module on error


Compare: https://github.com/OpenSIPS/opensips/compare/0f7e72efcd87...5a7fad1ae40d

From bogdan at opensips.org  Tue Jul 25 07:23:01 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 25 Jul 2017 04:23:01 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f0e368: Fixed wrong TLS
	parameters.
Message-ID: <59772a15bf28b_67893fa19d5e9c2c113843@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f0e36896be10c69581ebf77def209df084c82d13
      https://github.com/OpenSIPS/opensips/commit/f0e36896be10c69581ebf77def209df084c82d13
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

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

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

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



From bogdan at opensips.org  Tue Jul 25 07:25:34 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 25 Jul 2017 04:25:34 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fc4793: Fixed wrong TLS
	parameters.
Message-ID: <59772aae71204_283b3fdc6058fc381011d0@hookshot-fe2-cp1-prd.iad.github.net.mail>

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

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

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

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

(cherry picked from commit f0e36896be10c69581ebf77def209df084c82d13)



From bogdan at opensips.org  Tue Jul 25 07:26:31 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Tue, 25 Jul 2017 04:26:31 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] acb11c: Fixed wrong TLS
	parameters.
Message-ID: <59772ae72f198_56983fbc83767c2442685@hookshot-fe1-cp1-prd.iad.github.net.mail>

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

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

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

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

(cherry picked from commit f0e36896be10c69581ebf77def209df084c82d13)



From razvan at opensips.org  Tue Jul 25 08:12:14 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 25 Jul 2017 05:12:14 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 91da50: ratelimit: fix
	documentation typo
Message-ID: <5977359eb193_237e3f8d7dbd9c3840144@hookshot-fe6-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 91da5063ddb56d31dbe6be6013434ea9083a7013
      https://github.com/OpenSIPS/opensips/commit/91da5063ddb56d31dbe6be6013434ea9083a7013
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

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

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



From razvan at opensips.org  Tue Jul 25 08:12:58 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 25 Jul 2017 05:12:58 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 441b48: ratelimit: fix
	documentation typo
Message-ID: <597735ca557cf_208263fd31d07dc3c58939@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 441b48c57b15dce747cf25c243c9f106e705ee77
      https://github.com/OpenSIPS/opensips/commit/441b48c57b15dce747cf25c243c9f106e705ee77
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

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

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

(cherry picked from commit 91da5063ddb56d31dbe6be6013434ea9083a7013)



From razvan at opensips.org  Tue Jul 25 08:12:33 2017
From: razvan at opensips.org (Razvan Crainea)
Date: Tue, 25 Jul 2017 05:12:33 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5e04af: ratelimit: fix
	documentation typo
Message-ID: <597735b1a8e81_5dc83fa2af303c3442878@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5e04afa0df09934de03bd36c2a2800c684d45bfb
      https://github.com/OpenSIPS/opensips/commit/5e04afa0df09934de03bd36c2a2800c684d45bfb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

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

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

(cherry picked from commit 91da5063ddb56d31dbe6be6013434ea9083a7013)



From bogdan at opensips.org  Wed Jul 26 04:19:38 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 26 Jul 2017 11:19:38 +0300
Subject: [OpenSIPS-Devel] opensips 2.2.3 - getting stuck
In-Reply-To: <BN6PR07MB3556A1FE374A0DB31E7DDE76BEA40@BN6PR07MB3556.namprd07.prod.outlook.com>
References: <BN6PR07MB3556A1FE374A0DB31E7DDE76BEA40@BN6PR07MB3556.namprd07.prod.outlook.com>
Message-ID: <b719b298-0005-b940-aebd-871bd139745e@opensips.org>

Hello Robert,

The warnings you get indeed point to a kind of overloading of OpenSIPS 
(in terms of processing being busy doing some sort of processing).  Try 
to understand what is happening by looking at the load statistics ( 
"opensipsctl fifo get_statistics load:" ) or by setting script execution 
thresholds to identify the slowest points in your script (see 
http://www.opensips.org/Documentation/Script-CoreParameters-2-3#toc60)

Best regards,

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

OpenSIPS Bootcamp 2017, Houston, US
   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html

On 07/21/2017 11:38 PM, Mundkowsky, Robert wrote:
>
> Hi,
>
> I am running openSIPS 2.2.3 on a AWS server as a SIP router (using 
> load_balance).  It seems to work fine for a few calls at a time, but 
> when I start making more short duration calls it starts hanging.  Leg 
> A seems to connect to openSIPS, but leg B out of openSIPS does not 
> seem to work. And I get the below warnings in the log.
>
> My guess is I have something wrong in my configuration file, but I am 
> not sure.  I am using “exec” to kick off scripts that run in 
> background to do things like disable the loadbalancer gateways for ~60 
> seconds to let the backend systems reset.
>
> Jul 21 16:09:52 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 
> for 744260 ms (now 744360 ms), it may overlap..
>
> Jul 21 16:09:52 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 
> for 744260 ms (now 744460 ms), it may overlap..
>
> Jul 21 16:09:52 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 
> for 744260 ms (now 744560 ms), it may overlap..
>
> Jul 21 16:09:52 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 
> for 744260 ms (now 744650 ms), it may overlap..
>
> Jul 21 16:09:52 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 
> for 744260 ms (now 744750 ms), it may overlap..
>
> Jul 21 16:09:52 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 
> for 744260 ms (now 744850 ms), it may overlap..
>
> Jul 21 16:09:53 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 
> for 744260 ms (now 744950 ms), it may overlap..
>
> Jul 21 16:09:53 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 
> for 744260 ms (now 745100 ms), it may overlap..
>
> Jul 21 16:09:53 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 
> for 744260 ms (now 745150 ms), it may overlap..
>
> Jul 21 16:09:53 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:timer_ticker: timer task <tm-timer> already scheduled for 
> 744160 ms (now 745150 ms), it may overlap..
>
> Jul 21 16:09:53 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:timer_ticker: timer task <blcore-expire> already 
> scheduled for 744160 ms (now 745150 ms), it may overlap..
>
> Jul 21 16:09:53 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 
> for 744260 ms (now 745250 ms), it may overlap..
>
> Jul 21 16:09:53 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 
> for 744260 ms (now 745350 ms), it may overlap..
>
> Jul 21 16:09:53 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 
> for 744260 ms (now 745450 ms), it may overlap..
>
> Jul 21 16:09:53 ip-10-61-81-170 
> /export/Apps/opensips/2.2.3/sbin/opensips[23483]: 
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 
> for 744260 ms (now 745550 ms), it may overlap..
>
> *Robert Mundkowsky*
>
>

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

From liviu at opensips.org  Wed Jul 26 04:43:33 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 26 Jul 2017 01:43:33 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 071f6c: Allow multi-line "pvar
	list" strings
Message-ID: <59785635586ba_1fd0c3fb398a37c2c1037ce@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 071f6c7da71d1fa991492889cddcad1fccda01d7
      https://github.com/OpenSIPS/opensips/commit/071f6c7da71d1fa991492889cddcad1fccda01d7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-26 (Wed, 26 Jul 2017)

  Changed paths:
    M pvar.c

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

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

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


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

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

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

Reported by Tito Cumpen


Compare: https://github.com/OpenSIPS/opensips/compare/91da5063ddb5...f30217538262

From liviu at opensips.org  Wed Jul 26 04:49:21 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 26 Jul 2017 01:49:21 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6b04bd: rest_client: Update
	documentation
Message-ID: <597857918d1ba_25cf3fda21835c301213ad@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6b04bd6fb54cc9d1d22dda34d7376f66fe32e6f9
      https://github.com/OpenSIPS/opensips/commit/6b04bd6fb54cc9d1d22dda34d7376f66fe32e6f9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-26 (Wed, 26 Jul 2017)

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

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

Reported by Tito Cumpen

(cherry picked from commit f302175382620848a22c6bcec237dfee270e0de6)



From liviu at opensips.org  Wed Jul 26 04:52:02 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 26 Jul 2017 01:52:02 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d770b9: rest_client: Update
	documentation
Message-ID: <597858327db43_20ac43fac87417c38712fb@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d770b95ddee03179c99c4f1aca21463ddf435a19
      https://github.com/OpenSIPS/opensips/commit/d770b95ddee03179c99c4f1aca21463ddf435a19
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-26 (Wed, 26 Jul 2017)

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

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

Reported by Tito Cumpen

(cherry picked from commit f302175382620848a22c6bcec237dfee270e0de6)

Ignore rest_put()-related hunks.



From liviu at opensips.org  Wed Jul 26 04:55:08 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 26 Jul 2017 01:55:08 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fd23ea: rest_client: Update
	documentation
Message-ID: <597858ece8d69_37803fbc938b7c40137235@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fd23ea499469726517d0f8456dae4f5cdc3ddc58
      https://github.com/OpenSIPS/opensips/commit/fd23ea499469726517d0f8456dae4f5cdc3ddc58
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-26 (Wed, 26 Jul 2017)

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

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

Reported by Tito Cumpen

(cherry picked from commit f302175382620848a22c6bcec237dfee270e0de6)



From liviu at opensips.org  Wed Jul 26 11:56:28 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 26 Jul 2017 08:56:28 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 001795: mid_registrar: Add a
 useful startup error case
Message-ID: <5978bbac76e39_9e63ff327a33c34613dd@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0017951f3fb70d77e33494cf6dbcc9482cce7417
      https://github.com/OpenSIPS/opensips/commit/0017951f3fb70d77e33494cf6dbcc9482cce7417
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-26 (Wed, 26 Jul 2017)

  Changed paths:
    M modules/mid_registrar/mid_registrar.c

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



From liviu at opensips.org  Wed Jul 26 11:56:52 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 26 Jul 2017 08:56:52 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7aed44: mid_registrar: Add a
 useful startup error case
Message-ID: <5978bbc4d1593_34e23fac25e11c3c63366@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7aed44c728e4db6fa450ce4c4b617ce4228946b2
      https://github.com/OpenSIPS/opensips/commit/7aed44c728e4db6fa450ce4c4b617ce4228946b2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-26 (Wed, 26 Jul 2017)

  Changed paths:
    M modules/mid_registrar/mid_registrar.c

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

(cherry picked from commit 0017951f3fb70d77e33494cf6dbcc9482cce7417)



From vladpaiu at opensips.org  Wed Jul 26 16:39:39 2017
From: vladpaiu at opensips.org (Vlad Paiu)
Date: Wed, 26 Jul 2017 13:39:39 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2bfcf7: Fixed branch flags
 propagation to the event
Message-ID: <5978fe0b3d4d4_5c023fd13ebc1c3c46711@hookshot-fe1-cp1-prd.iad.github.net.mail>

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

  Changed paths:
    M modules/usrloc/udomain.c

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



From liviu at opensips.org  Thu Jul 27 02:11:26 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 26 Jul 2017 23:11:26 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 747dcd: Gracefully handling
 missing or malformed Expires h...
Message-ID: <5979840ec9a73_1a9b3fc4c4cd7c248636c@hookshot-fe3-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 747dcdb6f245316ff6103b4f3fe44a1014c8eb1b
      https://github.com/OpenSIPS/opensips/commit/747dcdb6f245316ff6103b4f3fe44a1014c8eb1b
  Author: root <root at dell02.xipx.local>
  Date:   2017-07-19 (Wed, 19 Jul 2017)

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

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


  Commit: 605098bb0697f78f3ae41eb50c8360d6ff6d6092
      https://github.com/OpenSIPS/opensips/commit/605098bb0697f78f3ae41eb50c8360d6ff6d6092
  Author: root <root at dell02.xipx.local>
  Date:   2017-07-19 (Wed, 19 Jul 2017)

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

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


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

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

  Log Message:
  -----------
  Merge pull request #1162 from attermann/2.3

Gracefully handling missing or malformed Contact and Expires headers in REGISTER requests to mid_registrar module


Compare: https://github.com/OpenSIPS/opensips/compare/7aed44c728e4...59a36a213aed

From bogdan at opensips.org  Thu Jul 27 04:54:57 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Thu, 27 Jul 2017 01:54:57 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 160b42: Avoid locking during
	shutdown
Message-ID: <5979aa6178d46_97b3faaf1b15c3410464b@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 160b4241091062eb23f94c41391b97dba75d156e
      https://github.com/OpenSIPS/opensips/commit/160b4241091062eb23f94c41391b97dba75d156e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

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

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

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



From liviu at opensips.org  Thu Jul 27 06:07:58 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 27 Jul 2017 03:07:58 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 450906: Remove some deprecated
 script grammar rules
Message-ID: <5979bb7ec0493_1e823f86452f3c34172782@hookshot-fe2-cp1-prd.iad.github.net.mail>

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

  Changed paths:
    M cfg.lex
    M cfg.y

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

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

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



From liviu at opensips.org  Thu Jul 27 08:03:12 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 27 Jul 2017 05:03:12 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 597695: mid_registrar: Fix
 some AoR throttling bugs
Message-ID: <5979d6808305f_74b23f8ddd9a1c3053060@hookshot-fe2-cp1-prd.iad.github.net.mail>

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

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

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

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


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

  Changed paths:
    M modules/mid_registrar/save.c

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


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

  Changed paths:
    M modules/mid_registrar/save.c

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

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

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


Compare: https://github.com/OpenSIPS/opensips/compare/450906194690...47af7de2316c

From liviu at opensips.org  Thu Jul 27 08:21:52 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Thu, 27 Jul 2017 05:21:52 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8d7f51: mid_registrar: Fix
 some AoR throttling bugs
Message-ID: <5979dae03c99e_20aa63ff8c2c8bc34136542@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8d7f5169796ddbe05ce4fd7d078ea0853a1b49b3
      https://github.com/OpenSIPS/opensips/commit/8d7f5169796ddbe05ce4fd7d078ea0853a1b49b3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

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

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

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

(cherry picked from commit 597695cdb0f924688caa2a9ae7d786e2e88ed932)


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

  Changed paths:
    M modules/mid_registrar/save.c

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

(cherry picked from commit 0831d9a3a1cf66f56bda98d4d6a869e0eca983a5)


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

  Changed paths:
    M modules/mid_registrar/save.c

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

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

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

(cherry picked from commit 47af7de2316cc1ff96c091ef43210b7354932300)


Compare: https://github.com/OpenSIPS/opensips/compare/59a36a213aed...db27e6fc01db

From bogdan at opensips.org  Thu Jul 27 09:48:58 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Thu, 27 Jul 2017 16:48:58 +0300
Subject: [OpenSIPS-Devel] 2 weeks left to OpenSIPS Training @ ClueCon
Message-ID: <af6c8974-1eaa-863d-4e33-1dbc95e07ea1@opensips.org>

Hi all,

AS you already know, this year we are running again an OpenSIPS training 
@ ClueCon 2017 - about how to do front-ending and clustering for 
FreeSWITCH system, including some of the latest cool features available 
in OpenSIPS 2.3, like mid-registration for registration throttling and 
aggregation, FreeSWITCH driven load balancing and more. This year will 
also show how to use the OpenSIPS front-end to add more services (like 
presence and BLF) to your system, independently to FreeSWITCH. See full 
description here https://goo.gl/7NtYVF .

So, do not mis it. Available seats are getting low, so get your 
registration done via https://freeswitch.com/cart.php

Best regards,

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

OpenSIPS Bootcamp 2017, Houston, US
   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html



From bogdan at opensips.org  Thu Jul 27 09:56:24 2017
From: bogdan at opensips.org (Bogdan Andrei IANCU)
Date: Thu, 27 Jul 2017 06:56:24 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f5abcc: db_mysql: fix build
	against MariaDB 10.2
Message-ID: <5979f108f0ec8_62e83fb58bfedc30965ca@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f5abccccaafae235aec918b98753bee90963636e
      https://github.com/OpenSIPS/opensips/commit/f5abccccaafae235aec918b98753bee90963636e
  Author: Augusto Caringi <acaringi at redhat.com>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M modules/db_mysql/my_con.c

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

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

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

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


  Commit: 77e678a6a18822cf8ceb30732494cf492a5a1407
      https://github.com/OpenSIPS/opensips/commit/77e678a6a18822cf8ceb30732494cf492a5a1407
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M modules/db_mysql/my_con.c

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

db_mysql: fix build against MariaDB 10.2


Compare: https://github.com/OpenSIPS/opensips/compare/47af7de2316c...77e678a6a188

From bogdan at opensips.org  Thu Jul 27 09:59:07 2017
From: bogdan at opensips.org (Bogdan Andrei IANCU)
Date: Thu, 27 Jul 2017 06:59:07 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3dce06: Merge pull request
 #1164 from caringi/master
Message-ID: <5979f1ab4788d_65c53faead4afc2c78417@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3dce06a218beb04c0c96728da56bd59f5b1f1e93
      https://github.com/OpenSIPS/opensips/commit/3dce06a218beb04c0c96728da56bd59f5b1f1e93
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M modules/db_mysql/my_con.c

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

db_mysql: fix build against MariaDB 10.2
(cherry picked from commit 77e678a6a18822cf8ceb30732494cf492a5a1407)



From bogdan at opensips.org  Thu Jul 27 09:59:44 2017
From: bogdan at opensips.org (Bogdan Andrei IANCU)
Date: Thu, 27 Jul 2017 06:59:44 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 23a905: Merge pull request
 #1164 from caringi/master
Message-ID: <5979f1d018d86_630d3fbd84ba3c3c8095f@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 23a905773e9e5fcad095207ab7ee036896ec857c
      https://github.com/OpenSIPS/opensips/commit/23a905773e9e5fcad095207ab7ee036896ec857c
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M modules/db_mysql/my_con.c

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

db_mysql: fix build against MariaDB 10.2
(cherry picked from commit 77e678a6a18822cf8ceb30732494cf492a5a1407)



From sobomax at sippysoft.com  Thu Jul 27 12:46:18 2017
From: sobomax at sippysoft.com (Maxim Sobolev)
Date: Thu, 27 Jul 2017 09:46:18 -0700
Subject: [OpenSIPS-Devel] Can't get 2.3 running with voiptests properly
Message-ID: <CAH7qZftLCFaaUoNz_BstkBP6vtHv--KSnkjqGa3WAifV_Wef2A@mail.gmail.com>

Hi folks, we are getting some unexpected trouble with getting 2.3 to run
properly with voiptests. The issue is that after brief time after starting
up the proxy stops accepting any new requests/replies. As far as I can tell
no error output is produced and the opensips eventually exits normally.
I've added some debug output into the routing script to log replies, but I
don't see anything logged after 100 Trying.

Full log can be found here, it also dumps effective config.

https://travis-ci.org/sippy/voiptests/jobs/257935671

The only thing I can think of being unusual in our setup is that we are
running in "foreground" mode, so that we can wait(1) on the pid and
retrieve status code when it finishes.

Any ideas are greatly appreciated. We can also add more debug if needed.

Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1



+kill -TERM 21436

+echo MM_PID: 21436

MM_PID: 21436

+wait 21436

Thank you for flying opensips

+MM_RC=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20170727/1fa7acc0/attachment.html>

From bogdan at opensips.org  Thu Jul 27 12:53:42 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Thu, 27 Jul 2017 19:53:42 +0300
Subject: [OpenSIPS-Devel] Can't get 2.3 running with voiptests properly
In-Reply-To: <CAH7qZftLCFaaUoNz_BstkBP6vtHv--KSnkjqGa3WAifV_Wef2A@mail.gmail.com>
References: <CAH7qZftLCFaaUoNz_BstkBP6vtHv--KSnkjqGa3WAifV_Wef2A@mail.gmail.com>
Message-ID: <882c8088-0219-b86f-9276-44160bf4cdab@opensips.org>

Hi Maxim,

When you see it stuck, run "opensipsctl trap" to get a dump with the 
backtraces from all processes .....and you can see what that they are 
doing...

Regards,

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

OpenSIPS Bootcamp 2017, Houston, US
   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html

On 07/27/2017 07:46 PM, Maxim Sobolev wrote:
> Hi folks, we are getting some unexpected trouble with getting 2.3 to 
> run properly with voiptests. The issue is that after brief time after 
> starting up the proxy stops accepting any new requests/replies. As far 
> as I can tell no error output is produced and the opensips eventually 
> exits normally. I've added some debug output into the routing script 
> to log replies, but I don't see anything logged after 100 Trying.
>
> Full log can be found here, it also dumps effective config.
>
> https://travis-ci.org/sippy/voiptests/jobs/257935671
>
> The only thing I can think of being unusual in our setup is that we 
> are running in "foreground" mode, so that we can wait(1) on the pid 
> and retrieve status code when it finishes.
>
> Any ideas are greatly appreciated. We can also add more debug if needed.
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
>
>
>
> +kill -TERM 21436
>
> +echo MM_PID: 21436
>
> MM_PID: 21436
>
> +wait 21436
>
> Thank you for flying opensips
>
> +MM_RC=0
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20170727/35f78c07/attachment-0001.html>

From sobomax at sippysoft.com  Thu Jul 27 13:00:58 2017
From: sobomax at sippysoft.com (Maxim Sobolev)
Date: Thu, 27 Jul 2017 10:00:58 -0700
Subject: [OpenSIPS-Devel] Can't get 2.3 running with voiptests properly
In-Reply-To: <CAH7qZftLCFaaUoNz_BstkBP6vtHv--KSnkjqGa3WAifV_Wef2A@mail.gmail.com>
References: <CAH7qZftLCFaaUoNz_BstkBP6vtHv--KSnkjqGa3WAifV_Wef2A@mail.gmail.com>
Message-ID: <CAH7qZfs+QXGAdC6c+vix8AC5CMNbsvM+8Z-5b4ZAsfkGawX4eg@mail.gmail.com>

Just a little big of more debug, the message processing on Alice side stops
after this exchange:

00:00:03.839/GLOBAL/alice_ua: RECEIVED message from 127.0.0.1:5060:
SIP/2.0 100 Giving a try
v: SIP/2.0/UDP 127.0.0.1:5061;received=127.0.0.1;branch=z9hG4bKfa99d5e33e5a65ffd3d6dff13e002248;rport=5061
f: "Alice Smith"
<sip:alice_9_ipv4 at 127.0.0.1>;tag=46ab5763086d0d7b59a49297c8088e99
t: <sip:bob_9 at 127.0.0.1>
i: c423f160e18369217e1bd71169afd781 at 172.17.0.7
CSeq: 200 INVITE
Server: OpenSIPS (2.3.1 (x86_64/linux))
Content-Length: 0

00:00:04.312/GLOBAL/alice_ua: SENDING message to [::1]:5060:
CANCEL sip:bob_early_cancel@[::1]:5060 SIP/2.0
Via: SIP/2.0/UDP [::1]:5061;rport;branch=z9hG4bK2ec62cc49f6f02cf2cbc93ec19e89ff5
Max-Forwards: 70
From: "Alice Smith"
<sip:alice_early_cancel_ipv6@[::1]>;tag=0eade29cb9f0b1a2aad797f2f052b9fc
To: <sip:bob_early_cancel@[::1]>
Call-ID: 61c307b71d7381e8283c5223f150e718 at 172.17.0.7
CSeq: 200 CANCEL
User-Agent: Sippy

Content-Length: 0

Then it pretty much stays mute for 30 seconds ignoring anything from
Alice until we get this:

00:00:34.185/GLOBAL/alice_ua: RECEIVED message from 127.0.0.1:5060:
SIP/2.0 408 Request Timeout
Via: SIP/2.0/UDP
127.0.0.1:5061;received=127.0.0.1;branch=z9hG4bK559f343d8acaf4f0255ffa7487b3d36e;rport=5061
From: "Alice Smith"
<sip:alice_4_ipv4 at 127.0.0.1>;tag=95f73c1ed722dbe6bf619dbd68147be5
To: <sip:bob_4 at 127.0.0.1>;tag=155c340f586c28d0300cf5a6ccf90d99-24f1
Call-ID: f8d8d410a7429a73ba92d6e2b186d9f8 at 172.17.0.7
CSeq: 200 INVITE
Server: OpenSIPS (2.3.1 (x86_64/linux))
Content-Length: 0

Now, looking at the bob side re-transmission of INVITEs continues
during the interval (looks like 100 Trying is being ignored).

Working hypothesis that I have is that this might be somehow related
to the early CANCEL transaction, I see some pattern of OpenSIPS going
mute after receiving that. Any thoughts? I might take that early
cancel test out and see if it helps.


On Thu, Jul 27, 2017 at 9:46 AM, Maxim Sobolev <sobomax at sippysoft.com>
wrote:

> Hi folks, we are getting some unexpected trouble with getting 2.3 to run
> properly with voiptests. The issue is that after brief time after starting
> up the proxy stops accepting any new requests/replies. As far as I can tell
> no error output is produced and the opensips eventually exits normally.
> I've added some debug output into the routing script to log replies, but I
> don't see anything logged after 100 Trying.
>
> Full log can be found here, it also dumps effective config.
>
> https://travis-ci.org/sippy/voiptests/jobs/257935671
>
> The only thing I can think of being unusual in our setup is that we are
> running in "foreground" mode, so that we can wait(1) on the pid and
> retrieve status code when it finishes.
>
> Any ideas are greatly appreciated. We can also add more debug if needed.
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
>
>
> +kill -TERM 21436
>
> +echo MM_PID: 21436
>
> MM_PID: 21436
>
> +wait 21436
>
> Thank you for flying opensips
>
> +MM_RC=0
>
>


-- 
Maksym Sobolyev
Sippy Software, Inc.
Internet Telephony (VoIP) Experts
Tel (Canada): +1-778-783-0474
Tel (Toll-Free): +1-855-747-7779
Fax: +1-866-857-6942
Web: http://www.sippysoft.com
MSN: sales at sippysoft.com
Skype: SippySoft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20170727/c79228a8/attachment.html>

From sobomax at sippysoft.com  Thu Jul 27 13:02:29 2017
From: sobomax at sippysoft.com (Maxim Sobolev)
Date: Thu, 27 Jul 2017 10:02:29 -0700
Subject: [OpenSIPS-Devel] Can't get 2.3 running with voiptests properly
In-Reply-To: <882c8088-0219-b86f-9276-44160bf4cdab@opensips.org>
References: <CAH7qZftLCFaaUoNz_BstkBP6vtHv--KSnkjqGa3WAifV_Wef2A@mail.gmail.com>
 <882c8088-0219-b86f-9276-44160bf4cdab@opensips.org>
Message-ID: <CAH7qZfuDOf-N-S56FqmkMzsEVWpLMoFXAJfioyi-SDeAHxL9Zg@mail.gmail.com>

Thanks, I'll try that. However it's not really "stuck-stuck", see my
e-mail, it does re-transmissions and eventually "unstucks" itself.

On Thu, Jul 27, 2017 at 9:53 AM, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> Hi Maxim,
>
> When you see it stuck, run "opensipsctl trap" to get a dump with the
> backtraces from all processes .....and you can see what that they are
> doing...
>
> Regards,
>
> Bogdan-Andrei Iancu
>   OpenSIPS Founder and Developer
>   http://www.opensips-solutions.com
>
> OpenSIPS Bootcamp 2017, Houston, US
>   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
>
> On 07/27/2017 07:46 PM, Maxim Sobolev wrote:
>
> Hi folks, we are getting some unexpected trouble with getting 2.3 to run
> properly with voiptests. The issue is that after brief time after starting
> up the proxy stops accepting any new requests/replies. As far as I can tell
> no error output is produced and the opensips eventually exits normally.
> I've added some debug output into the routing script to log replies, but I
> don't see anything logged after 100 Trying.
>
> Full log can be found here, it also dumps effective config.
>
> https://travis-ci.org/sippy/voiptests/jobs/257935671
>
> The only thing I can think of being unusual in our setup is that we are
> running in "foreground" mode, so that we can wait(1) on the pid and
> retrieve status code when it finishes.
>
> Any ideas are greatly appreciated. We can also add more debug if needed.
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
>
>
> +kill -TERM 21436
>
> +echo MM_PID: 21436
>
> MM_PID: 21436
>
> +wait 21436
>
> Thank you for flying opensips
>
> +MM_RC=0
>
>
>


-- 
Maksym Sobolyev
Sippy Software, Inc.
Internet Telephony (VoIP) Experts
Tel (Canada): +1-778-783-0474
Tel (Toll-Free): +1-855-747-7779
Fax: +1-866-857-6942
Web: http://www.sippysoft.com
MSN: sales at sippysoft.com
Skype: SippySoft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20170727/811db5ee/attachment-0001.html>

From bogdan at opensips.org  Thu Jul 27 13:04:47 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Thu, 27 Jul 2017 20:04:47 +0300
Subject: [OpenSIPS-Devel] Can't get 2.3 running with voiptests properly
In-Reply-To: <CAH7qZfuDOf-N-S56FqmkMzsEVWpLMoFXAJfioyi-SDeAHxL9Zg@mail.gmail.com>
References: <CAH7qZftLCFaaUoNz_BstkBP6vtHv--KSnkjqGa3WAifV_Wef2A@mail.gmail.com>
 <882c8088-0219-b86f-9276-44160bf4cdab@opensips.org>
 <CAH7qZfuDOf-N-S56FqmkMzsEVWpLMoFXAJfioyi-SDeAHxL9Zg@mail.gmail.com>
Message-ID: <3e1af37b-3755-d65c-b41f-17b12684b950@opensips.org>

What's the call flow ? I suppose the INVITE gets relayed out, but is 
there any reply coming back from the B side ?

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

OpenSIPS Bootcamp 2017, Houston, US
   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html

On 07/27/2017 08:02 PM, Maxim Sobolev wrote:
> Thanks, I'll try that. However it's not really "stuck-stuck", see my 
> e-mail, it does re-transmissions and eventually "unstucks" itself.
>
> On Thu, Jul 27, 2017 at 9:53 AM, Bogdan-Andrei Iancu 
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
>     Hi Maxim,
>
>     When you see it stuck, run "opensipsctl trap" to get a dump with
>     the backtraces from all processes .....and you can see what that
>     they are doing...
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>        OpenSIPS Founder and Developer
>        http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>
>     OpenSIPS Bootcamp 2017, Houston, US
>        http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
>     <http://opensips.org/training/OpenSIPS_Bootcamp_2017.html>
>
>     On 07/27/2017 07:46 PM, Maxim Sobolev wrote:
>>     Hi folks, we are getting some unexpected trouble with getting 2.3
>>     to run properly with voiptests. The issue is that after brief
>>     time after starting up the proxy stops accepting any new
>>     requests/replies. As far as I can tell no error output is
>>     produced and the opensips eventually exits normally. I've added
>>     some debug output into the routing script to log replies, but I
>>     don't see anything logged after 100 Trying.
>>
>>     Full log can be found here, it also dumps effective config.
>>
>>     https://travis-ci.org/sippy/voiptests/jobs/257935671
>>     <https://travis-ci.org/sippy/voiptests/jobs/257935671>
>>
>>     The only thing I can think of being unusual in our setup is that
>>     we are running in "foreground" mode, so that we can wait(1) on
>>     the pid and retrieve status code when it finishes.
>>
>>     Any ideas are greatly appreciated. We can also add more debug if
>>     needed.
>>
>>     Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
>>     0:0:0:0:0:0:0:1
>>
>>     Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
>>     0:0:0:0:0:0:0:1
>>
>>     Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
>>     0:0:0:0:0:0:0:1
>>
>>     Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
>>     0:0:0:0:0:0:0:1
>>
>>     Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
>>     0:0:0:0:0:0:0:1
>>
>>     Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from
>>     127.0.0.1
>>
>>     Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from
>>     127.0.0.1
>>
>>     Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from
>>     127.0.0.1
>>
>>     Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
>>     0:0:0:0:0:0:0:1
>>
>>     Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from
>>     127.0.0.1
>>
>>     Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
>>     0:0:0:0:0:0:0:1
>>
>>     Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from
>>     127.0.0.1
>>
>>     Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from
>>     127.0.0.1
>>
>>     Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from
>>     127.0.0.1
>>
>>     Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
>>     0:0:0:0:0:0:0:1
>>
>>     Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
>>     0:0:0:0:0:0:0:1
>>
>>     Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
>>     0:0:0:0:0:0:0:1
>>
>>     Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
>>     0:0:0:0:0:0:0:1
>>
>>     Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
>>     0:0:0:0:0:0:0:1
>>
>>     Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from
>>     0:0:0:0:0:0:0:1
>>
>>     Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from
>>     127.0.0.1
>>
>>     Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from
>>     127.0.0.1
>>
>>
>>
>>     +kill -TERM 21436
>>
>>     +echo MM_PID: 21436
>>
>>     MM_PID: 21436
>>
>>     +wait 21436
>>
>>     Thank you for flying opensips
>>
>>     +MM_RC=0
>>
>
>
>
>
> -- 
> Maksym Sobolyev
> Sippy Software, Inc.
> Internet Telephony (VoIP) Experts
> Tel (Canada): +1-778-783-0474
> Tel (Toll-Free): +1-855-747-7779
> Fax: +1-866-857-6942
> Web: http://www.sippysoft.com
> MSN: sales at sippysoft.com <mailto:sales at sippysoft.com>
> Skype: SippySoft

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

From sobomax at sippysoft.com  Thu Jul 27 14:13:46 2017
From: sobomax at sippysoft.com (Maxim Sobolev)
Date: Thu, 27 Jul 2017 11:13:46 -0700
Subject: [OpenSIPS-Devel] Can't get 2.3 running with voiptests properly
In-Reply-To: <3e1af37b-3755-d65c-b41f-17b12684b950@opensips.org>
References: <CAH7qZftLCFaaUoNz_BstkBP6vtHv--KSnkjqGa3WAifV_Wef2A@mail.gmail.com>
 <882c8088-0219-b86f-9276-44160bf4cdab@opensips.org>
 <CAH7qZfuDOf-N-S56FqmkMzsEVWpLMoFXAJfioyi-SDeAHxL9Zg@mail.gmail.com>
 <3e1af37b-3755-d65c-b41f-17b12684b950@opensips.org>
Message-ID: <CAH7qZfuQCF1A6zqnc_ev6FyWg1yx1vp5KC0WwKGbX7KEKn7Npw@mail.gmail.com>

Yes, 100 Trying is received from B but A cancels immediately after 100
Trying from OpenSIPS, so CANCEL from A comes millisecond earlier than 100
Trying from B, whether those are coming in that order  to opensips it's
hard to tell. In any case, OpenSIPS continues re-invite re-invite
re-transmits to B side like no 100 Trying has been received until
eventually it emits 408 Request Timeout to A.

0:00:02.393/GLOBAL/alice_ua: SENDING message to 127.0.0.1:5060:
INVITE sip:bob_early_cancel at 127.0.0.1:5060 SIP/2.0

00:00:02.396/GLOBAL/alice_ua: RECEIVED message from 127.0.0.1:5060:
SIP/2.0 100 Trying

00:00:02.399/GLOBAL/bob_ua: RECEIVED message from 127.0.0.1:5060:
INVITE sip:bob_early_cancel at 127.0.0.1:5062 SIP/2.0

00:00:02.433/GLOBAL/alice_ua: SENDING message to 127.0.0.1:5060:
CANCEL sip:bob_early_cancel at 127.0.0.1:5060 SIP/2.0

00:00:02.434/GLOBAL/bob_ua: SENDING message to 127.0.0.1:5060:
SIP/2.0 100 Trying

00:00:02.936/GLOBAL/bob_ua: RECEIVED message from 127.0.0.1:5060:
INVITE sip:bob_early_cancel at 127.0.0.1:5062 SIP/2.0

00:00:03.941/GLOBAL/bob_ua: SENDING message to 127.0.0.1:5060:
SIP/2.0 100 Trying

[...INVITE->B B->100 Trying continues...]

00:00:32.661/GLOBAL/alice_ua: RECEIVED message from 127.0.0.1:5060:
SIP/2.0 408 Request Timeout

On Thu, Jul 27, 2017 at 10:04 AM, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> What's the call flow ? I suppose the INVITE gets relayed out, but is there
> any reply coming back from the B side ?
>
> Bogdan-Andrei Iancu
>   OpenSIPS Founder and Developer
>   http://www.opensips-solutions.com
>
> OpenSIPS Bootcamp 2017, Houston, US
>   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
>
> On 07/27/2017 08:02 PM, Maxim Sobolev wrote:
>
> Thanks, I'll try that. However it's not really "stuck-stuck", see my
> e-mail, it does re-transmissions and eventually "unstucks" itself.
>
> On Thu, Jul 27, 2017 at 9:53 AM, Bogdan-Andrei Iancu <bogdan at opensips.org>
> wrote:
>
>> Hi Maxim,
>>
>> When you see it stuck, run "opensipsctl trap" to get a dump with the
>> backtraces from all processes .....and you can see what that they are
>> doing...
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>>   OpenSIPS Founder and Developer
>>   http://www.opensips-solutions.com
>>
>> OpenSIPS Bootcamp 2017, Houston, US
>>   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
>>
>> On 07/27/2017 07:46 PM, Maxim Sobolev wrote:
>>
>> Hi folks, we are getting some unexpected trouble with getting 2.3 to run
>> properly with voiptests. The issue is that after brief time after starting
>> up the proxy stops accepting any new requests/replies. As far as I can tell
>> no error output is produced and the opensips eventually exits normally.
>> I've added some debug output into the routing script to log replies, but I
>> don't see anything logged after 100 Trying.
>>
>> Full log can be found here, it also dumps effective config.
>>
>> https://travis-ci.org/sippy/voiptests/jobs/257935671
>>
>> The only thing I can think of being unusual in our setup is that we are
>> running in "foreground" mode, so that we can wait(1) on the pid and
>> retrieve status code when it finishes.
>>
>> Any ideas are greatly appreciated. We can also add more debug if needed.
>>
>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>
>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>
>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>
>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>
>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>
>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>
>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>
>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>
>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>
>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>
>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>
>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>
>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>
>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>
>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>
>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>
>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>
>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>
>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>
>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>
>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>
>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>
>>
>>
>> +kill -TERM 21436
>>
>> +echo MM_PID: 21436
>>
>> MM_PID: 21436
>>
>> +wait 21436
>>
>> Thank you for flying opensips
>>
>> +MM_RC=0
>>
>>
>>
>
>
> --
> Maksym Sobolyev
> Sippy Software, Inc.
> Internet Telephony (VoIP) Experts
> Tel (Canada): +1-778-783-0474 <(778)%20783-0474>
> Tel (Toll-Free): +1-855-747-7779 <(855)%20747-7779>
> Fax: +1-866-857-6942 <(866)%20857-6942>
> Web: http://www.sippysoft.com
> MSN: sales at sippysoft.com
> Skype: SippySoft
>
>
>


-- 
Maksym Sobolyev
Sippy Software, Inc.
Internet Telephony (VoIP) Experts
Tel (Canada): +1-778-783-0474
Tel (Toll-Free): +1-855-747-7779
Fax: +1-866-857-6942
Web: http://www.sippysoft.com
MSN: sales at sippysoft.com
Skype: SippySoft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20170727/997ccdba/attachment-0001.html>

From root at dell02.xipx.local  Thu Jul 27 02:14:17 2017
From: root at dell02.xipx.local (root)
Date: Wed, 26 Jul 2017 23:14:17 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e003d4: Gracefully handling
 missing or malformed Expires h...
Message-ID: <597984b9877a1_6ec63fa810eebc344631e@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e003d4a4f89970225dbbea5e62754713b42e25ef
      https://github.com/OpenSIPS/opensips/commit/e003d4a4f89970225dbbea5e62754713b42e25ef
  Author: root <root at dell02.xipx.local>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

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

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

(cherry picked from commit 747dcdb6f245316ff6103b4f3fe44a1014c8eb1b)


  Commit: a79647d1d480f8fe4a536d749c5c2b5c823aa09a
      https://github.com/OpenSIPS/opensips/commit/a79647d1d480f8fe4a536d749c5c2b5c823aa09a
  Author: root <root at dell02.xipx.local>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

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

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

(cherry picked from commit 605098bb0697f78f3ae41eb50c8360d6ff6d6092)


Compare: https://github.com/OpenSIPS/opensips/compare/2bfcf7dd9d2f...a79647d1d480

From sobomax at sippysoft.com  Thu Jul 27 14:59:33 2017
From: sobomax at sippysoft.com (Maxim Sobolev)
Date: Thu, 27 Jul 2017 11:59:33 -0700
Subject: [OpenSIPS-Devel] Can't get 2.3 running with voiptests properly
In-Reply-To: <CAH7qZfuQCF1A6zqnc_ev6FyWg1yx1vp5KC0WwKGbX7KEKn7Npw@mail.gmail.com>
References: <CAH7qZftLCFaaUoNz_BstkBP6vtHv--KSnkjqGa3WAifV_Wef2A@mail.gmail.com>
 <882c8088-0219-b86f-9276-44160bf4cdab@opensips.org>
 <CAH7qZfuDOf-N-S56FqmkMzsEVWpLMoFXAJfioyi-SDeAHxL9Zg@mail.gmail.com>
 <3e1af37b-3755-d65c-b41f-17b12684b950@opensips.org>
 <CAH7qZfuQCF1A6zqnc_ev6FyWg1yx1vp5KC0WwKGbX7KEKn7Npw@mail.gmail.com>
Message-ID: <CAH7qZfs0+t9NU+M__z64MZ44D0rHdnOMgjSoV2JQyWUHn8GzoQ@mail.gmail.com>

Bogdan, my wild guess about early CANCEL being the culprit turned out to be
correct. I've disabled that particular test case and now the remaining
tests actually able to complete (added more debug to see requests as well)!

Please let me know if you have any ideas about what could be wrong with the
CANCEL processing, if needed I can add/enable some debug code and let it
run.

https://travis-ci.org/sippy/voiptests/jobs/258254132


Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:55 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1

Jul 27 18:34:55 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1

Jul 27 18:34:55 [21438] OpenSIPS received a reply 180/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:55 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1

Jul 27 18:34:55 [21438] OpenSIPS received a reply 180/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:55 [21438] OpenSIPS received a reply 180/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:55 [21438] OpenSIPS received a reply 180/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:55 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1

Jul 27 18:34:59 [21438] OpenSIPS received a reply 183/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:59 [21438]   calling search()

Jul 27 18:34:59 [21438]     calling rtpproxy_answer()

Jul 27 18:34:59 [21438] OpenSIPS received a reply 502/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:59 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:34:59 [21438] OpenSIPS received a reply 180/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:59 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1

Jul 27 18:34:59 [21437] OpenSIPS received a reply 183/INVITE from 127.0.0.1

Jul 27 18:34:59 [21437]   calling search()

Jul 27 18:34:59 [21437]     calling rtpproxy_answer()

Jul 27 18:34:59 [21437] OpenSIPS received a reply 183/INVITE from 127.0.0.1

Jul 27 18:34:59 [21437]   calling search()

Jul 27 18:34:59 [21437]     calling rtpproxy_answer()

Jul 27 18:34:59 [21438] OpenSIPS received a reply 183/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:59 [21438]   calling search()

Jul 27 18:34:59 [21438]     calling rtpproxy_answer()

Jul 27 18:34:59 [21438] OpenSIPS received a reply 183/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:59 [21438]   calling search()

Jul 27 18:34:59 [21438]     calling rtpproxy_answer()

Jul 27 18:34:59 [21437] OpenSIPS received a reply 502/INVITE from 127.0.0.1

Jul 27 18:34:59 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:34:59 [21437] OpenSIPS received a reply 183/INVITE from 127.0.0.1

Jul 27 18:34:59 [21437]   calling search()

Jul 27 18:34:59 [21437]     calling rtpproxy_answer()

Jul 27 18:34:59 [21437] OpenSIPS received a reply 183/INVITE from 127.0.0.1

Jul 27 18:34:59 [21437]   calling search()

Jul 27 18:34:59 [21437]     calling rtpproxy_answer()

Jul 27 18:34:59 [21438] OpenSIPS received a reply 502/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:59 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:34:59 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1

Jul 27 18:34:59 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1

Jul 27 18:34:59 [21438] OpenSIPS received a reply 180/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:59 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1

Jul 27 18:34:59 [21438] OpenSIPS received a reply 183/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:59 [21438]   calling search()

Jul 27 18:34:59 [21438]     calling rtpproxy_answer()

Jul 27 18:34:59 [21437] OpenSIPS received a reply 502/INVITE from 127.0.0.1

Jul 27 18:34:59 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:34:59 [21438] OpenSIPS received a reply 180/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:34:59 [21438] OpenSIPS received a reply 180/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:00 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:00 [21437]   calling search()

Jul 27 18:35:00 [21437]     calling rtpproxy_answer()

Jul 27 18:35:00 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:00 [21437]   calling search()

Jul 27 18:35:00 [21437]     calling rtpproxy_answer()

Jul 27 18:35:00 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:00 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:00 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:00 [21438]   calling search()

Jul 27 18:35:00 [21438]     calling rtpproxy_answer()

Jul 27 18:35:00 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:00 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:00 [21437]   calling search()

Jul 27 18:35:00 [21437]     calling rtpproxy_answer()

Jul 27 18:35:00 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:00 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:00 [21438]   calling search()

Jul 27 18:35:00 [21438]     calling rtpproxy_answer()

Jul 27 18:35:00 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:00 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:00 [21438]   calling search()

Jul 27 18:35:00 [21438]     calling rtpproxy_answer()

Jul 27 18:35:00 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:00 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:00 [21438]   calling search()

Jul 27 18:35:00 [21438]     calling rtpproxy_answer()

Jul 27 18:35:00 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:00 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:00 [21437]   calling search()

Jul 27 18:35:00 [21437]     calling rtpproxy_answer()

Jul 27 18:35:00 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:02 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:35:02 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:35:02 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:02 [21437]   calling search()

Jul 27 18:35:02 [21437]     calling rtpproxy_answer()

Jul 27 18:35:02 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:02 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:35:02 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:02 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:02 [21438]   calling search()

Jul 27 18:35:02 [21438]     calling rtpproxy_answer()

Jul 27 18:35:02 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:04 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:35:04 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:35:04 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:04 [21437]   calling search()

Jul 27 18:35:04 [21437]     calling rtpproxy_answer()

Jul 27 18:35:04 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:35:04 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:04 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:04 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:04 [21438]   calling search()

Jul 27 18:35:04 [21438]     calling rtpproxy_answer()

Jul 27 18:35:04 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:04 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:35:04 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:04 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:04 [21438]   calling search()

Jul 27 18:35:04 [21438]     calling rtpproxy_answer()

Jul 27 18:35:04 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:05 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:35:05 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:35:05 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:05 [21437]   calling search()

Jul 27 18:35:05 [21437]     calling rtpproxy_answer()

Jul 27 18:35:05 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:05 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:35:05 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:05 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:05 [21438]   calling search()

Jul 27 18:35:05 [21438]     calling rtpproxy_answer()

Jul 27 18:35:05 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:05 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:35:05 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:35:05 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:05 [21437]   calling search()

Jul 27 18:35:05 [21437]     calling rtpproxy_answer()

Jul 27 18:35:05 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:05 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:35:05 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:35:05 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:05 [21437]   calling search()

Jul 27 18:35:05 [21437]     calling rtpproxy_answer()

Jul 27 18:35:05 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:05 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:35:05 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:05 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:05 [21438]   calling search()

Jul 27 18:35:05 [21438]     calling rtpproxy_answer()

Jul 27 18:35:05 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:05 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:35:05 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:35:05 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:05 [21437]   calling search()

Jul 27 18:35:05 [21437]     calling rtpproxy_answer()

Jul 27 18:35:05 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:05 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:35:05 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:05 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:05 [21438]   calling search()

Jul 27 18:35:05 [21438]     calling rtpproxy_answer()

Jul 27 18:35:05 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:08 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:35:08 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Bob(bob_reinv_fail): Incoming event: CCEventUpdate, generating failure

Jul 27 18:35:08 [21437] OpenSIPS received a reply 408/INVITE from 127.0.0.1

Jul 27 18:35:08 [21437] OpenSIPS received a request BYE from 127.0.0.1

Alice(alice_reinv_fail_ipv4): Incoming event: CCEventFail, ignoring

Jul 27 18:35:08 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:08 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Bob(bob_reinv_fail): Incoming event: CCEventUpdate, generating failure

Jul 27 18:35:08 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:08 [21438] OpenSIPS received a reply 408/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:08 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1

Alice(alice_reinv_fail_ipv6): Incoming event: CCEventFail, ignoring

Jul 27 18:35:08 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:08 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1

Jul 27 18:35:08 [21438] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:08 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:08 [21438]   calling search()

Jul 27 18:35:08 [21438]     calling rtpproxy_answer()

Jul 27 18:35:08 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:08 [21437] OpenSIPS received a request INVITE from 127.0.0.1

Jul 27 18:35:08 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1

Jul 27 18:35:08 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:08 [21437]   calling search()

Jul 27 18:35:08 [21437]     calling rtpproxy_answer()

Jul 27 18:35:08 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:09 [21437] OpenSIPS received a reply 501/INVITE from 127.0.0.1

Jul 27 18:35:09 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:09 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:09 [21437]   calling search()

Jul 27 18:35:09 [21437]     calling rtpproxy_answer()

Jul 27 18:35:09 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:09 [21437] OpenSIPS received a request BYE from 127.0.0.1

Jul 27 18:35:09 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1

Jul 27 18:35:09 [21437] OpenSIPS received a request BYE from 127.0.0.1

Jul 27 18:35:09 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1

Jul 27 18:35:09 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1

Jul 27 18:35:09 [21437] OpenSIPS received a request BYE from 127.0.0.1

Jul 27 18:35:10 [21438] OpenSIPS received a reply 503/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:10 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:10 [21437] OpenSIPS received a reply 503/INVITE from 127.0.0.1

Jul 27 18:35:10 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:10 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:10 [21438]   calling search()

Jul 27 18:35:10 [21438]     calling rtpproxy_answer()

Jul 27 18:35:10 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:10 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:10 [21437]   calling search()

Jul 27 18:35:10 [21437]     calling rtpproxy_answer()

Jul 27 18:35:10 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:10 [21437] OpenSIPS received a reply 503/INVITE from 127.0.0.1

Jul 27 18:35:10 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:10 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:10 [21438]   calling search()

Jul 27 18:35:10 [21438]     calling rtpproxy_answer()

Jul 27 18:35:10 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:10 [21437] OpenSIPS received a reply 501/INVITE from 127.0.0.1

Jul 27 18:35:10 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:10 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:10 [21438]   calling search()

Jul 27 18:35:10 [21438]     calling rtpproxy_answer()

Jul 27 18:35:10 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:10 [21438] OpenSIPS received a reply 503/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:10 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:11 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:11 [21437]   calling search()

Jul 27 18:35:11 [21437]     calling rtpproxy_answer()

Jul 27 18:35:11 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:11 [21438] OpenSIPS received a reply 200/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:11 [21438]   calling search()

Jul 27 18:35:11 [21438]     calling rtpproxy_answer()

Jul 27 18:35:11 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:12 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1

Jul 27 18:35:12 [21437]   calling search()

Jul 27 18:35:12 [21437]     calling rtpproxy_answer()

Jul 27 18:35:12 [21437] OpenSIPS received a request ACK from 127.0.0.1

Jul 27 18:35:12 [21438] OpenSIPS received a reply 501/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:12 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:12 [21438] OpenSIPS received a reply 501/INVITE from
0:0:0:0:0:0:0:1

Jul 27 18:35:12 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1

Jul 27 18:35:16 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1

Jul 27 18:35:18 [21437] OpenSIPS received a request BYE from 127.0.0.1

Jul 27 18:35:18 [21437] OpenSIPS received a request BYE from 127.0.0.1

Jul 27 18:35:19 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1

Jul 27 18:35:19 [21437] OpenSIPS received a request BYE from 127.0.0.1

Jul 27 18:35:19 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1

Jul 27 18:35:20 [21437] OpenSIPS received a request BYE from 127.0.0.1

Jul 27 18:35:20 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1


On Thu, Jul 27, 2017 at 11:13 AM, Maxim Sobolev <sobomax at sippysoft.com>
wrote:

> Yes, 100 Trying is received from B but A cancels immediately after 100
> Trying from OpenSIPS, so CANCEL from A comes millisecond earlier than 100
> Trying from B, whether those are coming in that order  to opensips it's
> hard to tell. In any case, OpenSIPS continues re-invite re-invite
> re-transmits to B side like no 100 Trying has been received until
> eventually it emits 408 Request Timeout to A.
>
> 0:00:02.393/GLOBAL/alice_ua: SENDING message to 127.0.0.1:5060:
> INVITE sip:bob_early_cancel at 127.0.0.1:5060 SIP/2.0
>
> 00:00:02.396/GLOBAL/alice_ua: RECEIVED message from 127.0.0.1:5060:
> SIP/2.0 100 Trying
>
> 00:00:02.399/GLOBAL/bob_ua: RECEIVED message from 127.0.0.1:5060:
> INVITE sip:bob_early_cancel at 127.0.0.1:5062 SIP/2.0
>
> 00:00:02.433/GLOBAL/alice_ua: SENDING message to 127.0.0.1:5060:
> CANCEL sip:bob_early_cancel at 127.0.0.1:5060 SIP/2.0
>
> 00:00:02.434/GLOBAL/bob_ua: SENDING message to 127.0.0.1:5060:
> SIP/2.0 100 Trying
>
> 00:00:02.936/GLOBAL/bob_ua: RECEIVED message from 127.0.0.1:5060:
> INVITE sip:bob_early_cancel at 127.0.0.1:5062 SIP/2.0
>
> 00:00:03.941/GLOBAL/bob_ua: SENDING message to 127.0.0.1:5060:
> SIP/2.0 100 Trying
>
> [...INVITE->B B->100 Trying continues...]
>
> 00:00:32.661/GLOBAL/alice_ua: RECEIVED message from 127.0.0.1:5060:
> SIP/2.0 408 Request Timeout
>
> On Thu, Jul 27, 2017 at 10:04 AM, Bogdan-Andrei Iancu <bogdan at opensips.org
> > wrote:
>
>> What's the call flow ? I suppose the INVITE gets relayed out, but is
>> there any reply coming back from the B side ?
>>
>> Bogdan-Andrei Iancu
>>   OpenSIPS Founder and Developer
>>   http://www.opensips-solutions.com
>>
>> OpenSIPS Bootcamp 2017, Houston, US
>>   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
>>
>> On 07/27/2017 08:02 PM, Maxim Sobolev wrote:
>>
>> Thanks, I'll try that. However it's not really "stuck-stuck", see my
>> e-mail, it does re-transmissions and eventually "unstucks" itself.
>>
>> On Thu, Jul 27, 2017 at 9:53 AM, Bogdan-Andrei Iancu <bogdan at opensips.org
>> > wrote:
>>
>>> Hi Maxim,
>>>
>>> When you see it stuck, run "opensipsctl trap" to get a dump with the
>>> backtraces from all processes .....and you can see what that they are
>>> doing...
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>>   OpenSIPS Founder and Developer
>>>   http://www.opensips-solutions.com
>>>
>>> OpenSIPS Bootcamp 2017, Houston, US
>>>   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
>>>
>>> On 07/27/2017 07:46 PM, Maxim Sobolev wrote:
>>>
>>> Hi folks, we are getting some unexpected trouble with getting 2.3 to run
>>> properly with voiptests. The issue is that after brief time after starting
>>> up the proxy stops accepting any new requests/replies. As far as I can tell
>>> no error output is produced and the opensips eventually exits normally.
>>> I've added some debug output into the routing script to log replies, but I
>>> don't see anything logged after 100 Trying.
>>>
>>> Full log can be found here, it also dumps effective config.
>>>
>>> https://travis-ci.org/sippy/voiptests/jobs/257935671
>>>
>>> The only thing I can think of being unusual in our setup is that we are
>>> running in "foreground" mode, so that we can wait(1) on the pid and
>>> retrieve status code when it finishes.
>>>
>>> Any ideas are greatly appreciated. We can also add more debug if needed.
>>>
>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>
>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>
>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>
>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>
>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>
>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>
>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>
>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>
>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>
>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>
>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>
>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>
>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>
>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>
>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>
>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>
>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>
>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>
>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>
>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>
>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>
>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>
>>>
>>>
>>> +kill -TERM 21436
>>>
>>> +echo MM_PID: 21436
>>>
>>> MM_PID: 21436
>>>
>>> +wait 21436
>>>
>>> Thank you for flying opensips
>>>
>>> +MM_RC=0
>>>
>>>
>>>
>>
>>
>> --
>> Maksym Sobolyev
>> Sippy Software, Inc.
>> Internet Telephony (VoIP) Experts
>> Tel (Canada): +1-778-783-0474 <(778)%20783-0474>
>> Tel (Toll-Free): +1-855-747-7779 <(855)%20747-7779>
>> Fax: +1-866-857-6942 <(866)%20857-6942>
>> Web: http://www.sippysoft.com
>> MSN: sales at sippysoft.com
>> Skype: SippySoft
>>
>>
>>
>
>
> --
> Maksym Sobolyev
> Sippy Software, Inc.
> Internet Telephony (VoIP) Experts
> Tel (Canada): +1-778-783-0474 <(778)%20783-0474>
> Tel (Toll-Free): +1-855-747-7779 <(855)%20747-7779>
> Fax: +1-866-857-6942 <(866)%20857-6942>
> Web: http://www.sippysoft.com
> MSN: sales at sippysoft.com
> Skype: SippySoft
>



-- 
Maksym Sobolyev
Sippy Software, Inc.
Internet Telephony (VoIP) Experts
Tel (Canada): +1-778-783-0474
Tel (Toll-Free): +1-855-747-7779
Fax: +1-866-857-6942
Web: http://www.sippysoft.com
MSN: sales at sippysoft.com
Skype: SippySoft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20170727/243d639d/attachment-0001.html>

From sobomax at sippysoft.com  Thu Jul 27 15:59:50 2017
From: sobomax at sippysoft.com (Maxim Sobolev)
Date: Thu, 27 Jul 2017 12:59:50 -0700
Subject: [OpenSIPS-Devel] Can't get 2.3 running with voiptests properly
In-Reply-To: <CAH7qZfs0+t9NU+M__z64MZ44D0rHdnOMgjSoV2JQyWUHn8GzoQ@mail.gmail.com>
References: <CAH7qZftLCFaaUoNz_BstkBP6vtHv--KSnkjqGa3WAifV_Wef2A@mail.gmail.com>
 <882c8088-0219-b86f-9276-44160bf4cdab@opensips.org>
 <CAH7qZfuDOf-N-S56FqmkMzsEVWpLMoFXAJfioyi-SDeAHxL9Zg@mail.gmail.com>
 <3e1af37b-3755-d65c-b41f-17b12684b950@opensips.org>
 <CAH7qZfuQCF1A6zqnc_ev6FyWg1yx1vp5KC0WwKGbX7KEKn7Npw@mail.gmail.com>
 <CAH7qZfs0+t9NU+M__z64MZ44D0rHdnOMgjSoV2JQyWUHn8GzoQ@mail.gmail.com>
Message-ID: <CAH7qZfsiJYjzwZZ=zG6AmOwt7YZ2Z9YNZCP9MRR0R0VJRWX0qg@mail.gmail.com>

Bogdan, I've re-enabled that test and re-run with more debug output
enabled. Here is the problematic run:

Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:16 [21451] OpenSIPS received a reply 100/INVITE from 127.0.0.1
Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:16 [21452] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:16 [21451] OpenSIPS received a reply 100/INVITE from 127.0.0.1
Jul 27 19:20:16 [21452] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:16 [21452] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:16 [21451] OpenSIPS received a reply 100/INVITE from 127.0.0.1
Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:17 [21451] OpenSIPS received a request INVITE from 127.0.0.1
Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 127.0.0.1
Jul 27 19:20:17 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 127.0.0.1
Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 127.0.0.1
Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 127.0.0.1
Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 127.0.0.1
Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 127.0.0.1
Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 127.0.0.1
Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 127.0.0.1
Jul 27 19:20:17 [21451] OpenSIPS received a request CANCEL from 127.0.0.1
Jul 27 19:20:17 [21452] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:17 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:17 [21452] OpenSIPS received a request INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:17 [21452] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:17 [21452] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:17 [21452] OpenSIPS received a reply 100/INVITE from
0:0:0:0:0:0:0:1
Jul 27 19:20:17 [21452] OpenSIPS received a request CANCEL from
0:0:0:0:0:0:0:1
Jul 27 19:20:20 [21450] WARNING:core:utimer_ticker: utimer task <tm-utimer>
already scheduled for 5690 ms (now 5700 ms), it may overlap..

No output is produced by the OpenSIPS after that. Note that timer thing
might be just one time fluke, I don't see it in 2 other runs (we run 3
instances of the same test for each proxy version for the unix, udp and
udp6 rtpp control channel).

-Max

On Thu, Jul 27, 2017 at 11:59 AM, Maxim Sobolev <sobomax at sippysoft.com>
wrote:

> Bogdan, my wild guess about early CANCEL being the culprit turned out to
> be correct. I've disabled that particular test case and now the remaining
> tests actually able to complete (added more debug to see requests as well)!
>
> Please let me know if you have any ideas about what could be wrong with
> the CANCEL processing, if needed I can add/enable some debug code and let
> it run.
>
> https://travis-ci.org/sippy/voiptests/jobs/258254132
>
>
> Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:54 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:55 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1
>
> Jul 27 18:34:55 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1
>
> Jul 27 18:34:55 [21438] OpenSIPS received a reply 180/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:55 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1
>
> Jul 27 18:34:55 [21438] OpenSIPS received a reply 180/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:55 [21438] OpenSIPS received a reply 180/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:55 [21438] OpenSIPS received a reply 180/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:55 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1
>
> Jul 27 18:34:59 [21438] OpenSIPS received a reply 183/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:59 [21438]   calling search()
>
> Jul 27 18:34:59 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:34:59 [21438] OpenSIPS received a reply 502/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:59 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:59 [21438] OpenSIPS received a reply 180/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:59 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1
>
> Jul 27 18:34:59 [21437] OpenSIPS received a reply 183/INVITE from 127.0.0.1
>
> Jul 27 18:34:59 [21437]   calling search()
>
> Jul 27 18:34:59 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:34:59 [21437] OpenSIPS received a reply 183/INVITE from 127.0.0.1
>
> Jul 27 18:34:59 [21437]   calling search()
>
> Jul 27 18:34:59 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:34:59 [21438] OpenSIPS received a reply 183/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:59 [21438]   calling search()
>
> Jul 27 18:34:59 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:34:59 [21438] OpenSIPS received a reply 183/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:59 [21438]   calling search()
>
> Jul 27 18:34:59 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:34:59 [21437] OpenSIPS received a reply 502/INVITE from 127.0.0.1
>
> Jul 27 18:34:59 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:34:59 [21437] OpenSIPS received a reply 183/INVITE from 127.0.0.1
>
> Jul 27 18:34:59 [21437]   calling search()
>
> Jul 27 18:34:59 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:34:59 [21437] OpenSIPS received a reply 183/INVITE from 127.0.0.1
>
> Jul 27 18:34:59 [21437]   calling search()
>
> Jul 27 18:34:59 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:34:59 [21438] OpenSIPS received a reply 502/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:59 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:59 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1
>
> Jul 27 18:34:59 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1
>
> Jul 27 18:34:59 [21438] OpenSIPS received a reply 180/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:59 [21437] OpenSIPS received a reply 180/INVITE from 127.0.0.1
>
> Jul 27 18:34:59 [21438] OpenSIPS received a reply 183/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:59 [21438]   calling search()
>
> Jul 27 18:34:59 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:34:59 [21437] OpenSIPS received a reply 502/INVITE from 127.0.0.1
>
> Jul 27 18:34:59 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:34:59 [21438] OpenSIPS received a reply 180/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:34:59 [21438] OpenSIPS received a reply 180/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:00 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:00 [21437]   calling search()
>
> Jul 27 18:35:00 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:00 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:00 [21437]   calling search()
>
> Jul 27 18:35:00 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:00 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:00 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:00 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:00 [21438]   calling search()
>
> Jul 27 18:35:00 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:00 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:00 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:00 [21437]   calling search()
>
> Jul 27 18:35:00 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:00 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:00 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:00 [21438]   calling search()
>
> Jul 27 18:35:00 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:00 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:00 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:00 [21438]   calling search()
>
> Jul 27 18:35:00 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:00 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:00 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:00 [21438]   calling search()
>
> Jul 27 18:35:00 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:00 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:00 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:00 [21437]   calling search()
>
> Jul 27 18:35:00 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:00 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:02 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:35:02 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:35:02 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:02 [21437]   calling search()
>
> Jul 27 18:35:02 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:02 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:02 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:02 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:02 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:02 [21438]   calling search()
>
> Jul 27 18:35:02 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:02 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:04 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:35:04 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:35:04 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:04 [21437]   calling search()
>
> Jul 27 18:35:04 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:04 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:04 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:04 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:04 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:04 [21438]   calling search()
>
> Jul 27 18:35:04 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:04 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:04 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:04 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:04 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:04 [21438]   calling search()
>
> Jul 27 18:35:04 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:04 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:05 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:35:05 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:35:05 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:05 [21437]   calling search()
>
> Jul 27 18:35:05 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:05 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:05 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:05 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:05 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:05 [21438]   calling search()
>
> Jul 27 18:35:05 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:05 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:05 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:35:05 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:35:05 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:05 [21437]   calling search()
>
> Jul 27 18:35:05 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:05 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:05 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:35:05 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:35:05 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:05 [21437]   calling search()
>
> Jul 27 18:35:05 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:05 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:05 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:05 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:05 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:05 [21438]   calling search()
>
> Jul 27 18:35:05 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:05 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:05 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:35:05 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:35:05 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:05 [21437]   calling search()
>
> Jul 27 18:35:05 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:05 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:05 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:05 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:05 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:05 [21438]   calling search()
>
> Jul 27 18:35:05 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:05 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:08 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:35:08 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Bob(bob_reinv_fail): Incoming event: CCEventUpdate, generating failure
>
> Jul 27 18:35:08 [21437] OpenSIPS received a reply 408/INVITE from 127.0.0.1
>
> Jul 27 18:35:08 [21437] OpenSIPS received a request BYE from 127.0.0.1
>
> Alice(alice_reinv_fail_ipv4): Incoming event: CCEventFail, ignoring
>
> Jul 27 18:35:08 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:08 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Bob(bob_reinv_fail): Incoming event: CCEventUpdate, generating failure
>
> Jul 27 18:35:08 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:08 [21438] OpenSIPS received a reply 408/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:08 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1
>
> Alice(alice_reinv_fail_ipv6): Incoming event: CCEventFail, ignoring
>
> Jul 27 18:35:08 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:08 [21438] OpenSIPS received a request INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:08 [21438] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:08 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:08 [21438]   calling search()
>
> Jul 27 18:35:08 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:08 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:08 [21437] OpenSIPS received a request INVITE from 127.0.0.1
>
> Jul 27 18:35:08 [21437] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>
> Jul 27 18:35:08 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:08 [21437]   calling search()
>
> Jul 27 18:35:08 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:08 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:09 [21437] OpenSIPS received a reply 501/INVITE from 127.0.0.1
>
> Jul 27 18:35:09 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:09 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:09 [21437]   calling search()
>
> Jul 27 18:35:09 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:09 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:09 [21437] OpenSIPS received a request BYE from 127.0.0.1
>
> Jul 27 18:35:09 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:09 [21437] OpenSIPS received a request BYE from 127.0.0.1
>
> Jul 27 18:35:09 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:09 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:09 [21437] OpenSIPS received a request BYE from 127.0.0.1
>
> Jul 27 18:35:10 [21438] OpenSIPS received a reply 503/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:10 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:10 [21437] OpenSIPS received a reply 503/INVITE from 127.0.0.1
>
> Jul 27 18:35:10 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:10 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:10 [21438]   calling search()
>
> Jul 27 18:35:10 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:10 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:10 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:10 [21437]   calling search()
>
> Jul 27 18:35:10 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:10 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:10 [21437] OpenSIPS received a reply 503/INVITE from 127.0.0.1
>
> Jul 27 18:35:10 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:10 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:10 [21438]   calling search()
>
> Jul 27 18:35:10 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:10 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:10 [21437] OpenSIPS received a reply 501/INVITE from 127.0.0.1
>
> Jul 27 18:35:10 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:10 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:10 [21438]   calling search()
>
> Jul 27 18:35:10 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:10 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:10 [21438] OpenSIPS received a reply 503/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:10 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:11 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:11 [21437]   calling search()
>
> Jul 27 18:35:11 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:11 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:11 [21438] OpenSIPS received a reply 200/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:11 [21438]   calling search()
>
> Jul 27 18:35:11 [21438]     calling rtpproxy_answer()
>
> Jul 27 18:35:11 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:12 [21437] OpenSIPS received a reply 200/INVITE from 127.0.0.1
>
> Jul 27 18:35:12 [21437]   calling search()
>
> Jul 27 18:35:12 [21437]     calling rtpproxy_answer()
>
> Jul 27 18:35:12 [21437] OpenSIPS received a request ACK from 127.0.0.1
>
> Jul 27 18:35:12 [21438] OpenSIPS received a reply 501/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:12 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:12 [21438] OpenSIPS received a reply 501/INVITE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:12 [21438] OpenSIPS received a request ACK from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:16 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:18 [21437] OpenSIPS received a request BYE from 127.0.0.1
>
> Jul 27 18:35:18 [21437] OpenSIPS received a request BYE from 127.0.0.1
>
> Jul 27 18:35:19 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:19 [21437] OpenSIPS received a request BYE from 127.0.0.1
>
> Jul 27 18:35:19 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1
>
> Jul 27 18:35:20 [21437] OpenSIPS received a request BYE from 127.0.0.1
>
> Jul 27 18:35:20 [21438] OpenSIPS received a request BYE from 0:0:0:0:0:0:0:1
>
>
> On Thu, Jul 27, 2017 at 11:13 AM, Maxim Sobolev <sobomax at sippysoft.com>
> wrote:
>
>> Yes, 100 Trying is received from B but A cancels immediately after 100
>> Trying from OpenSIPS, so CANCEL from A comes millisecond earlier than 100
>> Trying from B, whether those are coming in that order  to opensips it's
>> hard to tell. In any case, OpenSIPS continues re-invite re-invite
>> re-transmits to B side like no 100 Trying has been received until
>> eventually it emits 408 Request Timeout to A.
>>
>> 0:00:02.393/GLOBAL/alice_ua: SENDING message to 127.0.0.1:5060:
>> INVITE sip:bob_early_cancel at 127.0.0.1:5060 SIP/2.0
>>
>> 00:00:02.396/GLOBAL/alice_ua: RECEIVED message from 127.0.0.1:5060:
>> SIP/2.0 100 Trying
>>
>> 00:00:02.399/GLOBAL/bob_ua: RECEIVED message from 127.0.0.1:5060:
>> INVITE sip:bob_early_cancel at 127.0.0.1:5062 SIP/2.0
>>
>> 00:00:02.433/GLOBAL/alice_ua: SENDING message to 127.0.0.1:5060:
>> CANCEL sip:bob_early_cancel at 127.0.0.1:5060 SIP/2.0
>>
>> 00:00:02.434/GLOBAL/bob_ua: SENDING message to 127.0.0.1:5060:
>> SIP/2.0 100 Trying
>>
>> 00:00:02.936/GLOBAL/bob_ua: RECEIVED message from 127.0.0.1:5060:
>> INVITE sip:bob_early_cancel at 127.0.0.1:5062 SIP/2.0
>>
>> 00:00:03.941/GLOBAL/bob_ua: SENDING message to 127.0.0.1:5060:
>> SIP/2.0 100 Trying
>>
>> [...INVITE->B B->100 Trying continues...]
>>
>> 00:00:32.661/GLOBAL/alice_ua: RECEIVED message from 127.0.0.1:5060:
>> SIP/2.0 408 Request Timeout
>>
>> On Thu, Jul 27, 2017 at 10:04 AM, Bogdan-Andrei Iancu <
>> bogdan at opensips.org> wrote:
>>
>>> What's the call flow ? I suppose the INVITE gets relayed out, but is
>>> there any reply coming back from the B side ?
>>>
>>> Bogdan-Andrei Iancu
>>>   OpenSIPS Founder and Developer
>>>   http://www.opensips-solutions.com
>>>
>>> OpenSIPS Bootcamp 2017, Houston, US
>>>   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
>>>
>>> On 07/27/2017 08:02 PM, Maxim Sobolev wrote:
>>>
>>> Thanks, I'll try that. However it's not really "stuck-stuck", see my
>>> e-mail, it does re-transmissions and eventually "unstucks" itself.
>>>
>>> On Thu, Jul 27, 2017 at 9:53 AM, Bogdan-Andrei Iancu <
>>> bogdan at opensips.org> wrote:
>>>
>>>> Hi Maxim,
>>>>
>>>> When you see it stuck, run "opensipsctl trap" to get a dump with the
>>>> backtraces from all processes .....and you can see what that they are
>>>> doing...
>>>>
>>>> Regards,
>>>>
>>>> Bogdan-Andrei Iancu
>>>>   OpenSIPS Founder and Developer
>>>>   http://www.opensips-solutions.com
>>>>
>>>> OpenSIPS Bootcamp 2017, Houston, US
>>>>   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
>>>>
>>>> On 07/27/2017 07:46 PM, Maxim Sobolev wrote:
>>>>
>>>> Hi folks, we are getting some unexpected trouble with getting 2.3 to
>>>> run properly with voiptests. The issue is that after brief time after
>>>> starting up the proxy stops accepting any new requests/replies. As far as I
>>>> can tell no error output is produced and the opensips eventually exits
>>>> normally. I've added some debug output into the routing script to log
>>>> replies, but I don't see anything logged after 100 Trying.
>>>>
>>>> Full log can be found here, it also dumps effective config.
>>>>
>>>> https://travis-ci.org/sippy/voiptests/jobs/257935671
>>>>
>>>> The only thing I can think of being unusual in our setup is that we are
>>>> running in "foreground" mode, so that we can wait(1) on the pid and
>>>> retrieve status code when it finishes.
>>>>
>>>> Any ideas are greatly appreciated. We can also add more debug if needed.
>>>>
>>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>>
>>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>>
>>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>>
>>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>>
>>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>>
>>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>>
>>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>>
>>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>>
>>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>>
>>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>>
>>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>>
>>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>>
>>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>>
>>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>>
>>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>>
>>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>>
>>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>>
>>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>>
>>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>>
>>>> Jul 26 23:53:38 [21441] OpenSIPS received a reply 100/INVITE from 0:0:0:0:0:0:0:1
>>>>
>>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>>
>>>> Jul 26 23:53:38 [21440] OpenSIPS received a reply 100/INVITE from 127.0.0.1
>>>>
>>>>
>>>>
>>>> +kill -TERM 21436
>>>>
>>>> +echo MM_PID: 21436
>>>>
>>>> MM_PID: 21436
>>>>
>>>> +wait 21436
>>>>
>>>> Thank you for flying opensips
>>>>
>>>> +MM_RC=0
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Maksym Sobolyev
>>> Sippy Software, Inc.
>>> Internet Telephony (VoIP) Experts
>>> Tel (Canada): +1-778-783-0474 <(778)%20783-0474>
>>> Tel (Toll-Free): +1-855-747-7779 <(855)%20747-7779>
>>> Fax: +1-866-857-6942 <(866)%20857-6942>
>>> Web: http://www.sippysoft.com
>>> MSN: sales at sippysoft.com
>>> Skype: SippySoft
>>>
>>>
>>>
>>
>>
>> --
>> Maksym Sobolyev
>> Sippy Software, Inc.
>> Internet Telephony (VoIP) Experts
>> Tel (Canada): +1-778-783-0474 <(778)%20783-0474>
>> Tel (Toll-Free): +1-855-747-7779 <(855)%20747-7779>
>> Fax: +1-866-857-6942 <(866)%20857-6942>
>> Web: http://www.sippysoft.com
>> MSN: sales at sippysoft.com
>> Skype: SippySoft
>>
>
>
>
> --
> Maksym Sobolyev
> Sippy Software, Inc.
> Internet Telephony (VoIP) Experts
> Tel (Canada): +1-778-783-0474 <(778)%20783-0474>
> Tel (Toll-Free): +1-855-747-7779 <(855)%20747-7779>
> Fax: +1-866-857-6942 <(866)%20857-6942>
> Web: http://www.sippysoft.com
> MSN: sales at sippysoft.com
> Skype: SippySoft
>



-- 
Maksym Sobolyev
Sippy Software, Inc.
Internet Telephony (VoIP) Experts
Tel (Canada): +1-778-783-0474
Tel (Toll-Free): +1-855-747-7779
Fax: +1-866-857-6942
Web: http://www.sippysoft.com
MSN: sales at sippysoft.com
Skype: SippySoft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20170727/03ae5763/attachment-0001.html>

From bogdan at opensips.org  Fri Jul 28 05:54:18 2017
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Fri, 28 Jul 2017 12:54:18 +0300
Subject: [OpenSIPS-Devel] Can't get 2.3 running with voiptests properly
In-Reply-To: <CAH7qZfsiJYjzwZZ=zG6AmOwt7YZ2Z9YNZCP9MRR0R0VJRWX0qg@mail.gmail.com>
References: <CAH7qZftLCFaaUoNz_BstkBP6vtHv--KSnkjqGa3WAifV_Wef2A@mail.gmail.com>
 <882c8088-0219-b86f-9276-44160bf4cdab@opensips.org>
 <CAH7qZfuDOf-N-S56FqmkMzsEVWpLMoFXAJfioyi-SDeAHxL9Zg@mail.gmail.com>
 <3e1af37b-3755-d65c-b41f-17b12684b950@opensips.org>
 <CAH7qZfuQCF1A6zqnc_ev6FyWg1yx1vp5KC0WwKGbX7KEKn7Npw@mail.gmail.com>
 <CAH7qZfs0+t9NU+M__z64MZ44D0rHdnOMgjSoV2JQyWUHn8GzoQ@mail.gmail.com>
 <CAH7qZfsiJYjzwZZ=zG6AmOwt7YZ2Z9YNZCP9MRR0R0VJRWX0qg@mail.gmail.com>
Message-ID: <f47707e3-40a2-fac9-5fd9-f7af0cf163b3@opensips.org>

Hi Maxim,,

Is it possible to send me (off list) a pcap (in and out from OpenSIPS) 
and the log in log_level 4. I will try to investigate to see what is the 
actual problem.

Thanks and regards,

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

OpenSIPS Bootcamp 2017, Houston, US
   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html

On 07/27/2017 10:59 PM, Maxim Sobolev wrote:
> Bogdan, I've re-enabled that test and re-run with more debug output 
> enabled. Here is the problematic run:
>
> Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:16 [21451] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
> Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:16 [21452] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:16 [21451] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
> Jul 27 19:20:16 [21452] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:16 [21452] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:16 [21451] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
> Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:16 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:16 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:17 [21451] OpenSIPS received a request INVITE from 127.0.0.1
> Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
> Jul 27 19:20:17 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
> Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
> Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
> Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
> Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
> Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
> Jul 27 19:20:17 [21451] OpenSIPS received a reply 100/INVITE from 
> 127.0.0.1
> Jul 27 19:20:17 [21451] OpenSIPS received a request CANCEL from 127.0.0.1
> Jul 27 19:20:17 [21452] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:17 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:17 [21452] OpenSIPS received a request INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:17 [21452] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:17 [21452] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:17 [21452] OpenSIPS received a reply 100/INVITE from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:17 [21452] OpenSIPS received a request CANCEL from 
> 0:0:0:0:0:0:0:1
> Jul 27 19:20:20 [21450] WARNING:core:utimer_ticker: utimer task 
> <tm-utimer> already scheduled for 5690 ms (now 5700 ms), it may overlap..
>
> No output is produced by the OpenSIPS after that. Note that timer 
> thing might be just one time fluke, I don't see it in 2 other runs (we 
> run 3 instances of the same test for each proxy version for the unix, 
> udp and udp6 rtpp control channel).
>
> -Max
>



From vladp at opensips.org  Fri Jul 28 13:19:53 2017
From: vladp at opensips.org (rvlad-patrascu)
Date: Fri, 28 Jul 2017 10:19:53 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1812a0: clusterer: Add module
 functions for sending generi...
Message-ID: <597b723919d96_1e9fc3f8b4b3bdc2c4671e@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1812a05dd8501d3a539cee4beace7a727d73119a
      https://github.com/OpenSIPS/opensips/commit/1812a05dd8501d3a539cee4beace7a727d73119a
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-07-28 (Fri, 28 Jul 2017)

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

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

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



From liviu at opensips.org  Mon Jul 31 04:22:52 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 31 Jul 2017 01:22:52 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] df374c: mid_registrar: Fix
 broken "Path:" URIs when using ...
Message-ID: <597ee8dc352c6_6eb63ffdc48b1c38116315@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: df374c635260da47825493494dbeb16a81e1c701
      https://github.com/OpenSIPS/opensips/commit/df374c635260da47825493494dbeb16a81e1c701
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-31 (Mon, 31 Jul 2017)

  Changed paths:
    M modules/mid_registrar/save.c

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

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



From liviu at opensips.org  Mon Jul 31 04:46:44 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 31 Jul 2017 01:46:44 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0186eb: mid_registrar: Fix
 broken "Path:" URIs when using ...
Message-ID: <597eee7431d0c_4c763fe9f7619c2c693a8@hookshot-fe5-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0186eb36aebf79591fac234c27f3c986e825ea25
      https://github.com/OpenSIPS/opensips/commit/0186eb36aebf79591fac234c27f3c986e825ea25
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-31 (Mon, 31 Jul 2017)

  Changed paths:
    M modules/mid_registrar/save.c

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

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

(cherry picked from commit df374c635260da47825493494dbeb16a81e1c701)



From liviu at opensips.org  Mon Jul 31 04:57:30 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 31 Jul 2017 01:57:30 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 21322d: Allow memory dumps to
 be enabled at runtime
Message-ID: <597ef0fa9e13d_1bf53fd57992fc3c691cb@hookshot-fe2-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 21322d64e1c40404ee011e40f3c8ade97b51aecc
      https://github.com/OpenSIPS/opensips/commit/21322d64e1c40404ee011e40f3c8ade97b51aecc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-31 (Mon, 31 Jul 2017)

  Changed paths:
    M dprint.h
    M main.c

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

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



From liviu at opensips.org  Mon Jul 31 04:59:21 2017
From: liviu at opensips.org (Liviu Chircu)
Date: Mon, 31 Jul 2017 01:59:21 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a173da: Allow memory dumps to
 be enabled at runtime
Message-ID: <597ef169f00d4_6bab3fedcecb7c34250d7@hookshot-fe1-cp1-prd.iad.github.net.mail>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a173dac34be10746f7d4aaf95e0fbaa8c19cb206
      https://github.com/OpenSIPS/opensips/commit/a173dac34be10746f7d4aaf95e0fbaa8c19cb206
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-07-31 (Mon, 31 Jul 2017)

  Changed paths:
    M dprint.h
    M main.c

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

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

(cherry picked from commit 21322d64e1c40404ee011e40f3c8ade97b51aecc)



From sobomax at sippysoft.com  Mon Jul 31 17:15:06 2017
From: sobomax at sippysoft.com (Maxim Sobolev)
Date: Mon, 31 Jul 2017 14:15:06 -0700
Subject: [OpenSIPS-Devel] Can't get 2.3 running with voiptests properly
In-Reply-To: <f47707e3-40a2-fac9-5fd9-f7af0cf163b3@opensips.org>
References: <CAH7qZftLCFaaUoNz_BstkBP6vtHv--KSnkjqGa3WAifV_Wef2A@mail.gmail.com>
 <882c8088-0219-b86f-9276-44160bf4cdab@opensips.org>
 <CAH7qZfuDOf-N-S56FqmkMzsEVWpLMoFXAJfioyi-SDeAHxL9Zg@mail.gmail.com>
 <3e1af37b-3755-d65c-b41f-17b12684b950@opensips.org>
 <CAH7qZfuQCF1A6zqnc_ev6FyWg1yx1vp5KC0WwKGbX7KEKn7Npw@mail.gmail.com>
 <CAH7qZfs0+t9NU+M__z64MZ44D0rHdnOMgjSoV2JQyWUHn8GzoQ@mail.gmail.com>
 <CAH7qZfsiJYjzwZZ=zG6AmOwt7YZ2Z9YNZCP9MRR0R0VJRWX0qg@mail.gmail.com>
 <f47707e3-40a2-fac9-5fd9-f7af0cf163b3@opensips.org>
Message-ID: <CAH7qZftZCpnBgh9T_ub=Ax+oO-7q7de=eG4WXDh-84UTdCS3bw@mail.gmail.com>

Bogdan, I've added extra debug, the output around stuckage looks like the
below. As for getting PCAP capture that is not easy to arrange as TravisCI
does not give us direct access to the network capture. However, bot A and B
log whatever is being sent/received, so it should not be that difficult to
correlate. You can find the full log here:

http://bit.ly/2vgtcu2

Let me know if it helps to narrow it down or if you need more information.
I might try to reproduce it locally here.

-Max

Jul 28 22:18:39 [21433] DBG:core:receive_msg: cleaning up
Jul 28 22:18:39 [21433] DBG:core:parse_msg: SIP Request:
Jul 28 22:18:39 [21433] DBG:core:parse_msg:  method:  <CANCEL>
Jul 28 22:18:39 [21433] DBG:core:parse_msg:  uri:     <sip:bob_early_cancel@
[::1]:5060>
Jul 28 22:18:39 [21433] DBG:core:parse_msg:  version: <SIP/2.0>
Jul 28 22:18:39 [21433] DBG:core:parse_headers: flags=2
Jul 28 22:18:39 [21433] DBG:core:parse_via_param: found param type 235,
<rport> = <n/a>; state=6
Jul 28 22:18:39 [21433] DBG:core:parse_via_param: found param type 232,
<branch> = <z9hG4bK5aad8c9774f140be692c3025b6a86417>; state=16
Jul 28 22:18:39 [21433] DBG:core:parse_via: end of header reached, state=5
Jul 28 22:18:39 [21433] DBG:core:parse_headers: via found, flags=2
Jul 28 22:18:39 [21433] DBG:core:parse_headers: this is the first via
Jul 28 22:18:39 [21433] DBG:core:receive_msg: After parse_msg...
Jul 28 22:18:39 [21433] DBG:core:receive_msg: preparing to run routing
scripts...
Jul 28 22:18:39 [21433] OpenSIPS received a request CANCEL from
0:0:0:0:0:0:0:1
Jul 28 22:18:39 [21433] DBG:core:parse_headers: flags=100
Jul 28 22:18:39 [21433] DBG:maxfwd:is_maxfwd_present: value = 70
Jul 28 22:18:39 [21433] DBG:tm:t_newtran: transaction on
entrance=0xffffffffffffffff
Jul 28 22:18:39 [21433] DBG:core:parse_headers: flags=ffffffffffffffff
Jul 28 22:18:39 [21433] DBG:core:parse_to: end of header reached, state=10
Jul 28 22:18:39 [21433] DBG:core:parse_to: display={},
ruri={sip:bob_early_cancel@[::1]}
Jul 28 22:18:39 [21433] DBG:core:get_hdr_field: <To> [30];
uri=[sip:bob_early_cancel@[::1]]
Jul 28 22:18:39 [21433] DBG:core:get_hdr_field: to body
[<sip:bob_early_cancel@[::1]>]
Jul 28 22:18:39 [21433] DBG:core:get_hdr_field: cseq <CSeq>: <200> <CANCEL>
Jul 28 22:18:39 [21433] DBG:core:get_hdr_field: content_length=0
Jul 28 22:18:39 [21433] DBG:core:get_hdr_field: found end of header
Jul 28 22:18:39 [21433] DBG:core:parse_headers: flags=78
Jul 28 22:18:39 [21433] DBG:tm:t_lookup_request: start searching:
hash=18081, isACK=0
Jul 28 22:18:39 [21433] DBG:tm:matching_3261: RFC3261 transaction matching
failed
Jul 28 22:18:39 [21433] DBG:tm:t_lookup_request: no transaction found
Jul 28 22:18:39 [21433] DBG:tm:run_reqin_callbacks: trans=0x7f63d409bc20,
callback type 1, id 0 entered
Jul 28 22:18:39 [21433] DBG:core:parse_to_param:
tag=211ce361902b0d1ce3ec04a495688cf6
Jul 28 22:18:39 [21433] DBG:core:parse_to: end of header reached, state=29
Jul 28 22:18:39 [21433] DBG:core:parse_to: display={"Alice Smith"},
ruri={sip:alice_early_cancel_ipv6@[::1]}
Jul 28 22:18:39 [21433] DBG:core:parse_headers: flags=200
Jul 28 22:18:39 [21433] DBG:rr:find_first_route: No Route headers found
Jul 28 22:18:39 [21433] DBG:rr:loose_route: There is no Route HF
Jul 28 22:18:39 [21433] DBG:tm:update_cloned_msg_from_msg: new_uri must be
copied old=0, new=31
Jul 28 22:18:39 [21433] DBG:tm:t_lookupOriginalT: searching on hash entry
18081
Jul 28 22:18:39 [21433] DBG:tm:matching_3261: RFC3261 transaction matched,
tid=5aad8c9774f140be692c3025b6a86417
Jul 28 22:18:39 [21433] DBG:tm:t_lookupOriginalT: canceled transaction
found (0x7f63d4022f18)!
Jul 28 22:18:39 [21433] DBG:tm:t_lookupOriginalT:
REF_UNSAFE:[0x7f63d4022f18] after is 1
Jul 28 22:18:39 [21433] DBG:tm:t_lookupOriginalT: t_lookupOriginalT
completed
Jul 28 22:18:39 [21433] DBG:core:parse_headers: flags=ffffffffffffffff
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d401f050 next=0x7f63d4023138, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d4023138 next=0x7f63d40272a8, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d40272a8 next=0x7f63d402e838, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d402e838 next=0x7f63d402b398, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d402b398 next=0x7f63d40335e8, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d40335e8 next=0x7f63d4037690, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d4037690 next=0x7f63d403b788, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d403b788 next=0x7f63d403f870, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d403f870 next=0x7f63d40439d8, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d40439d8 next=0x7f63d4047b40, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d4047b40 next=0x7f63d404bca0, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d404bca0 next=0x7f63d404fe20, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d404fe20 next=0x7f63d4053f70, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d4053f70 next=0x7f63d40573c0, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d40573c0 next=0x7f63d405c180, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d405c180 next=0x7f63d4060278, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d4060278 next=0x7f63d4064310, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d4064310 next=0x7f63d4068408, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d4068408 next=0x7f63d406c548, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d406c548 next=0x7f63d40705e0, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d40705e0 next=0x7f63d40746d0, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d40746d0 next=0x7f63d4078770, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:retransmission_handler:
retransmission_handler : request resending (t=0x7f63d40744b0, INVITE si ...
)
Jul 28 22:18:40 [21437] DBG:tm:set_timer: relative timeout is 1000000
Jul 28 22:18:40 [21437] DBG:tm:insert_timer_unsafe: [5]: 0x7f63d40746d0
(2700000)
Jul 28 22:18:40 [21437] DBG:tm:retransmission_handler:
retransmission_handler : done
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d4078770 next=0x7f63d407c818, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:retransmission_handler:
retransmission_handler : request resending (t=0x7f63d4078550, INVITE si ...
)
Jul 28 22:18:40 [21437] DBG:tm:set_timer: relative timeout is 1000000
Jul 28 22:18:40 [21437] DBG:tm:insert_timer_unsafe: [5]: 0x7f63d4078770
(2700000)
Jul 28 22:18:40 [21437] DBG:tm:retransmission_handler:
retransmission_handler : done
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d407c818 next=0x7f63d4080908, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:retransmission_handler:
retransmission_handler : request resending (t=0x7f63d407c5f8, INVITE si ...
)
Jul 28 22:18:40 [21437] DBG:tm:set_timer: relative timeout is 1000000
Jul 28 22:18:40 [21437] DBG:tm:insert_timer_unsafe: [5]: 0x7f63d407c818
(2700000)
Jul 28 22:18:40 [21437] DBG:tm:retransmission_handler:
retransmission_handler : done
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d4080908 next=0x7f63d40849b8, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:retransmission_handler:
retransmission_handler : request resending (t=0x7f63d40806e8, INVITE si ...
)
Jul 28 22:18:40 [21437] DBG:tm:set_timer: relative timeout is 1000000
Jul 28 22:18:40 [21437] DBG:tm:insert_timer_unsafe: [5]: 0x7f63d4080908
(2700000)
Jul 28 22:18:40 [21437] DBG:tm:retransmission_handler:
retransmission_handler : done
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d40849b8 next=0x7f63d4087be8, timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:retransmission_handler:
retransmission_handler : request resending (t=0x7f63d4084798, INVITE si ...
)
Jul 28 22:18:40 [21437] DBG:tm:set_timer: relative timeout is 1000000
Jul 28 22:18:40 [21437] DBG:tm:insert_timer_unsafe: [5]: 0x7f63d40849b8
(2700000)
Jul 28 22:18:40 [21437] DBG:tm:retransmission_handler:
retransmission_handler : done
Jul 28 22:18:40 [21437] DBG:tm:utimer_routine: timer
routine:4,tl=0x7f63d4087be8 next=(nil), timeout=1700000
Jul 28 22:18:40 [21437] DBG:tm:retransmission_handler:
retransmission_handler : request resending (t=0x7f63d40879c8, INVITE si ...
)
Jul 28 22:18:40 [21437] DBG:tm:set_timer: relative timeout is 1000000
Jul 28 22:18:40 [21437] DBG:tm:insert_timer_unsafe: [5]: 0x7f63d4087be8
(2700000)
Jul 28 22:18:40 [21437] DBG:tm:retransmission_handler:
retransmission_handler : done
[...cycles of retransmits..]
Jul 28 22:19:07 [21437] DBG:tm:set_timer: relative timeout is 4000000
Jul 28 22:19:07 [21437] DBG:tm:insert_timer_unsafe: [7]: 0x7f63d4097d58
(32800000)
Jul 28 22:19:07 [21437] DBG:tm:retransmission_handler:
retransmission_handler : done
Jul 28 22:19:09 [21442] DBG:tm:timer_routine: timer
routine:0,tl=0x7f63d4074700 next=0x7f63d40787a0, timeout=31
Jul 28 22:19:09 [21442] DBG:tm:final_response_handler: Cancel sent out,
sending 408 (0x7f63d40744b0)
Jul 28 22:19:09 [21442] DBG:tm:t_should_relay_response: T_code=100,
new_code=408
Jul 28 22:19:09 [21442] DBG:tm:t_pick_branch: picked branch 0, code 408
(prio=800)
Jul 28 22:19:09 [21442] DBG:tm:is_3263_failure: dns-failover test:
branch=0, last_recv=408, flags=1
Jul 28 22:19:09 [21442] DBG:tm:t_should_relay_response: trying DNS-based
failover
Jul 28 22:19:09 [21442] DBG:core:parse_headers: flags=40
Jul 28 22:19:09 [21442] DBG:rtpproxy:unforce_rtpproxy: sent unforce command
Jul 28 22:19:09 [21442] DBG:tm:relay_reply: T_state=4, branch=0, save=0,
relay=0, cancel_BM=0
Jul 28 22:19:09 [21442] DBG:core:parse_headers: flags=ffffffffffffffff
Jul 28 22:19:09 [21442] DBG:tm:set_timer: relative timeout is 500000
Jul 28 22:19:09 [21442] DBG:tm:insert_timer_unsafe: [4]: 0x7f63d40745f8
(32200000)
Jul 28 22:19:09 [21442] DBG:tm:insert_timer_unsafe: [0]: 0x7f63d4074628 (61)
Jul 28 22:19:09 [21442] DBG:tm:relay_reply: sent buf=0x7f63d5cfac98:
SIP/2.0 4..., shmem=0x7f63d40776e0: SIP/2.0 4
Jul 28 22:19:09 [21442] DBG:tm:final_response_handler: done
Jul 28 22:19:09 [21442] DBG:tm:timer_routine: timer
routine:0,tl=0x7f63d40787a0 next=0x7f63d407c848, timeout=31
Jul 28 22:19:09 [21442] DBG:tm:final_response_handler: Cancel sent out,
sending 408 (0x7f63d4078550)

On Fri, Jul 28, 2017 at 2:54 AM, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> Hi Maxim,,
>
> Is it possible to send me (off list) a pcap (in and out from OpenSIPS) and
> the log in log_level 4. I will try to investigate to see what is the actual
> problem.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20170731/ebbeea1b/attachment-0001.html>

