[OpenSIPS-Devel] [Blog] Auto process scaling, a cure for load and resources concerns

2019-02-25 Thread Bogdan-Andrei Iancu


During all the OpenSIPS trainings, one of the first questions that pops 
up when talking about configuring OpenSIPS is : “How do I know how many 
processes should I configure on my OpenSIPS?“.


And later, this question escalates into the one of the most troubling 
question for people operating OpenSIPS : “Does my OpenSIPS have enough 
processes to support my traffic?“.


The short answer is the new auto-scaling support in OpenSIPS 3.0 - a 
smart and easy to use feature that simply absolve you from any worries 
or concerns about proper scaling of your OpenSIPS – less worries, less 
work, more resource for you.


https://blog.opensips.org/2019/02/25/auto-process-scaling-a-cure-for-load-and-resources-concerns/

Enjoy it,

--
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] d3a0aa: Proper/additional check of tcp_no_new_conn_bflag

2019-02-26 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d3a0aaa5ef73f0f2b03c4f6ba32b5484ca0d71f7
  
https://github.com/OpenSIPS/opensips/commit/d3a0aaa5ef73f0f2b03c4f6ba32b5484ca0d71f7
  Author: Bogdan-Andrei Iancu 
  Date:   2019-02-26 (Tue, 26 Feb 2019)

  Changed paths:
M modules/tm/t_cancel.c
M modules/tm/t_reply.c
M modules/tm/uac.c

  Log Message:
  ---
  Proper/additional check of tcp_no_new_conn_bflag

Check the tcp_no_new_conn_bflag (to avoid opening TCP conns) when:
* sending a cancel to an invite (which was marked)
* sending a negative ACK to an invite (which was marked)
* sending an local UAC request (marked via local route)


  Commit: 3ed54196a41823ba288b5dceac200dee33d47df7
  
https://github.com/OpenSIPS/opensips/commit/3ed54196a41823ba288b5dceac200dee33d47df7
  Author: Bogdan-Andrei Iancu 
  Date:   2019-02-26 (Tue, 26 Feb 2019)

  Changed paths:
M cfg.lex
M cfg.y
M forward.c
M globals.h
M modules/tm/t_reply.c
M net/net_tcp.c

  Log Message:
  ---
  Added new tcp_no_new_conn_rplflag to control TCP conns

While tcp_no_new_conn_bflag controls the opening of TCP conns on the UAC 
branches side of the transaction, the new tcp_no_new_conn_rplflag does the some 
kind of controling but on the UAS side of transaction (sending back the replies)


Compare: 
https://github.com/OpenSIPS/opensips/compare/738905d2fc73...3ed54196a418

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 0c6440: Fix the parsing of $rl_count name

2019-03-05 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0c64403e727925c0e3b11e3713a95fe1a12d530e
  
https://github.com/OpenSIPS/opensips/commit/0c64403e727925c0e3b11e3713a95fe1a12d530e
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-05 (Tue, 05 Mar 2019)

  Changed paths:
M modules/ratelimit/ratelimit.c

  Log Message:
  ---
  Fix the parsing of $rl_count name

(cherry picked from commit d7224382be37821026643e753de68c17b24307c3)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] d72243: Fix the parsing of $rl_count name

2019-03-05 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d7224382be37821026643e753de68c17b24307c3
  
https://github.com/OpenSIPS/opensips/commit/d7224382be37821026643e753de68c17b24307c3
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-05 (Tue, 05 Mar 2019)

  Changed paths:
M modules/ratelimit/ratelimit.c

  Log Message:
  ---
  Fix the parsing of $rl_count name



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] bb901a: Fix the parsing of $rl_count name

2019-03-05 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bb901a900fd27eb7800918fe755f5056521ff1fe
  
https://github.com/OpenSIPS/opensips/commit/bb901a900fd27eb7800918fe755f5056521ff1fe
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-05 (Tue, 05 Mar 2019)

  Changed paths:
M modules/ratelimit/ratelimit.c

  Log Message:
  ---
  Fix the parsing of $rl_count name

(cherry picked from commit d7224382be37821026643e753de68c17b24307c3)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 732e3d: Fix cps counting for the SBT algorithm

2019-03-05 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 732e3d6157f92f22ab8ad83d1e87d8beb4aa838e
  
https://github.com/OpenSIPS/opensips/commit/732e3d6157f92f22ab8ad83d1e87d8beb4aa838e
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-05 (Tue, 05 Mar 2019)

  Changed paths:
M modules/ratelimit/ratelimit.c

  Log Message:
  ---
  Fix cps counting for the SBT algorithm

Credits shared with @razvancrainea for sorting out the issue and reworking the 
alg implementation.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 7664d2: Fix cps counting for the SBT algorithm

2019-03-05 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7664d24d5cc812e47cde329d4c30649b78960152
  
https://github.com/OpenSIPS/opensips/commit/7664d24d5cc812e47cde329d4c30649b78960152
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-05 (Tue, 05 Mar 2019)

  Changed paths:
M modules/ratelimit/ratelimit.c

  Log Message:
  ---
  Fix cps counting for the SBT algorithm

Credits shared with @razvancrainea for sorting out the issue and reworking the 
alg implementation.

(cherry picked from commit 732e3d6157f92f22ab8ad83d1e87d8beb4aa838e)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 5dfc23: Fix cps counting for the SBT algorithm

2019-03-05 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5dfc23aa854c53b5464bec7969f53f36648c59eb
  
https://github.com/OpenSIPS/opensips/commit/5dfc23aa854c53b5464bec7969f53f36648c59eb
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-05 (Tue, 05 Mar 2019)

  Changed paths:
M modules/ratelimit/ratelimit.c

  Log Message:
  ---
  Fix cps counting for the SBT algorithm

Credits shared with @razvancrainea for sorting out the issue and reworking the 
alg implementation.

(cherry picked from commit 732e3d6157f92f22ab8ad83d1e87d8beb4aa838e)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 60024a: Remove some extensive logging (needed only for dev)

2019-03-05 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 60024ad92931054104b88dce4a0ca04935cb76e5
  
https://github.com/OpenSIPS/opensips/commit/60024ad92931054104b88dce4a0ca04935cb76e5
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-05 (Tue, 05 Mar 2019)

  Changed paths:
M modules/ratelimit/ratelimit.c

  Log Message:
  ---
  Remove some extensive logging (needed only for dev)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] ea5d85: Remove some extensive logging (needed only for dev)

2019-03-05 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ea5d858fdb68d7e223f4989f67e16a4c7ba38513
  
https://github.com/OpenSIPS/opensips/commit/ea5d858fdb68d7e223f4989f67e16a4c7ba38513
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-05 (Tue, 05 Mar 2019)

  Changed paths:
M modules/ratelimit/ratelimit.c

  Log Message:
  ---
  Remove some extensive logging (needed only for dev)

(cherry picked from commit 60024ad92931054104b88dce4a0ca04935cb76e5)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 0b1cc4: Remove some extensive logging (needed only for dev)

2019-03-05 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0b1cc464aa37748623456315bd79f0e851393be9
  
https://github.com/OpenSIPS/opensips/commit/0b1cc464aa37748623456315bd79f0e851393be9
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-05 (Tue, 05 Mar 2019)

  Changed paths:
M modules/ratelimit/ratelimit.c

  Log Message:
  ---
  Remove some extensive logging (needed only for dev)

(cherry picked from commit 60024ad92931054104b88dce4a0ca04935cb76e5)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] OpenSIPS Crashes

2019-03-07 Thread Bogdan-Andrei Iancu

Hi Ben,

Sorry, missed your emails - could you re-post the BTs (or send them as 
attachments offlist) ?


Thanks,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 02/26/2019 12:27 AM, Ben Newlin wrote:


Hello,

Was anything useful able to be extracted from these crashes? I think 
the Pastebin links have expired by now, but I can re-post the 
information if it is desired.


Ben Newlin

*From: *Devel  on behalf of Ben 
Newlin 

*Reply-To: *OpenSIPS devel mailling list 
*Date: *Tuesday, February 5, 2019 at 10:58 AM
*To: *OpenSIPS devel mailling list 
*Subject: *[OpenSIPS-Devel] OpenSIPS Crashes

Hello,

We have experienced several crashes of OpenSIPS recently. I have 
collected all the backtraces and version information. Please let me 
know if you need more info.


Crash 1:

https://pastebin.com/KBzDW5eT

https://pastebin.com/GVW7Qe73

Crash 2:

https://pastebin.com/Ci0mESiD

https://pastebin.com/xhd4GG09

Crash 3:

https://pastebin.com/TMAKRAPA

https://pastebin.com/qhBTpNUV

$ opensips -V

version: opensips 2.4.4 (x86_64/linux)

flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, 
F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT


ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535


poll method support: poll, epoll, sigio_rt, select.

git revision: 52ff74af8

main.c compiled on 14:26:40 Jan 28 2019 with gcc 7

Ben Newlin



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state.

2019-03-07 Thread Bogdan-Andrei Iancu

Hi Adam,

Sorry for the late reply.

How exactly are you trying to retrieve the dialog info (during the 
TERMINATED event) ?


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 02/20/2019 04:55 PM, Adam Overbeeke wrote:


Hello all,

We are trying to use the dialog event routes and ran into some 
unexpected behavior. The issue is that we cannot retrieve the dialog 
information when the dialog state transitions to ENDED. We believe the 
dialog have been destroyed or removed prior to firing the event 
change. Is it possible to change this behavior in the synchronous 
case? We understand design decision for asynchronous handling but 
believe it should be possible to retrieve the information in the 
synchronous case.


If our assumptions are incorrect, we are open to ideas on how we could 
get the dialog information during the ENDED state. We are considering 
using a local cache in the meantime, but that will duplicate a lot of 
information in our system. My hopes are that we are just missing some 
function call. We appreciate your help/response.


Thanks,

Adam

Adam Overbeeke

Lead Voice Network Engineer, PureCloud

cid:image001.png@01D2DB78.7C3D8250

cid:image002.png@01D2DB78.7C3D8250 <http://www.genesys.com/>

cid:image003.png@01D2DB78.7C3D8250 
<https://twitter.com/Genesys>cid:image004.png@01D2DB78.7C3D8250 
<http://www.linkedin.com/company/601919?trk=tyah>cid:image005.png@01D2DB78.7C3D8250 
<https://plus.google.com/+Genesyslab?rel=publisher>cid:image006.png@01D2DB78.7C3D8250 
<https://www.facebook.com/Genesys/>cid:image007.png@01D2DB78.7C3D8250 
<https://www.youtube.com/Genesys>cid:image008.png@01D2DB78.7C3D8250 
<http://blog.genesys.com/>




___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 732038: Fixed access to acc vars in failure route during i...

2019-03-07 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 732038b6decf0809f52ef39ed97d7f025dca416e
  
https://github.com/OpenSIPS/opensips/commit/732038b6decf0809f52ef39ed97d7f025dca416e
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-07 (Thu, 07 Mar 2019)

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

  Log Message:
  ---
  Fixed access to acc vars in failure route during internally generated final 
replies(408)

Register the internal TM callback for FAILURE all the time, as it will be 
responsible for populating the acc context in Transaction when handling an 
internally generated final reply (408).
Credits for reporting and identifing the issue to @rrb3942
Closes #1602



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 255060: Fixed access to acc vars in failure route during i...

2019-03-07 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2550609ab922622e3a34bb161b95254ca6c1d9cd
  
https://github.com/OpenSIPS/opensips/commit/2550609ab922622e3a34bb161b95254ca6c1d9cd
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-07 (Thu, 07 Mar 2019)

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

  Log Message:
  ---
  Fixed access to acc vars in failure route during internally generated final 
replies(408)

Register the internal TM callback for FAILURE all the time, as it will be 
responsible for populating the acc context in Transaction when handling an 
internally generated final reply (408).
Credits for reporting and identifing the issue to @rrb3942
Closes #1602

(cherry picked from commit 732038b6decf0809f52ef39ed97d7f025dca416e)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] e53327: Fixed access to acc vars in failure route during i...

2019-03-07 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e53327ccd3db31e5b67439a0b75a080c60040680
  
https://github.com/OpenSIPS/opensips/commit/e53327ccd3db31e5b67439a0b75a080c60040680
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-07 (Thu, 07 Mar 2019)

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

  Log Message:
  ---
  Fixed access to acc vars in failure route during internally generated final 
replies(408)

Register the internal TM callback for FAILURE all the time, as it will be 
responsible for populating the acc context in Transaction when handling an 
internally generated final reply (408).
Credits for reporting and identifing the issue to @rrb3942
Closes #1602

(cherry picked from commit 732038b6decf0809f52ef39ed97d7f025dca416e)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state.

2019-03-07 Thread Bogdan-Andrei Iancu

HI Adam,

When the Terminated event is triggered, the dialog is already in state 
5/Terminated and it should still be foundable - is the termination of 
the dialog triggered by a BYE request or ?



Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 03/07/2019 04:49 PM, Adam Overbeeke wrote:


Hi Bogdan,

We are trying to access the dialog information during the event route. 
The function that we are using is get_dialog_vals.During my testing, I 
was able to get the expected parameters that was passed from the event 
route, but the dialog variables was returning nothing. This happens 
only when the state transitions to ENDED, all other states have the 
information. This makes me believe that the dialog was destroy.

i.e. in this example: variableOne and variableTwo are dialog variables.

event_route[E_DLG_STATE_CHANGED] {

fetch_event_params("hash_entry=$avp(eparm_hash_entry)");

fetch_event_params("hash_id=$avp(eparm_hash_id)");

fetch_event_params("callid=$avp(eparm_callid)");

fetch_event_params("from_tag=$avp(eparm_from_tag)");

fetch_event_params("to_tag=$avp(eparm_to_tag)");

fetch_event_params("old_state=$avp(eparm_old_state)");

fetch_event_params("new_state=$avp(eparm_new_state)");

if ( 
get_dialog_vals("$avp(d_names)","$avp(d_vals)","$avp(eparm_callid)") ) {


$var(i) = 0;

while ( $(avp(d_names)[$var(i)]) != NULL ) {

$var(k) = $(avp(d_names)[$var(i)]);

$var(v) = $(avp(d_vals)[$var(i)]);

switch($var(k)) {

case "variableOne":

#// log statement here

break;

case "variableTwo":

#// log statement here

break;

}

$var(i) = $var(i) + 1;

}

}

}

^ when the state is ENDED, get_dialog_vals returns nothing back for 
the dialog’s callid.

Hope it helps,
Adam

*From: *Bogdan-Andrei Iancu 
*Date: *Thursday, March 7, 2019 at 5:37 AM
*To: *OpenSIPS devel mailling list , Adam 
Overbeeke 
*Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog 
information for ENDED state.


Hi Adam,

Sorry for the late reply.

How exactly are you trying to retrieve the dialog info (during the 
TERMINATED event) ?


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2019
   https://www.opensips.org/events/Summit-2019Amsterdam/

On 02/20/2019 04:55 PM, Adam Overbeeke wrote:

Hello all,

We are trying to use the dialog event routes and ran into some
unexpected behavior. The issue is that we cannot retrieve the
dialog information when the dialog state transitions to ENDED. We
believe the dialog have been destroyed or removed prior to firing
the event change. Is it possible to change this behavior in the
synchronous case? We understand design decision for asynchronous
handling but believe it should be possible to retrieve the
information in the synchronous case.

If our assumptions are incorrect, we are open to ideas on how we
could get the dialog information during the ENDED state. We are
considering using a local cache in the meantime, but that will
duplicate a lot of information in our system. My hopes are that we
are just missing some function call. We appreciate your
help/response.

Thanks,

Adam

Adam Overbeeke

Lead Voice Network Engineer, PureCloud

cid:image001.png@01D2DB78.7C3D8250

cid:image002.png@01D2DB78.7C3D8250 <http://www.genesys.com/>

cid:image003.png@01D2DB78.7C3D8250
<https://twitter.com/Genesys>cid:image004.png@01D2DB78.7C3D8250

<http://www.linkedin.com/company/601919?trk=tyah>cid:image005.png@01D2DB78.7C3D8250

<https://plus.google.com/+Genesyslab?rel=publisher>cid:image006.png@01D2DB78.7C3D8250
<https://www.facebook.com/Genesys/>cid:image007.png@01D2DB78.7C3D8250
<https://www.youtube.com/Genesys>cid:image008.png@01D2DB78.7C3D8250
<http://blog.genesys.com/>




___

Devel mailing list

Devel@lists.opensips.org <mailto:Devel@lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/devel





___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [Blog] Achieving service redundancy in two steps with unified clustering in OpenSIPS 3.0

2019-03-07 Thread Bogdan-Andrei Iancu


A hot backup means redundancy, redundancy means more uptime, more uptime 
means a better SLA, a better SLA means happier customers and more money.


Building redundancy is a must when moving your service into production. 
How can you achieve this with OpenSIPS 3.0? Well, thanks to the new 
unified clustering support, you are only 2 steps away from getting it done.


https://blog.opensips.org/2019/03/07/achieving-service-redundancy-in-two-steps-with-unified-clustering-in-opensips-3-0/

Enjoy it,

--
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] b2640e: Renamed xlog_default_level to xlog_print_level

2019-03-08 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b2640e64ae4299e9da59f5c6f92f78424e9d8b17
  
https://github.com/OpenSIPS/opensips/commit/b2640e64ae4299e9da59f5c6f92f78424e9d8b17
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-08 (Fri, 08 Mar 2019)

  Changed paths:
M cfg.lex
M cfg.y
M xlog.c
M xlog.h

  Log Message:
  ---
  Renamed xlog_default_level to xlog_print_level


  Commit: 87893b6dfb6694ccfdca463acf5d74d1c46a053e
  
https://github.com/OpenSIPS/opensips/commit/87893b6dfb6694ccfdca463acf5d74d1c46a053e
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-08 (Fri, 08 Mar 2019)

  Changed paths:
M cfg.lex
M cfg.y
M pvar.c
M xlog.c
M xlog.h

  Log Message:
  ---
  Added "xlog_level" global parameter

This acts as log_level, but for the logs generated via xlog. This gives you 
separately control the verbosity level for the xlog() calls.
Added possibility to globally change the xlog_level during runtime (to be 
hooked later into an MI function) or to change the value per process (to be 
hooked later to the $xlog_level variable)


  Commit: 9d98ffae3a5db6ff6fcc24f511f7328e0e02094f
  
https://github.com/OpenSIPS/opensips/commit/9d98ffae3a5db6ff6fcc24f511f7328e0e02094f
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-08 (Fri, 08 Mar 2019)

  Changed paths:
M pvar.c

  Log Message:
  ---
  Refurbish $xlog_level to set/get the per proc xlog_level


  Commit: 42d8f2cea5ff38692c14cb4efd94b3978e6f
  
https://github.com/OpenSIPS/opensips/commit/42d8f2cea5ff38692c14cb4efd94b3978e6f
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-08 (Fri, 08 Mar 2019)

  Changed paths:
M mi/mi_core.c

  Log Message:
  ---
  Added "xlog_level" MI cmd

Used to change during runtime the xlog level (globally)


Compare: 
https://github.com/OpenSIPS/opensips/compare/aa276bff0462...42d8f2cea5ff

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] cded19: Improve log

2019-03-11 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cded19c5db9aeca94e5863c475442de5aa2bf561
  
https://github.com/OpenSIPS/opensips/commit/cded19c5db9aeca94e5863c475442de5aa2bf561
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
M net/net_tcp.c

  Log Message:
  ---
  Improve log



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state.

2019-03-11 Thread Bogdan-Andrei Iancu

Hi Adam,

Checking a bit more the code, it seems that the inner 
get_dlg_by_callid() function (used for locating dialogs in the internal 
dlg table) does no return the dialogs in state 5 (terminated).


So, once the dialog switched to final state 5, it becomes "invisible" to 
the get_dlg_vals() function. Same approach is also implemented by 
get_dialog_info().


I'm not saying it is good or bad, I'm just saying how it is right now.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 03/08/2019 04:15 PM, Adam Overbeeke wrote:


Hi Bogdan,

I hope this answers your question. I’ve reconstructed the scenario and 
confirmed that from OLD_STATE(4) to NEW_STATE(5) the dialog variables 
are not available or return NULL. The trigger for the state change was 
a BYE. Let me know if you want me to try any thing else. I’ve provided 
some log output below. The first log is a state transistion from 3 to 
4… You can see the presence of my variables dialog_org and dialog_dir. 
Please refer to the code I posted before.


Thanks

Adam

_STATE 3 __à__4_

Mar  8 13:58:56 [371] { "t": "2019-03-08T13:58:56.428889Z", 
"logger_name": "control", "thread_name": 371, "level": "INFO", 
"route": "event_dialog_log", "message": { "hash_entry": "3352", 
"hash_id": "1296669127", "callid": "IB_MAP-27\/\/\/1-16@203.0.113.4", 
"from_tag": "16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 3, 
"new_state": 4 } }


Mar  8 13:58:56 [371] { "t": "2019-03-08T13:58:56.429075Z", 
"logger_name": "control", "thread_name": 371, "level": "INFO", 
"route": "E_DLG_STATE_CHANGED", "message": { "dialog_org": "Org", 
"dialog_dir": "Inbound" } }


_STATE 4 __à__5_

Mar  8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934118Z", 
"logger_name": "control", "thread_name": 371, "level": "INFO", 
"route": "event_dialog_log", "message": { "hash_entry": "3352", 
"hash_id": "1296669127", "callid": "IB_MAP-27\/\/\/1-16@203.0.113.4", 
"from_tag": "16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 4, 
"new_state": 5 } }


Mar  8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934228Z", 
"logger_name": "control", "thread_name": 371, "level": "INFO", 
"route": "E_DLG_STATE_CHANGED" }


*From: *Bogdan-Andrei Iancu 
*Date: *Thursday, March 7, 2019 at 10:10 AM
*To: *Adam Overbeeke , OpenSIPS devel 
mailling list 
*Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog 
information for ENDED state.


HI Adam,

When the Terminated event is triggered, the dialog is already in state 
5/Terminated and it should still be foundable - is the termination of 
the dialog triggered by a BYE request or ?



Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2019
   https://www.opensips.org/events/Summit-2019Amsterdam/

On 03/07/2019 04:49 PM, Adam Overbeeke wrote:

Hi Bogdan,

We are trying to access the dialog information during the event
route. The function that we are using is get_dialog_vals.During my
testing, I was able to get the expected parameters that was passed
from the event route, but the dialog variables was returning
nothing. This happens only when the state transitions to ENDED,
all other states have the information. This makes me believe that
the dialog was destroy.

i.e. in this example: variableOne and variableTwo are dialog
variables.

event_route[E_DLG_STATE_CHANGED] {

 fetch_event_params("hash_entry=$avp(eparm_hash_entry)");

fetch_event_params("hash_id=$avp(eparm_hash_id)");

fetch_event_params("callid=$avp(eparm_callid)");

fetch_event_params("from_tag=$avp(eparm_from_tag)");

fetch_event_params("to_tag=$avp(eparm_to_tag)");

fetch_event_params("old_state=$avp(eparm_old_state)");

fetch_event_params("new_state=$avp(eparm_new_state)");

if (
get_dialog_vals("$avp(d_names)","$avp(d_vals)","$avp(eparm_callid)")
) {

$var(i) = 0;

while ( $(avp(d_names)[$var(i)]) != NULL ) {

$var(k) = $(avp(d_names)[$var(i)]);

$var(v) = $(avp(d_vals)[$var(i)]);

switch($var(k)) {

case &quo

Re: [OpenSIPS-Devel] t_on_reply for CANCEL transaction

2019-03-11 Thread Bogdan-Andrei Iancu

Hi Ben,

Let me check what the history behind the lack of on_reply for the CANCEL 
transaction, if it a simple miss or if there some good reasons (mainly 
related to SIP consistency) not to have it.


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 03/10/2019 04:15 PM, Ben Newlin wrote:


Hello,

We are implemented some more detailed statistics capturing for our 
proxies which includes transaction statistics and requires that we 
track all transactions through the system. Implementing this with 
dialogs was very straightforward, thanks to the 
E_DLG_STATE_CHANGEDevents. I have opened a Feature Request [1] for 
similar functionality in the TM module if it is possible.


In the meantime, I have created routes to track the transactions but I 
am running into an issue with the CANCEL transaction. It appears that 
the replies to a CANCEL will only ever trigger the global 
onreply_route. When I arm a different transaction reply route using 
t_on_reply it is never called. Since the transaction is not available 
in the global reply route, I cannot use it for my purposes.


Is it intentional/expected that t_on_reply cannot be used with a 
CANCEL transaction? If so, are there other methods that also do not work?


[1] - https://github.com/OpenSIPS/opensips/issues/1630 
<https://github.com/OpenSIPS/opensips/issues/1630>


Ben Newlin



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state.

2019-03-11 Thread Bogdan-Andrei Iancu

Hi Adam,

It is not about sync/async...from the point of view of accessing the 
data (as coding) everything is fine (with matching terminated calls also).
It is more about the logic you have in the script, when using such 
functions (to fetch vars from a different dlg) - in my opinion, in 70% 
of the cases, your really want to work only with ongoing calls (once 
terminated, you want the dlg out of your equation). But lately, there 
are more and more where you need to fetch data from terminate calls too.


A solution (to be sure we do not break anything and we are backward 
compatible) will be to addsome extra flags to the functions to "force" 
matching of the terminated calls too(as time as the dlg is still in 
memory, of course).


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 03/11/2019 02:14 PM, Adam Overbeeke wrote:


Hi Bogdan,

Thanks for confirming my suspicions. I am not saying it is bad or 
good, either. I can see why you would not be able to access the dialog 
information when processing event routes, asynchronous. I still would 
like a way to access the dialog variables around the time the dialog 
will be terminated. As I stated before, my first thought was that the 
variables would be available during synchronous event route 
processing, but you have confirmed that is not the case (now). Would 
you like me to create a feature request on github? I am sure you 
already have an idea what could be done; but my two cents would be 
something like a new WILL_TERMINATE state or have the information 
available in the terminated state for a period of time.


Thank you for your time,

Adam

*From: *Bogdan-Andrei Iancu 
*Date: *Monday, March 11, 2019 at 4:38 AM
*To: *Adam Overbeeke , OpenSIPS devel 
mailling list 
*Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog 
information for ENDED state.


Hi Adam,

Checking a bit more the code, it seems that the inner 
get_dlg_by_callid() function (used for locating dialogs in the 
internal dlg table) does no return the dialogs in state 5 (terminated).


So, once the dialog switched to final state 5, it becomes "invisible" 
to the get_dlg_vals() function. Same approach is also implemented by 
get_dialog_info().


I'm not saying it is good or bad, I'm just saying how it is right now.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2019
   https://www.opensips.org/events/Summit-2019Amsterdam/

On 03/08/2019 04:15 PM, Adam Overbeeke wrote:

Hi Bogdan,

I hope this answers your question. I’ve reconstructed the scenario
and confirmed that from OLD_STATE(4) to NEW_STATE(5) the dialog
variables are not available or return NULL. The trigger for the
state change was a BYE. Let me know if you want me to try any
thing else. I’ve provided some log output below. The first log is
a state transistion from 3 to 4… You can see the presence of my
variables dialog_org and dialog_dir. Please refer to the code I
posted before.

Thanks

Adam

_STATE 3 __à 4_

Mar  8 13:58:56 [371] { "t": "2019-03-08T13:58:56.428889Z",
"logger_name": "control", "thread_name": 371, "level": "INFO",
"route": "event_dialog_log", "message": { "hash_entry": "3352",
"hash_id": "1296669127", "callid":
"IB_MAP-27\/\/\/1-16@203.0.113.4"
<mailto:IB_MAP-27%5C/%5C/%5C/1-16@203.0.113.4>, "from_tag":
"16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 3,
"new_state": 4 } }

Mar  8 13:58:56 [371] { "t": "2019-03-08T13:58:56.429075Z",
"logger_name": "control", "thread_name": 371, "level": "INFO",
"route": "E_DLG_STATE_CHANGED", "message": { "dialog_org": "Org",
"dialog_dir": "Inbound" } }

_STATE 4 __à 5_

Mar  8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934118Z",
"logger_name": "control", "thread_name": 371, "level": "INFO",
"route": "event_dialog_log", "message": { "hash_entry": "3352",
"hash_id": "1296669127", "callid":
"IB_MAP-27\/\/\/1-16@203.0.113.4"
<mailto:IB_MAP-27%5C/%5C/%5C/1-16@203.0.113.4>, "from_tag":
"16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 4,
"new_state": 5 } }

Mar  8 13:58:56 [371] { "t": "2019-03-08T13:58:56.93

[OpenSIPS-Devel] [OpenSIPS/opensips] 0b465a: Fixed $log_level for returning negative values

2019-03-11 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0b465a386b4759dfb51b6265484deb5d9dd7710e
  
https://github.com/OpenSIPS/opensips/commit/0b465a386b4759dfb51b6265484deb5d9dd7710e
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
M pvar.c

  Log Message:
  ---
  Fixed $log_level for returning negative values

Use signed function to covert from int to str, as log_leve may be negative 
(-1==ERR).



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] f31de6: Fixed $log_level for returning negative values

2019-03-11 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f31de6d6dfc33b289ca99e8e47bb746bb840f006
  
https://github.com/OpenSIPS/opensips/commit/f31de6d6dfc33b289ca99e8e47bb746bb840f006
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
M pvar.c

  Log Message:
  ---
  Fixed $log_level for returning negative values

Use signed function to covert from int to str, as log_leve may be negative 
(-1==ERR).

(cherry picked from commit 0b465a386b4759dfb51b6265484deb5d9dd7710e)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 2b670e: Fix small bugs related to xlog_level addition

2019-03-11 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2b670e334a867ba6fc04441d1108944ac52db02b
  
https://github.com/OpenSIPS/opensips/commit/2b670e334a867ba6fc04441d1108944ac52db02b
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
M pvar.c
M xlog.c

  Log Message:
  ---
  Fix small bugs related to xlog_level addition



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] d7ac87: Fixed $log_level for returning negative values

2019-03-11 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d7ac87cf99481585cd63d75d53aca9c8de014b41
  
https://github.com/OpenSIPS/opensips/commit/d7ac87cf99481585cd63d75d53aca9c8de014b41
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
M pvar.c

  Log Message:
  ---
  Fixed $log_level for returning negative values

Use signed function to covert from int to str, as log_leve may be negative 
(-1==ERR).

(cherry picked from commit 0b465a386b4759dfb51b6265484deb5d9dd7710e)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state.

2019-03-12 Thread Bogdan-Andrei Iancu

Hi Adam,

Please open a feature request on GITHUB tracker- implementing this flag 
should be an easy one.


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 03/11/2019 03:05 PM, Adam Overbeeke wrote:


Hi Bogdan,

Thanks for the detailed explanation. For now, I will continue with my 
caching implementation. I think your solution would be best and would 
save my memory resources. I will make sure to refactor our script 
when/if the functionality is available in the future.


Thank you for your time,

Adam

*From: *Bogdan-Andrei Iancu 
*Date: *Monday, March 11, 2019 at 8:51 AM
*To: *Adam Overbeeke , OpenSIPS devel 
mailling list 
*Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog 
information for ENDED state.


Hi Adam,

It is not about sync/async...from the point of view of accessing the 
data (as coding) everything is fine (with matching terminated calls also).
It is more about the logic you have in the script, when using such 
functions (to fetch vars from a different dlg) - in my opinion, in 70% 
of the cases, your really want to work only with ongoing calls (once 
terminated, you want the dlg out of your equation). But lately, there 
are more and more where you need to fetch data from terminate calls too.


A solution (to be sure we do not break anything and we are backward 
compatible) will be to add some extra flags to the functions to 
"force" matching of the terminated calls too (as time as the dlg is 
still in memory, of course).


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2019
   https://www.opensips.org/events/Summit-2019Amsterdam/

On 03/11/2019 02:14 PM, Adam Overbeeke wrote:

Hi Bogdan,

Thanks for confirming my suspicions. I am not saying it is bad or
good, either. I can see why you would not be able to access the
dialog information when processing event routes, asynchronous. I
still would like a way to access the dialog variables around the
time the dialog will be terminated. As I stated before, my first
thought was that the variables would be available during
synchronous event route processing, but you have confirmed that is
not the case (now). Would you like me to create a feature request
on github? I am sure you already have an idea what could be done;
but my two cents would be something like a new WILL_TERMINATE
state or have the information available in the terminated state
for a period of time.

Thank you for your time,

Adam

    *From: *Bogdan-Andrei Iancu 
<mailto:bog...@opensips.org>
*Date: *Monday, March 11, 2019 at 4:38 AM
*To: *Adam Overbeeke 
<mailto:adam.overbe...@genesys.com>, OpenSIPS devel mailling list
 <mailto:devel@lists.opensips.org>
*Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog
information for ENDED state.

Hi Adam,

Checking a bit more the code, it seems that the inner
get_dlg_by_callid() function (used for locating dialogs in the
internal dlg table) does no return the dialogs in state 5
(terminated).

So, once the dialog switched to final state 5, it becomes
"invisible" to the get_dlg_vals() function. Same approach is also
implemented by get_dialog_info().

I'm not saying it is good or bad, I'm just saying how it is right now.

Regards,


Bogdan-Andrei Iancu

  


OpenSIPS Founder and Developer

   https://www.opensips-solutions.com

OpenSIPS Summit 2019

   https://www.opensips.org/events/Summit-2019Amsterdam/

On 03/08/2019 04:15 PM, Adam Overbeeke wrote:

Hi Bogdan,

I hope this answers your question. I’ve reconstructed the
scenario and confirmed that from OLD_STATE(4) to NEW_STATE(5)
the dialog variables are not available or return NULL. The
trigger for the state change was a BYE. Let me know if you
want me to try any thing else. I’ve provided some log output
below. The first log is a state transistion from 3 to 4… You
can see the presence of my variables dialog_org and
dialog_dir. Please refer to the code I posted before.

Thanks

Adam

_STATE 3 __à 4_

Mar  8 13:58:56 [371] { "t": "2019-03-08T13:58:56.428889Z",
"logger_name": "control", "thread_name": 371, "level": "INFO",
"route": "event_dialog_log", "message": { "hash_entry":
"3352", "hash_id": "1296669127", "callid":
"IB_MAP-27\/\/\/1-16@203.0.113.4"
<mailto:IB_MAP-27%5C/%5C/%5C/1-16@203.0.113.4>, "from_tag":
"16SIPpTag61", "to_t

[OpenSIPS-Devel] [OpenSIPS/opensips] 00a3ab: Fix t_reply_with_body() when called after t_newtran()

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 00a3ab348b0400fc63d25f742916ec65602f7e3f
  
https://github.com/OpenSIPS/opensips/commit/00a3ab348b0400fc63d25f742916ec65602f7e3f
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/tm/t_reply.c

  Log Message:
  ---
  Fix t_reply_with_body() when called after t_newtran()

Force an update of the cloned request (from transaction) with info from the 
real request before internally running t_reply_with_body(). As 
t_reply_with_body() works with the cloned request, we need to be sure it is 
up-2-date; and t_newtran() does a partial cloning of the requests - so, if the 
transaction already exists better update its cloned request to be sure it has 
all data.
Credits for detailed reporting to @rrb3942
Closes #1632



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 16b47f: Fix t_reply_with_body() when called after t_newtran()

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 16b47f04fd020921e3011678e1eaf854629b9f6b
  
https://github.com/OpenSIPS/opensips/commit/16b47f04fd020921e3011678e1eaf854629b9f6b
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/tm/t_reply.c

  Log Message:
  ---
  Fix t_reply_with_body() when called after t_newtran()

Force an update of the cloned request (from transaction) with info from the 
real request before internally running t_reply_with_body(). As 
t_reply_with_body() works with the cloned request, we need to be sure it is 
up-2-date; and t_newtran() does a partial cloning of the requests - so, if the 
transaction already exists better update its cloned request to be sure it has 
all data.
Credits for detailed reporting to @rrb3942
Closes #1632

(cherry picked from commit 00a3ab348b0400fc63d25f742916ec65602f7e3f)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 739f75: Fix t_reply_with_body() when called after t_newtran()

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 739f75999e5887ceed2892c2611e3acce86e60fc
  
https://github.com/OpenSIPS/opensips/commit/739f75999e5887ceed2892c2611e3acce86e60fc
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/tm/t_reply.c

  Log Message:
  ---
  Fix t_reply_with_body() when called after t_newtran()

Force an update of the cloned request (from transaction) with info from the 
real request before internally running t_reply_with_body(). As 
t_reply_with_body() works with the cloned request, we need to be sure it is 
up-2-date; and t_newtran() does a partial cloning of the requests - so, if the 
transaction already exists better update its cloned request to be sure it has 
all data.
Credits for detailed reporting to @rrb3942
Closes #1632

(cherry picked from commit 00a3ab348b0400fc63d25f742916ec65602f7e3f)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] db53a8: Add s.reverse Transformation

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: db53a8cb4d9613933dbcf3c23cd6008e5242b5c2
  
https://github.com/OpenSIPS/opensips/commit/db53a8cb4d9613933dbcf3c23cd6008e5242b5c2
  Author: Ryan Bullock 
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
M transformations.c
M transformations.h

  Log Message:
  ---
  Add s.reverse Transformation


  Commit: 912880f08c9c695036a96d4e0832580f9e26ce35
  
https://github.com/OpenSIPS/opensips/commit/912880f08c9c695036a96d4e0832580f9e26ce35
  Author: Ryan Bullock 
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
M transformations.h

  Log Message:
  ---
  Tab to spaces


  Commit: 18e007397761e4a3395cade899d43f732d52fd5e
  
https://github.com/OpenSIPS/opensips/commit/18e007397761e4a3395cade899d43f732d52fd5e
  Author: Bogdan Andrei IANCU 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M transformations.c
M transformations.h

  Log Message:
  ---
  Merge pull request #1634 from rrb3942/tr_s_reverse

New String Transformation: s.reverse


Compare: 
https://github.com/OpenSIPS/opensips/compare/00a3ab348b04...18e007397761

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 2c7ebe: Improve docs on "define_blacklist" param

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2c7ebe6de1f45f531b566db28a76953bdfb779e2
  
https://github.com/OpenSIPS/opensips/commit/2c7ebe6de1f45f531b566db28a76953bdfb779e2
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/doc/drouting_admin.xml

  Log Message:
  ---
  Improve docs on "define_blacklist" param



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 49e752: Improve docs on "define_blacklist" param

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 49e752093f32cd46f57fb76b5410d8bac5601307
  
https://github.com/OpenSIPS/opensips/commit/49e752093f32cd46f57fb76b5410d8bac5601307
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/doc/drouting_admin.xml

  Log Message:
  ---
  Improve docs on "define_blacklist" param

(cherry picked from commit 2c7ebe6de1f45f531b566db28a76953bdfb779e2)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 7896f9: Improve docs on "define_blacklist" param

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7896f9af2231366b056a180f79dee13f0d3af128
  
https://github.com/OpenSIPS/opensips/commit/7896f9af2231366b056a180f79dee13f0d3af128
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/doc/drouting_admin.xml

  Log Message:
  ---
  Improve docs on "define_blacklist" param

(cherry picked from commit 2c7ebe6de1f45f531b566db28a76953bdfb779e2)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 427aff: Removed bogus critical logs.

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 427affcf474d62305ddbe5a8616944a61ee69d80
  
https://github.com/OpenSIPS/opensips/commit/427affcf474d62305ddbe5a8616944a61ee69d80
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/drouting.c

  Log Message:
  ---
  Removed bogus critical logs.

Do not report errors if data does not exists - we may end up in such a cleanup 
situation during a failed startup (with no data loaded).



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 176721: Removed bogus critical logs.

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 17672103084519e8385add55cebbaad988d11c20
  
https://github.com/OpenSIPS/opensips/commit/17672103084519e8385add55cebbaad988d11c20
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/drouting.c

  Log Message:
  ---
  Removed bogus critical logs.

Do not report errors if data does not exists - we may end up in such a cleanup 
situation during a failed startup (with no data loaded).

(cherry picked from commit 427affcf474d62305ddbe5a8616944a61ee69d80)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 16e248: Removed bogus critical logs.

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 16e2486544bd94b5f9b10687ad21aee5b74c9653
  
https://github.com/OpenSIPS/opensips/commit/16e2486544bd94b5f9b10687ad21aee5b74c9653
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/drouting.c

  Log Message:
  ---
  Removed bogus critical logs.

Do not report errors if data does not exists - we may end up in such a cleanup 
situation during a failed startup (with no data loaded).

(cherry picked from commit 427affcf474d62305ddbe5a8616944a61ee69d80)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] d11ba5: Fix building blacklist's name when using partitions

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d11ba50413b53e2c0dafa091de98b6bb8bd5b972
  
https://github.com/OpenSIPS/opensips/commit/d11ba50413b53e2c0dafa091de98b6bb8bd5b972
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/dr_bl.c

  Log Message:
  ---
  Fix building blacklist's name when using partitions

Do not include the partition name in the name of the blacklist



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 71120b: Small fix in test during blacklist name parsing

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 71120b601371bf7d49e49ed4eb9f0e11f284b0b3
  
https://github.com/OpenSIPS/opensips/commit/71120b601371bf7d49e49ed4eb9f0e11f284b0b3
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/dr_bl.c

  Log Message:
  ---
  Small fix in test during blacklist name parsing

Related to d11ba50413b53e2c0dafa091de98b6bb8bd5b972



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] c09026: Avoid warnings when duplicates found in blacklists.

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c0902697f50377a36d75c2788252a32313ab2145
  
https://github.com/OpenSIPS/opensips/commit/c0902697f50377a36d75c2788252a32313ab2145
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/dr_bl.c

  Log Message:
  ---
  Avoid warnings when duplicates found in blacklists.

(cherry picked from commit 11aebdeb90cdcf850505cf3042f2591f80df018b)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 11aebd: Avoid warnings when duplicates found in blacklists.

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 11aebdeb90cdcf850505cf3042f2591f80df018b
  
https://github.com/OpenSIPS/opensips/commit/11aebdeb90cdcf850505cf3042f2591f80df018b
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/dr_bl.c

  Log Message:
  ---
  Avoid warnings when duplicates found in blacklists.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 570eb6: Avoid warnings when duplicates found in blacklists.

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 570eb61643456cf62dce181413892647fb593d97
  
https://github.com/OpenSIPS/opensips/commit/570eb61643456cf62dce181413892647fb593d97
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/dr_bl.c

  Log Message:
  ---
  Avoid warnings when duplicates found in blacklists.

(cherry picked from commit 11aebdeb90cdcf850505cf3042f2591f80df018b)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 0c80bc: Fix useless/bogus pointer reset

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0c80bcaf68b34c99a8b62b2e3c88bae43df97ff8
  
https://github.com/OpenSIPS/opensips/commit/0c80bcaf68b34c99a8b62b2e3c88bae43df97ff8
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/dr_bl.c

  Log Message:
  ---
  Fix useless/bogus pointer reset

Related to previos commit



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] b96d9c: Fix building blacklist's name when using partitions

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b96d9cc14072f1b1cbcc7ac7644e05094a3397e4
  
https://github.com/OpenSIPS/opensips/commit/b96d9cc14072f1b1cbcc7ac7644e05094a3397e4
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/dr_bl.c

  Log Message:
  ---
  Fix building blacklist's name when using partitions

Do not include the partition name in the name of the blacklist

(cherry picked from commit d11ba50413b53e2c0dafa091de98b6bb8bd5b972)


  Commit: 3dbb98fa4d5be3e1930dbde6fc6fa9ef539c90d3
  
https://github.com/OpenSIPS/opensips/commit/3dbb98fa4d5be3e1930dbde6fc6fa9ef539c90d3
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/dr_bl.c

  Log Message:
  ---
  Small fix in test during blacklist name parsing

Related to d11ba50413b53e2c0dafa091de98b6bb8bd5b972

(cherry picked from commit 71120b601371bf7d49e49ed4eb9f0e11f284b0b3)


  Commit: 74296412e6fa8fe8731ff5237d5c3634e95b786e
  
https://github.com/OpenSIPS/opensips/commit/74296412e6fa8fe8731ff5237d5c3634e95b786e
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/dr_bl.c

  Log Message:
  ---
  Fix useless/bogus pointer reset

Related to previos commit

(cherry picked from commit 0c80bcaf68b34c99a8b62b2e3c88bae43df97ff8)


Compare: 
https://github.com/OpenSIPS/opensips/compare/570eb6164345...74296412e6fa

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 0bc8bf: Fix building blacklist's name when using partitions

2019-03-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0bc8bf3a729bc2117f3ea849412f583d4913b204
  
https://github.com/OpenSIPS/opensips/commit/0bc8bf3a729bc2117f3ea849412f583d4913b204
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/dr_bl.c

  Log Message:
  ---
  Fix building blacklist's name when using partitions

Do not include the partition name in the name of the blacklist

(cherry picked from commit d11ba50413b53e2c0dafa091de98b6bb8bd5b972)


  Commit: 3bc72d4933cd01809505316d26aed180472aaf14
  
https://github.com/OpenSIPS/opensips/commit/3bc72d4933cd01809505316d26aed180472aaf14
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/dr_bl.c

  Log Message:
  ---
  Small fix in test during blacklist name parsing

Related to d11ba50413b53e2c0dafa091de98b6bb8bd5b972

(cherry picked from commit 71120b601371bf7d49e49ed4eb9f0e11f284b0b3)


  Commit: f5ffb1a130542b74b9e49790b9d919e7d64e73c8
  
https://github.com/OpenSIPS/opensips/commit/f5ffb1a130542b74b9e49790b9d919e7d64e73c8
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/drouting/dr_bl.c

  Log Message:
  ---
  Fix useless/bogus pointer reset

Related to previos commit

(cherry picked from commit 0c80bcaf68b34c99a8b62b2e3c88bae43df97ff8)


Compare: 
https://github.com/OpenSIPS/opensips/compare/11aebdeb90cd...f5ffb1a13054

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 37aea0: Fixed false-positive triggering on bogus error test.

2019-03-13 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 37aea0c97e55d0a5c7d7588248b615a7afe78586
  
https://github.com/OpenSIPS/opensips/commit/37aea0c97e55d0a5c7d7588248b615a7afe78586
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-13 (Wed, 13 Mar 2019)

  Changed paths:
M modules/pua_dialoginfo/pua_dialoginfo.c

  Log Message:
  ---
  Fixed false-positive triggering on bogus error test.

Check for parsing error on the proper structure.
Fix some bogus DBG logs



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 2001e3: Add Session-Expires header to compact_form_hdrs

2019-03-13 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2001e3fcb5afe5903a925e5d1cf4a14dc3762496
  
https://github.com/OpenSIPS/opensips/commit/2001e3fcb5afe5903a925e5d1cf4a14dc3762496
  Author: Ryan Bullock 
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
M modules/compression/compression.c

  Log Message:
  ---
  Add Session-Expires header to compact_form_hdrs


  Commit: 18a4b9024d9e6864693f27830d86e7ead4c77e3e
  
https://github.com/OpenSIPS/opensips/commit/18a4b9024d9e6864693f27830d86e7ead4c77e3e
  Author: Bogdan Andrei IANCU 
  Date:   2019-03-13 (Wed, 13 Mar 2019)

  Changed paths:
M modules/compression/compression.c

  Log Message:
  ---
  Merge pull request #1635 from rrb3942/compact_session_expires

Add Session-Expires header to compact_form_hdrs


Compare: 
https://github.com/OpenSIPS/opensips/compare/37aea0c97e55...18a4b9024d9e

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] faa2b2: Merge pull request #1635 from rrb3942/compact_sess...

2019-03-13 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: faa2b27935d5071e81ccf8c787d42389562dbe4a
  
https://github.com/OpenSIPS/opensips/commit/faa2b27935d5071e81ccf8c787d42389562dbe4a
  Author: Bogdan Andrei IANCU 
  Date:   2019-03-13 (Wed, 13 Mar 2019)

  Changed paths:
M modules/compression/compression.c

  Log Message:
  ---
  Merge pull request #1635 from rrb3942/compact_session_expires

Add Session-Expires header to compact_form_hdrs
(cherry picked from commit 18a4b9024d9e6864693f27830d86e7ead4c77e3e)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] dd45a8: Merge pull request #1635 from rrb3942/compact_sess...

2019-03-13 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dd45a84fe89c6092b39ed2210b7d6e030e77caf1
  
https://github.com/OpenSIPS/opensips/commit/dd45a84fe89c6092b39ed2210b7d6e030e77caf1
  Author: Bogdan Andrei IANCU 
  Date:   2019-03-13 (Wed, 13 Mar 2019)

  Changed paths:
M modules/compression/compression.c

  Log Message:
  ---
  Merge pull request #1635 from rrb3942/compact_session_expires

Add Session-Expires header to compact_form_hdrs
(cherry picked from commit 18a4b9024d9e6864693f27830d86e7ead4c77e3e)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 320e41: Add transformation {ip.matches, ip/masklen}

2019-03-13 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 320e4126bd96a36384c1b6c08ff6f10429d8719d
  
https://github.com/OpenSIPS/opensips/commit/320e4126bd96a36384c1b6c08ff6f10429d8719d
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-13 (Wed, 13 Mar 2019)

  Changed paths:
M transformations.c
M transformations.h

  Log Message:
  ---
  Add transformation {ip.matches,ip/masklen}



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] ad60d1: Fix pres/subs listing via new MI

2019-03-14 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ad60d1f7cdacce45d70f907a4043ea41f55271c6
  
https://github.com/OpenSIPS/opensips/commit/ad60d1f7cdacce45d70f907a4043ea41f55271c6
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-14 (Thu, 14 Mar 2019)

  Changed paths:
M modules/presence/presence.c

  Log Message:
  ---
  Fix pres/subs listing via new MI



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 4a3435: Migrated to new function param interface.

2019-03-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/func_params
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4a34354d6f162fd7d2e6d00bb0b20c43898c0d15
  
https://github.com/OpenSIPS/opensips/commit/4a34354d6f162fd7d2e6d00bb0b20c43898c0d15
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-15 (Fri, 15 Mar 2019)

  Changed paths:
M modules/dialplan/dialplan.c
M modules/dialplan/doc/dialplan_admin.xml

  Log Message:
  ---
  Migrated to new function param interface.

In script and MI function dp_translate, the partition is now a separate 
optional param (from the dpid).
Also, the script dp_translate() has the input string and output variable split 
in two different paramters.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips]

2019-03-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] cb12ef: Pack all the types of routes in a single structure

2019-03-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cb12ef1f2cd91e66f3924b0ba9a8a1cd0038fc11
  
https://github.com/OpenSIPS/opensips/commit/cb12ef1f2cd91e66f3924b0ba9a8a1cd0038fc11
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-15 (Fri, 15 Mar 2019)

  Changed paths:
M action.c
M async.c
M cfg.y
M main.c
M modules/b2b_entities/b2b_entities.c
M modules/b2b_entities/dlg.c
M modules/cpl_c/cpl.c
M modules/cpl_c/cpl_sig.c
M modules/drouting/dr_load.c
M modules/drouting/drouting.c
M modules/event_route/event_route.c
M modules/event_routing/ebr_data.c
M modules/event_routing/event_routing.c
M modules/pike/pike.c
M modules/pike/pike_funcs.c
M modules/proto_tls/proto_tls.c
M modules/proto_ws/proto_ws.c
M modules/proto_wss/proto_wss.c
M modules/script_helper/script_helper.c
M modules/sipcapture/sipcapture.c
M modules/tm/async.c
M modules/tm/t_fwd.c
M modules/tm/t_reply.c
M modules/tm/tm.c
M modules/tm/uac.c
M net/proto_tcp/proto_tcp.c
M net/trans_trace.c
M receive.c
M route.c
M route.h
M timer.c

  Log Message:
  ---
  Pack all the types of routes in a single structure



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] d84cbb: Added support to free the scripting routes.

2019-03-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d84cbbdafb28aacde01ee4d6b410e602e1ab82b6
  
https://github.com/OpenSIPS/opensips/commit/d84cbbdafb28aacde01ee4d6b410e602e1ab82b6
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-15 (Fri, 15 Mar 2019)

  Changed paths:
M main.c
M route.c
M route.h
M route_struct.c
M route_struct.h

  Log Message:
  ---
  Added support to free the scripting routes.

NOTE: things related to fixups or attached var specs are not yet freed.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 8d0f3b: Free also the var specs allocated from script parser

2019-03-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8d0f3b821d43d3a4d6b4843209173055b7114304
  
https://github.com/OpenSIPS/opensips/commit/8d0f3b821d43d3a4d6b4843209173055b7114304
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-15 (Fri, 15 Mar 2019)

  Changed paths:
M route_struct.c

  Log Message:
  ---
  Free also the var specs allocated from script parser



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] a06a8c: [permissions] migrated to new func's param interface.

2019-03-18 Thread Bogdan Andrei IANCU
  Branch: refs/heads/func_params
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a06a8c9a5132fb384eaab4099a10ece783962fdb
  
https://github.com/OpenSIPS/opensips/commit/a06a8c9a5132fb384eaab4099a10ece783962fdb
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-18 (Mon, 18 Mar 2019)

  Changed paths:
M modules/permissions/address.c
M modules/permissions/address.h
M modules/permissions/doc/permissions_admin.xml
M modules/permissions/hash.c
M modules/permissions/hash.h
M modules/permissions/partitions.c
M modules/permissions/partitions.h
M modules/permissions/permissions.c

  Log Message:
  ---
  [permissions] migrated to new func's param interface.

Partition is no longer part of the same param as the group, but an optional 
last parameter.
allow_routing/register(allow,deny) dropped as they were broken - keeping only 
the allow_routing/register(basename) should do it.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] f7a65e: [permission] Fixed partition fixup function

2019-03-18 Thread Bogdan Andrei IANCU
  Branch: refs/heads/func_params
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f7a65edc97f8521d2348531bc7cd137b36116360
  
https://github.com/OpenSIPS/opensips/commit/f7a65edc97f8521d2348531bc7cd137b36116360
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-18 (Mon, 18 Mar 2019)

  Changed paths:
M modules/permissions/permissions.c

  Log Message:
  ---
  [permission] Fixed partition fixup function



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 329a6f: [dialplan] Use flag to force lookup of default par...

2019-03-18 Thread Bogdan Andrei IANCU
  Branch: refs/heads/func_params
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 329a6ff578733d71d5a4cd442ec5f87999c62e83
  
https://github.com/OpenSIPS/opensips/commit/329a6ff578733d71d5a4cd442ec5f87999c62e83
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-18 (Mon, 18 Mar 2019)

  Changed paths:
M modules/dialplan/dialplan.c

  Log Message:
  ---
  [dialplan] Use flag to force lookup of default partision it is missing as 
param



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] OpenSIPS 3.0 interim update

2019-03-18 Thread Bogdan-Andrei Iancu

Hello all,

We are getting closer and closer to the 3.0 beta release, so here are 
some updates in regards to what was already done (according to the 
initial planning), what we are working on and what is the foreseen 
release date.


Starting from the list we had under scrutiny  (see 
https://www.opensips.org/Development/Opensips-3-0-Planning, the listing 
at the end).


What was completed
--

* OPS-1 - Auto-Scale the Number of Workers - 
https://blog.opensips.org/2019/02/25/auto-process-scaling-a-cure-for-load-and-resources-concerns/


* ITG-1 - Management Interface Rework & OpenSIPS CLI - 
https://blog.opensips.org/2019/03/13/new-opensips-cli-tool-for-the-new-management-interface-in-opensips-3-0/


* DEV-1 - Pluggable Preprocessor - 
https://blog.opensips.org/2019/03/05/generic-preprocessor-support-in-opensips-3-0/


* OPS-4 - Separate xlog() Logging Level ( new xlog_level parameter, 
variable and MI function)


* OPS-6 - Selectable Memory Allocator -branch 
"feature/selectable-allocator", to be posted this week


* OPS-7 - Unified Sharing Tags - 
https://blog.opensips.org/2019/03/07/achieving-service-redundancy-in-two-steps-with-unified-clustering-in-opensips-3-0/


* ITG-2 - SMPP Integration - 
https://blog.opensips.org/2019/01/24/gateway-between-sip-and-smpp-messages/



Work in progress


* OPS-3 - Script Reloading  - "script_reload" branch

* OPS-9 - Self-Diagnosis Tool

* DEV-3 - Full Variable Support for Functions - "func_params" branch

* OPS-8 - Tracing/Traffic Filtering Console

* OPS-10 - Persistent Shared Memory on Restart - designed and planned, 
to be implemented



Still pending
-

* OPS-2 - Edit Module Params at Runtime

* DEV-5 - Route entry point per Listener

* DEV-6 - Standard Format for Complex Modparams

* ITG-3 - RabbitMQ Consumer Module

* DEV-4 - Better Naming for Variables

* DEV-2 - Script Format Change



Based on the our evaluation on the necessary work to complete (at least) 
what is in progress, we foreseen the beta release for OpenSIPS 3.0 for 
*16th of April 2019*.



Best regards,

--
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] f7dc0a: Removed useless wraper function

2019-03-19 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f7dc0a474f4678993bee105b9ebe9ae4e4cb2dc1
  
https://github.com/OpenSIPS/opensips/commit/f7dc0a474f4678993bee105b9ebe9ae4e4cb2dc1
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-19 (Tue, 19 Mar 2019)

  Changed paths:
M modules/emergency/emergency_methods.c

  Log Message:
  ---
  Removed useless wraper function



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 586857: More re-structuring around the script routes.

2019-03-19 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 586857bc9827617cb6555612158910841169a583
  
https://github.com/OpenSIPS/opensips/commit/586857bc9827617cb6555612158910841169a583
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-19 (Tue, 19 Mar 2019)

  Changed paths:
M cfg.y
M main.c
M route.c
M route.h

  Log Message:
  ---
  More re-structuring around the script routes.

Separate script routes data from parsing versus interpreter - this will allow 
to load/parse/fix a new script while running with another script.

The parser may ignore (dry run) the non-routing part of the script (like global 
params, module related stuff) and parse and load ONLY the script routes.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 430b94: Rework the approach on handling multiple scripts.

2019-03-19 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 430b94d443f858ca5b1edc6e25668c5d713d058b
  
https://github.com/OpenSIPS/opensips/commit/430b94d443f858ca5b1edc6e25668c5d713d058b
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-19 (Tue, 19 Mar 2019)

  Changed paths:
M cfg.y
M main.c
M route.c
M route.h

  Log Message:
  ---
  Rework the approach on handling multiple scripts.

As we do this per proc, we do not actually parser_sroutes and sroutes, it is 
safe to change the sroute while parsing the new script.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] cc7a8f: Added a "reload_script" simple MI function.

2019-03-19 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cc7a8fd024bc8df1ff92ecdf88ae23060bb27868
  
https://github.com/OpenSIPS/opensips/commit/cc7a8fd024bc8df1ff92ecdf88ae23060bb27868
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-19 (Tue, 19 Mar 2019)

  Changed paths:
A cfg_reload.c
A cfg_reload.h
M mi/mi_core.c

  Log Message:
  ---
  Added a "reload_script" simple MI function.

For the moment, this MI function simply triggeres (in parallel to the existing 
script), the parsing of the new cfg, the fixing and validation and its freeing.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 811a78: Remember the startup wdir for later reload usage.

2019-03-20 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 811a78ffc5eb0191188a85ff272d5ba3b505b717
  
https://github.com/OpenSIPS/opensips/commit/811a78ffc5eb0191188a85ff272d5ba3b505b717
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-20 (Wed, 20 Mar 2019)

  Changed paths:
M cfg_reload.c
M daemonize.c
M daemonize.h

  Log Message:
  ---
  Remember the startup wdir for later reload usage.

As cfg file (and other files provided via cli params) may be relative to the 
startup working dir, we need to remember this dir and switch to it when doing a 
cfg reload.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 94674e: Make preproc options runtime persistent.

2019-03-20 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 94674e52e01aea00d6bc89f3c55093315926bf15
  
https://github.com/OpenSIPS/opensips/commit/94674e52e01aea00d6bc89f3c55093315926bf15
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-20 (Wed, 20 Mar 2019)

  Changed paths:
M cfg_reload.c
M globals.h
M main.c

  Log Message:
  ---
  Make preproc options runtime persistent.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] Available trainings during OpenSIPS Summit 2019

2019-03-21 Thread Bogdan-Andrei Iancu

Hello,

This year, for the OpenSIPS Summit 2019, we have a again two flavors for 
the one-day trainings - this year flavors are OpenSIPS and Asterisk -  
as usual, we try to bring the best to you. But keep in mind the number 
of seats is limited and ... first come, first served :).



   OpenSIPS Training

The OpenSIPS Training will focus this year on security, by teaching you 
how to prevent, detect and protect an OpenSIPS based VoIP system against 
various external attack. The training will also show you how to take 
advantage of the OpenSIPS 2.4 capabilities to secure your SIP and RTP 
traffic.


 * Training content:
 * - Securing the registration process
 * - Best practices for SIP authentication
 * - Detecting and blocking DoS attacks
 * - Preventing injections via SIP traffic
 * - Fighting back attacks based on DNS poisoning
 * - Privacy with TLS and SRTP
 * - TLS based authentication and authorization
 * - Fraud detection


  by OpenSIPS Team


   Asterisk, PJSIP and trouble-shooting

This training will start with a review of the basics, before introducing 
PJSIP (and comparing it, in terms of configuration and command line 
activity, with chan_sip) and then moving on to trouble-shooting.


 * Training content:
 * - Asterisk installation options review
 * - Asterisk architecture
 * - Asterisk configuration overview
 * - PJSIP introduction
 * - PJSIP configuration structure
 * - PJSIP commands
 * - Trouble-shooting SIP in Asterisk
 * - Trouble-shooting in the dialplan
 * - Review, general Q&A


 by David Duffett

--
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] New MI module names

2019-03-26 Thread Bogdan-Andrei Iancu
I second that, it is a bad and useless practice to include the name of 
the module in the modparam names - these params are to be exclusively 
used in combination with the name of the module.


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 03/23/2019 01:32 PM, Dan Pascu wrote:

One thing that came to mind to help mitigate the need for changing everything 
when a module is renamed and also simplify the naming for module parameters is 
to remove the redundant module names prefixing each module parameter name.

Right now they are like:

loadmodule "mi_http"
modparam("mi_http", "mi_http_root", "some_path")

we can get rid of the module name prefix, since module parameters are already 
in the namespace of the module, making the prefix redundant. so it will be like:

loadmodule "mi_http"
modparam("mi_http", "root", "some_path")



On 22 Mar 2019, at 14:33, Vlad Patrascu wrote:


Hi Dan,

Indeed, those module parameters will be renamed accordingly, it's still on the 
todo list.

As for the module names, they should now reflect the transport protocol and not 
the encoding, since the majority of modules use JSON. 'mi_html' and 
'mi_xmlrpc_ng' are the only exceptions. Even though they are also over HTTP, it 
makes sense to differentiate them by encoding since they don't align with the 
internal MI interface(which is now JSON-RPC) and do a translation.

Regards,

Vlad Patrascu
OpenSIPS Developer
http://www.opensips-solutions.com

--
Dan





___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] bf2531: Fix AVP context over sending requests via local ro...

2019-03-26 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bf25311d92f412f8e735ce6919c0689ff117d4a0
  
https://github.com/OpenSIPS/opensips/commit/bf25311d92f412f8e735ce6919c0689ff117d4a0
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-26 (Tue, 26 Mar 2019)

  Changed paths:
M modules/tm/uac.c

  Log Message:
  ---
  Fix AVP context over sending requests via local route.

Be sure the internally expose the same AVP list for running the local route and 
sending the request out.
Fixes #1642



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 4b865f: Fix AVP context over sending requests via local ro...

2019-03-26 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4b865f72f4a4184a568377e1af968f88a16cea2d
  
https://github.com/OpenSIPS/opensips/commit/4b865f72f4a4184a568377e1af968f88a16cea2d
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-26 (Tue, 26 Mar 2019)

  Changed paths:
M modules/tm/uac.c

  Log Message:
  ---
  Fix AVP context over sending requests via local route.

Be sure the internally expose the same AVP list for running the local route and 
sending the request out.
Fixes #1642

(cherry picked from commit bf25311d92f412f8e735ce6919c0689ff117d4a0)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 44394e: Fix AVP context over sending requests via local ro...

2019-03-26 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 44394e322eb2c52565629c6889d15e9e35837b39
  
https://github.com/OpenSIPS/opensips/commit/44394e322eb2c52565629c6889d15e9e35837b39
  Author: Bogdan-Andrei Iancu 
  Date:   2019-03-26 (Tue, 26 Mar 2019)

  Changed paths:
M modules/tm/uac.c

  Log Message:
  ---
  Fix AVP context over sending requests via local route.

Be sure the internally expose the same AVP list for running the local route and 
sending the request out.
Fixes #1642

(cherry picked from commit bf25311d92f412f8e735ce6919c0689ff117d4a0)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] d1ef89: Fix errors on bulk insert after delete/update

2019-03-26 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d1ef89600d7036c911f594585a86db4246ff55dd
  
https://github.com/OpenSIPS/opensips/commit/d1ef89600d7036c911f594585a86db4246ff55dd
  Author: Ryan Bullock 
  Date:   2019-03-25 (Mon, 25 Mar 2019)

  Changed paths:
M modules/db_postgres/dbase.c

  Log Message:
  ---
  Fix errors on bulk insert after delete/update


  Commit: b931ffe57d207f99f831a19a2a571e29ed0d3279
  
https://github.com/OpenSIPS/opensips/commit/b931ffe57d207f99f831a19a2a571e29ed0d3279
  Author: Bogdan Andrei IANCU 
  Date:   2019-03-26 (Tue, 26 Mar 2019)

  Changed paths:
M modules/db_postgres/dbase.c

  Log Message:
  ---
  Merge pull request #1643 from rrb3942/postgresql_bulk_fix

db_postgres: Fix errors on bulk insert after delete/update


Compare: 
https://github.com/OpenSIPS/opensips/compare/44394e322eb2...b931ffe57d20

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] f13777: Merge pull request #1643 from rrb3942/postgresql_b...

2019-03-26 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f137771f6c30f133d935f443847f8a27609fd5cb
  
https://github.com/OpenSIPS/opensips/commit/f137771f6c30f133d935f443847f8a27609fd5cb
  Author: Bogdan Andrei IANCU 
  Date:   2019-03-26 (Tue, 26 Mar 2019)

  Changed paths:
M modules/db_postgres/dbase.c

  Log Message:
  ---
  Merge pull request #1643 from rrb3942/postgresql_bulk_fix

db_postgres: Fix errors on bulk insert after delete/update
(cherry picked from commit b931ffe57d207f99f831a19a2a571e29ed0d3279)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] d429a3: Merge pull request #1643 from rrb3942/postgresql_b...

2019-03-26 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d429a3b85ad4d8b245d3b3bf0670ae1ca67a8722
  
https://github.com/OpenSIPS/opensips/commit/d429a3b85ad4d8b245d3b3bf0670ae1ca67a8722
  Author: Bogdan Andrei IANCU 
  Date:   2019-03-26 (Tue, 26 Mar 2019)

  Changed paths:
M modules/db_postgres/dbase.c

  Log Message:
  ---
  Merge pull request #1643 from rrb3942/postgresql_bulk_fix

db_postgres: Fix errors on bulk insert after delete/update
(cherry picked from commit b931ffe57d207f99f831a19a2a571e29ed0d3279)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] t_on_reply for CANCEL transaction

2019-03-27 Thread Bogdan-Andrei Iancu

Yes Ben, please do that !

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 03/26/2019 10:32 PM, Ben Newlin wrote:


Bogdan,

Would you like me to open a github issue to track this?

Ben Newlin

*From: *Bogdan-Andrei Iancu 
*Date: *Monday, March 11, 2019 at 4:50 AM
*To: *OpenSIPS devel mailling list , Ben 
Newlin 

*Subject: *Re: [OpenSIPS-Devel] t_on_reply for CANCEL transaction

Hi Ben,

Let me check what the history behind the lack of on_reply for the 
CANCEL transaction, if it a simple miss or if there some good reasons 
(mainly related to SIP consistency) not to have it.


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2019
   https://www.opensips.org/events/Summit-2019Amsterdam/

On 03/10/2019 04:15 PM, Ben Newlin wrote:

Hello,

We are implemented some more detailed statistics capturing for our
proxies which includes transaction statistics and requires that we
track all transactions through the system. Implementing this with
dialogs was very straightforward, thanks to the
E_DLG_STATE_CHANGEDevents. I have opened a Feature Request [1] for
similar functionality in the TM module if it is possible.

In the meantime, I have created routes to track the transactions
but I am running into an issue with the CANCEL transaction. It
appears that the replies to a CANCEL will only ever trigger the
global onreply_route. When I arm a different transaction reply
route using t_on_reply it is never called. Since the transaction
is not available in the global reply route, I cannot use it for my
purposes.

Is it intentional/expected that t_on_reply cannot be used with a
CANCEL transaction? If so, are there other methods that also do
not work?

[1] - https://github.com/OpenSIPS/opensips/issues/1630
<https://github.com/OpenSIPS/opensips/issues/1630>

Ben Newlin




___

Devel mailing list

Devel@lists.opensips.org <mailto:Devel@lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/devel





___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 39febe: Force OSS_PROC_IS_RUNNING when setting proc attrs.

2019-04-01 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 39febee49e2f8ee3d954ed173972d7f0d20ea2de
  
https://github.com/OpenSIPS/opensips/commit/39febee49e2f8ee3d954ed173972d7f0d20ea2de
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-01 (Mon, 01 Apr 2019)

  Changed paths:
M pt.c

  Log Message:
  ---
  Force OSS_PROC_IS_RUNNING when setting proc attrs.

As setting the process attrs is a self doing action, it is safe to force also 
the OSS_PROC_IS_RUNNING flag -> the process is running.
This fixes the missing OSS_PROC_IS_RUNNING flag for attendant process.
Reported by @liviuchircu



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 79a9da: Fix replicating wrong event with BLF & mix_dialog_...

2019-04-02 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 79a9daf659468cdfebbd6a4f95de1dd2b3f69409
  
https://github.com/OpenSIPS/opensips/commit/79a9daf659468cdfebbd6a4f95de1dd2b3f69409
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-02 (Tue, 02 Apr 2019)

  Changed paths:
M modules/presence/presentity.c

  Log Message:
  ---
  Fix replicating wrong event with BLF & mix_dialog_presence

If mix_dialog_presence is enabled for BLF, the wrong event is replicated 
(presence instead of dialog) due some hackish code.
Better restore the correct event after forcing the handling of the BLF publish 
as presence, so the clustering layer will see the corrent event type.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 4d1581: Fix replicating wrong event with BLF & mix_dialog_...

2019-04-02 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4d1581031365b289effe39bc2f21cc24f20b5da9
  
https://github.com/OpenSIPS/opensips/commit/4d1581031365b289effe39bc2f21cc24f20b5da9
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-02 (Tue, 02 Apr 2019)

  Changed paths:
M modules/presence/presentity.c

  Log Message:
  ---
  Fix replicating wrong event with BLF & mix_dialog_presence

If mix_dialog_presence is enabled for BLF, the wrong event is replicated 
(presence instead of dialog) due some hackish code.
Better restore the correct event after forcing the handling of the BLF publish 
as presence, so the clustering layer will see the corrent event type.

(cherry picked from commit 79a9daf659468cdfebbd6a4f95de1dd2b3f69409)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 2b6b00: Fix dangling path vector in shm cloned request.

2019-04-03 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2b6b000305f0957e2e020bdfa9be869795cc41dd
  
https://github.com/OpenSIPS/opensips/commit/2b6b000305f0957e2e020bdfa9be869795cc41dd
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
M modules/registrar/save.c

  Log Message:
  ---
  Fix dangling path vector in shm cloned request.

When doing save() on reply, be sure you free whatever path_vec may be attached 
via save_aux() in pkg. Keep in mind that the request is a cloned request in shm.
Closes #1640.
May thanks to @netaskd for his help in troubleshooting this issue.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 65de8a: Fix dangling path vector in shm cloned request.

2019-04-03 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 65de8a584bbd62d471733b335d665f3fa9713e4e
  
https://github.com/OpenSIPS/opensips/commit/65de8a584bbd62d471733b335d665f3fa9713e4e
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
M modules/registrar/save.c

  Log Message:
  ---
  Fix dangling path vector in shm cloned request.

When doing save() on reply, be sure you free whatever path_vec may be attached 
via save_aux() in pkg. Keep in mind that the request is a cloned request in shm.
Closes #1640.
May thanks to @netaskd for his help in troubleshooting this issue.

(cherry picked from commit 2b6b000305f0957e2e020bdfa9be869795cc41dd)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 953fbf: Fix dangling path vector in shm cloned request.

2019-04-03 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 953fbfb7fef418e5620a1c77ead1c9f6cc521524
  
https://github.com/OpenSIPS/opensips/commit/953fbfb7fef418e5620a1c77ead1c9f6cc521524
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
M modules/registrar/save.c

  Log Message:
  ---
  Fix dangling path vector in shm cloned request.

When doing save() on reply, be sure you free whatever path_vec may be attached 
via save_aux() in pkg. Keep in mind that the request is a cloned request in shm.
Closes #1640.
May thanks to @netaskd for his help in troubleshooting this issue.

(cherry picked from commit 2b6b000305f0957e2e020bdfa9be869795cc41dd)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] e1004f: Fix concurrent parsing over samed shm message.

2019-04-03 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e1004f864587a37a1e5630d1181fa323ba51df14
  
https://github.com/OpenSIPS/opensips/commit/e1004f864587a37a1e5630d1181fa323ba51df14
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
M modules/b2b_entities/dlg.c
M modules/dialog/dlg_handlers.c
M modules/osp/cnam.c
M modules/presence/subscribe.c
M modules/pua/send_subscribe.c
M modules/topology_hiding/topo_hiding_logic.c
M parser/parse_rr.c
M parser/parse_rr.h

  Log Message:
  ---
  Fix concurrent parsing over samed shm message.

As print_rr_body() may be called from different processes but over the same shm 
request, the performed parsing may lead to conflicts (different procs will 
fight one each other in setting the "parsed" field of the hdr_field in shm.
This will easily lead to memory corruption and crashes. As real case, different 
replies to the same request may trigger print_rr_body in topology_hiding(), 
over the same shm cloned request.
The newly added paramter (no_change) will instruct print_rr_body() to do its 
job but without changing anything in the inout set of RR hdrs.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 6d2fe7: Fix concurrent parsing over samed shm message.

2019-04-03 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6d2fe7a1e241caf8681d57a36d6765e665dac809
  
https://github.com/OpenSIPS/opensips/commit/6d2fe7a1e241caf8681d57a36d6765e665dac809
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
M modules/b2b_entities/dlg.c
M modules/dialog/dlg_handlers.c
M modules/osp/cnam.c
M modules/presence/subscribe.c
M modules/pua/send_subscribe.c
M modules/topology_hiding/topo_hiding_logic.c
M parser/parse_rr.c
M parser/parse_rr.h

  Log Message:
  ---
  Fix concurrent parsing over samed shm message.

As print_rr_body() may be called from different processes but over the same shm 
request, the performed parsing may lead to conflicts (different procs will 
fight one each other in setting the "parsed" field of the hdr_field in shm.
This will easily lead to memory corruption and crashes. As real case, different 
replies to the same request may trigger print_rr_body in topology_hiding(), 
over the same shm cloned request.
The newly added paramter (no_change) will instruct print_rr_body() to do its 
job but without changing anything in the inout set of RR hdrs.

(cherry picked from commit e1004f864587a37a1e5630d1181fa323ba51df14)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 5ad04a: Fix concurrent parsing over samed shm message.

2019-04-03 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5ad04ac4ddd09d1102d5e9bbc6736edf7f86642e
  
https://github.com/OpenSIPS/opensips/commit/5ad04ac4ddd09d1102d5e9bbc6736edf7f86642e
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
M modules/b2b_entities/dlg.c
M modules/dialog/dlg_handlers.c
M modules/osp/cnam.c
M modules/presence/subscribe.c
M modules/pua/send_subscribe.c
M modules/topology_hiding/topo_hiding_logic.c
M parser/parse_rr.c
M parser/parse_rr.h

  Log Message:
  ---
  Fix concurrent parsing over samed shm message.

As print_rr_body() may be called from different processes but over the same shm 
request, the performed parsing may lead to conflicts (different procs will 
fight one each other in setting the "parsed" field of the hdr_field in shm.
This will easily lead to memory corruption and crashes. As real case, different 
replies to the same request may trigger print_rr_body in topology_hiding(), 
over the same shm cloned request.
The newly added paramter (no_change) will instruct print_rr_body() to do its 
job but without changing anything in the inout set of RR hdrs.

(cherry picked from commit e1004f864587a37a1e5630d1181fa323ba51df14)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] a83403: Added RPC based mechanism to reload in processes

2019-04-03 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a8340376ccbe5a2ab9661f954e48092c1a788f8b
  
https://github.com/OpenSIPS/opensips/commit/a8340376ccbe5a2ab9661f954e48092c1a788f8b
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
M cfg_pp.c
M cfg_pp.h
M cfg_reload.c
M cfg_reload.h
M main.c

  Log Message:
  ---
  Added RPC based mechanism to reload in processes



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 13056d: Small fixes.

2019-04-03 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 13056d8f0fd3e11210e86f765997087807b86c92
  
https://github.com/OpenSIPS/opensips/commit/13056d8f0fd3e11210e86f765997087807b86c92
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-04 (Thu, 04 Apr 2019)

  Changed paths:
M cfg_reload.c

  Log Message:
  ---
  Small fixes.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 65af0b: Fix missing script "fixing" in processes (after re...

2019-04-03 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 65af0b5c8ce237744c77a0105676448c15fd629f
  
https://github.com/OpenSIPS/opensips/commit/65af0b5c8ce237744c77a0105676448c15fd629f
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-04 (Thu, 04 Apr 2019)

  Changed paths:
M cfg_reload.c

  Log Message:
  ---
  Fix missing script "fixing" in processes (after reload)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] b8b835: Name the MI nodes in t_uac_dlg reply

2019-04-08 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b8b8352007ace2c1886046a949aa4a7b7ed6d8ed
  
https://github.com/OpenSIPS/opensips/commit/b8b8352007ace2c1886046a949aa4a7b7ed6d8ed
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
M modules/tm/mi.c

  Log Message:
  ---
  Name the MI nodes in t_uac_dlg reply

Without names, the reply will be inconsistent in JSON format



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 6e930d: Name the MI nodes in t_uac_dlg reply

2019-04-08 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6e930dd4334afa3f2f17a7f4f6f0fc05a39b1e82
  
https://github.com/OpenSIPS/opensips/commit/6e930dd4334afa3f2f17a7f4f6f0fc05a39b1e82
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
M modules/tm/mi.c

  Log Message:
  ---
  Name the MI nodes in t_uac_dlg reply

Without names, the reply will be inconsistent in JSON format

(cherry picked from commit b8b8352007ace2c1886046a949aa4a7b7ed6d8ed)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] ce3f3b: Align the node names of t_uac_dlg MI with 2.4

2019-04-08 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ce3f3b7aa49e7f011d34ad1d1f62399fb9efb787
  
https://github.com/OpenSIPS/opensips/commit/ce3f3b7aa49e7f011d34ad1d1f62399fb9efb787
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
M modules/tm/mi.c

  Log Message:
  ---
  Align the node names of t_uac_dlg MI with 2.4



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] d0156d: Fix missing escaping in JSON output via mi_json

2019-04-08 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d0156db0a0c09353864f7600b948ed5e4177ab9e
  
https://github.com/OpenSIPS/opensips/commit/d0156db0a0c09353864f7600b948ed5e4177ab9e
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
M modules/mi_json/http_fnc.c

  Log Message:
  ---
  Fix missing escaping in JSON output via mi_json

TAB, Back Space, Form Feed, New Line and Carriage Return must be escaped in the 
values returned by mi_json.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] a7a05c: Fix missing escaping in JSON output via mi_json

2019-04-08 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a7a05c9aa0672ab99364a2f9806bffe8be225533
  
https://github.com/OpenSIPS/opensips/commit/a7a05c9aa0672ab99364a2f9806bffe8be225533
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
M modules/mi_json/http_fnc.c

  Log Message:
  ---
  Fix missing escaping in JSON output via mi_json

TAB, Back Space, Form Feed, New Line and Carriage Return must be escaped in the 
values returned by mi_json.

(cherry picked from commit d0156db0a0c09353864f7600b948ed5e4177ab9e)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 95f2e2: Fix how INT param is recived by function

2019-04-08 Thread Bogdan Andrei IANCU
  Branch: refs/heads/func_params
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 95f2e2796cf10d35576bfb82a30b9cc5afba7617
  
https://github.com/OpenSIPS/opensips/commit/95f2e2796cf10d35576bfb82a30b9cc5afba7617
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
M modules/dialplan/dialplan.c

  Log Message:
  ---
  Fix how INT param is recived by function


  Commit: 5774079e7e0cab4044cc67c899dcba77dcc43d5d
  
https://github.com/OpenSIPS/opensips/commit/5774079e7e0cab4044cc67c899dcba77dcc43d5d
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
M mod_fix.h

  Log Message:
  ---
  Added missing include


  Commit: a7b3e7eccda784b7b8ec8c898903ccf809e87897
  
https://github.com/OpenSIPS/opensips/commit/a7b3e7eccda784b7b8ec8c898903ccf809e87897
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
M modules/permissions/address.c
M modules/permissions/address.h

  Log Message:
  ---
  Fix passing INT parameters


Compare: 
https://github.com/OpenSIPS/opensips/compare/fb0f6405015b...a7b3e7eccda7

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] df9d35: drouting: Port to new mod-function interface

2019-04-10 Thread Bogdan Andrei IANCU
  Branch: refs/heads/func_params
  Home:   https://github.com/OpenSIPS/opensips
  Commit: df9d35c320dd4627eb520b37b931c6259ede9b18
  
https://github.com/OpenSIPS/opensips/commit/df9d35c320dd4627eb520b37b931c6259ede9b18
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-10 (Wed, 10 Apr 2019)

  Changed paths:
M modules/drouting/doc/drouting_admin.xml
M modules/drouting/drouting.c

  Log Message:
  ---
  drouting: Port to new mod-function interface



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] db5fe2: Add application flags in the reactor fd map

2019-04-11 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: db5fe244b7e2e978ee3a25e2ea531ede2f18
  
https://github.com/OpenSIPS/opensips/commit/db5fe244b7e2e978ee3a25e2ea531ede2f18
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-11 (Thu, 11 Apr 2019)

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

  Log Message:
  ---
  Add application flags in the reactor fd map

The new app flags allow the code using a reactor to mark and check the existing 
fds, without interfering with the reactor internals


  Commit: 05798d860cb4a30da637f00fc08af9e5d7845716
  
https://github.com/OpenSIPS/opensips/commit/05798d860cb4a30da637f00fc08af9e5d7845716
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-11 (Thu, 11 Apr 2019)

  Changed paths:
M cfg_reload.c
M cfg_reload.h

  Log Message:
  ---
  Add support for keeping old/prev cfg after reload

In order to properly handle the ongoing async ops, we need to keep the prev cfg 
until all the ongoing async ops are done and corresponding FDs removed from 
reactor


  Commit: 09d02482e726ca2866006bc2cdcd5741072e6ed6
  
https://github.com/OpenSIPS/opensips/commit/09d02482e726ca2866006bc2cdcd5741072e6ed6
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-11 (Thu, 11 Apr 2019)

  Changed paths:
M cfg_reload.c

  Log Message:
  ---
  Prevent a new reload while not fully switched to latest cfg


  Commit: 26db23088fe82a05fcbb81db9a59a6774da94269
  
https://github.com/OpenSIPS/opensips/commit/26db23088fe82a05fcbb81db9a59a6774da94269
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-11 (Thu, 11 Apr 2019)

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

  Log Message:
  ---
  Add async-draing during reload for TCP/UDP/timer reactors


Compare: 
https://github.com/OpenSIPS/opensips/compare/65af0b5c8ce2...26db23088fe8

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 189668: Added new function to module export struct

2019-04-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1896689dfc210dc26387826c642ec26e7168d726
  
https://github.com/OpenSIPS/opensips/commit/1896689dfc210dc26387826c642ec26e7168d726
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-12 (Fri, 12 Apr 2019)

  Changed paths:
M modules/aaa_radius/aaa_radius.c
M modules/acc/acc_mod.c
M modules/alias_db/alias_db.c
M modules/auth/auth_mod.c
M modules/auth_aaa/authaaa_mod.c
M modules/auth_db/authdb_mod.c
M modules/avpops/avpops.c
M modules/b2b_entities/b2b_entities.c
M modules/b2b_logic/b2b_logic.c
M modules/b2b_sca/b2b_sca.c
M modules/benchmark/benchmark.c
M modules/cachedb_cassandra/cachedb_cassandra.c
M modules/cachedb_couchbase/cachedb_couchbase.c
M modules/cachedb_local/cachedb_local.c
M modules/cachedb_memcached/cachedb_memcached.c
M modules/cachedb_mongodb/cachedb_mongodb.c
M modules/cachedb_redis/cachedb_redis.c
M modules/cachedb_sql/cachedb_sql.c
M modules/call_center/call_center.c
M modules/call_control/call_control.c
M modules/carrierroute/carrierroute.c
M modules/cfgutils/cfgutils.c
M modules/cgrates/cgrates.c
M modules/clusterer/clusterer_mod.c
M modules/compression/compression.c
M modules/cpl_c/cpl.c
M modules/db_berkeley/db_berkeley.c
M modules/db_cachedb/db_cachedb.c
M modules/db_flatstore/flatstore_mod.c
M modules/db_http/db_http.c
M modules/db_mysql/db_mysql.c
M modules/db_oracle/db_oracle.c
M modules/db_perlvdb/perlvdb.c
M modules/db_postgres/db_postgres.c
M modules/db_sqlite/db_sqlite.c
M modules/db_text/dbtext.c
M modules/db_unixodbc/db_unixodbc.c
M modules/db_virtual/db_virtual.c
M modules/dialog/dialog.c
M modules/dialplan/dialplan.c
M modules/dispatcher/dispatcher.c
M modules/diversion/diversion.c
M modules/dns_cache/dns_cache.c
M modules/domain/domain_mod.c
M modules/domainpolicy/domainpolicy_mod.c
M modules/drouting/drouting.c
M modules/emergency/emergency_methods.c
M modules/enum/enum_mod.c
M modules/event_datagram/event_datagram.c
M modules/event_flatstore/event_flatstore.c
M modules/event_jsonrpc/event_jsonrpc.c
M modules/event_rabbitmq/event_rabbitmq.c
M modules/event_route/event_route.c
M modules/event_routing/event_routing.c
M modules/event_virtual/event_virtual.c
M modules/event_xmlrpc/event_xmlrpc.c
M modules/exec/exec_mod.c
M modules/fraud_detection/fraud_detection.c
M modules/freeswitch/fs_mod.c
M modules/freeswitch_scripting/fss_mod.c
M modules/gflags/gflags.c
M modules/group/group_mod.c
M modules/h350/h350_mod.c
M modules/httpd/httpd.c
M modules/identity/identity.c
M modules/imc/imc.c
M modules/jabber/jabber.c
M modules/json/json.c
M modules/jsonrpc/jsonrpc.c
M modules/ldap/ldap_mod.c
M modules/load_balancer/load_balancer.c
M modules/lua/siplua.c
M modules/mangler/mangler.c
M modules/mathops/mathops.c
M modules/maxfwd/maxfwd.c
M modules/mediaproxy/mediaproxy.c
M modules/mi_datagram/mi_datagram.c
M modules/mi_fifo/mi_fifo.c
M modules/mi_html/mi_html.c
M modules/mi_http/mi_http.c
M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c
M modules/mid_registrar/mid_registrar.c
M modules/mmgeoip/mmgeoip.c
M modules/msilo/msilo.c
M modules/nat_traversal/nat_traversal.c
M modules/nathelper/nathelper.c
M modules/options/mod_options.c
M modules/osp/osp_mod.c
M modules/path/path_mod.c
M modules/peering/peering.c
M modules/perl/perl.c
M modules/permissions/permissions.c
M modules/pi_http/pi_http.c
M modules/pike/pike.c
M modules/presence/presence.c
M modules/presence_callinfo/presence_callinfo.c
M modules/presence_dialoginfo/presence_dialoginfo.c
M modules/presence_mwi/presence_mwi.c
M modules/presence_xcapdiff/presence_xcapdiff.c
M modules/presence_xml/presence_xml.c
M modules/proto_bin/proto_bin.c
M modules/proto_hep/proto_hep.c
M modules/proto_sctp/proto_sctp.c
M modules/proto_smpp/proto_smpp.c
M modules/proto_tls/proto_tls.c
M modules/proto_ws/proto_ws.c
M modules/proto_wss/proto_wss.c
M modules/pua/pua.c
M modules/pua_bla/pua_bla.c
M modules/pua_dialoginfo/pua_dialoginfo.c
M modules/pua_mi/pua_mi.c
M modules/pua_usrloc/pua_usrloc.c
M modules/pua_xmpp/pua_xmpp.c
M modules/python/python_mod.c
M modules/qos/qos.c
M modules/rabbitmq/rabbitmq.c
M modules/ratelimit/ratelimit.c
M modules/regex/regex_mod.c
M modules/registrar/reg_mod.c
M modules/rest_client/rest_client.c
M modules/rls/rls.c
M modules/rr/rr_mod.c
M modules/rtpengine/rtpengine.c
M modules/rtpproxy/rtpproxy.c
M modules/script_helper/script_helper.c
M modules/seas/seas.c
M modules/signaling/signaling.c
M modules/sip_i/sip_i.c
M modules/sipcapture

[OpenSIPS-Devel] [OpenSIPS/opensips] 9c8fec: Added reload validation functions.

2019-04-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9c8fecd13a4fabf51cd44e2457dd92d92a1b157e
  
https://github.com/OpenSIPS/opensips/commit/9c8fecd13a4fabf51cd44e2457dd92d92a1b157e
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-12 (Fri, 12 Apr 2019)

  Changed paths:
M modules/auth_aaa/authaaa_mod.c
M modules/avpops/avpops.c
M modules/event_routing/event_routing.c
M modules/rest_client/rest_client.c
M modules/sipcapture/sipcapture.c
M modules/uac/uac.c

  Log Message:
  ---
  Added reload validation functions.

If the module initialize in different ways, depending on what functions are 
used in script, during a cfg reload, we need to re-check if the original module 
initialization is compatible with what functions are used in the new script.


  Commit: aca85454fbcfa57f7578e0a731a44924e5f0df52
  
https://github.com/OpenSIPS/opensips/commit/aca85454fbcfa57f7578e0a731a44924e5f0df52
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-12 (Fri, 12 Apr 2019)

  Changed paths:
M cfg_reload.c

  Log Message:
  ---
  Better logging


Compare: 
https://github.com/OpenSIPS/opensips/compare/4a85d5b46d79...aca85454fbcf

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] ff98be: Fixed fixup

2019-04-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/func_params
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ff98be9476bcb0e09b73ef2651a94bb844100383
  
https://github.com/OpenSIPS/opensips/commit/ff98be9476bcb0e09b73ef2651a94bb844100383
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-12 (Fri, 12 Apr 2019)

  Changed paths:
M modules/permissions/permissions.c

  Log Message:
  ---
  Fixed fixup



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 1d7cd3: Add new process flag OSS_PROC_NEEDS_SCRIPT

2019-04-12 Thread Bogdan Andrei IANCU
  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1d7cd37ec9fdd3c06ce2593d3df1a5dbc6cb45d6
  
https://github.com/OpenSIPS/opensips/commit/1d7cd37ec9fdd3c06ce2593d3df1a5dbc6cb45d6
  Author: Bogdan-Andrei Iancu 
  Date:   2019-04-12 (Fri, 12 Apr 2019)

  Changed paths:
M net/net_tcp.c
M net/net_udp.c
M pt.c
M pt.h
M timer.c

  Log Message:
  ---
  Add new process flag OSS_PROC_NEEDS_SCRIPT

If a process does not need the script, free it. This is a way to force a policy 
about what modules are expected to run the script or not - it will help during 
the script reload.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


  1   2   3   4   5   6   7   8   9   10   >