[OpenSIPS-Devel] [OpenSIPS/opensips] 24ba3e: Fix double tracing in trace_dialog().

2014-11-24 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 24ba3ed467bebc1f029e5c0627225f8d54163143
  
https://github.com/OpenSIPS/opensips/commit/24ba3ed467bebc1f029e5c0627225f8d54163143
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M modules/siptrace/siptrace.c

  Log Message:
  ---
  Fix double tracing in trace_dialog().

If user AVPs are set and the trace flas is not, the code was forcing the 
tracing flag which was producing a duplicate of the trace. Now, the flags 
status (on/off) is also stored in the dialog (as var) and restore later, for 
each sequential request.


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 885055: Fix double tracing in trace_dialog().

2014-11-24 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8850551ae23cce4cd9f5fdf5f03d9a8d6eb73f8f
  
https://github.com/OpenSIPS/opensips/commit/8850551ae23cce4cd9f5fdf5f03d9a8d6eb73f8f
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M modules/siptrace/siptrace.c

  Log Message:
  ---
  Fix double tracing in trace_dialog().

If user AVPs are set and the trace flas is not, the code was forcing the 
tracing flag which was producing a duplicate of the trace. Now, the flags 
status (on/off) is also stored in the dialog (as var) and restore later, for 
each sequential request.

(cherry picked from commit 24ba3ed467bebc1f029e5c0627225f8d54163143)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] dcf89a: Fix double tracing in trace_dialog().

2014-11-24 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dcf89a3577736bcf4a493806cba7712947be6a11
  
https://github.com/OpenSIPS/opensips/commit/dcf89a3577736bcf4a493806cba7712947be6a11
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M modules/siptrace/siptrace.c

  Log Message:
  ---
  Fix double tracing in trace_dialog().

If user AVPs are set and the trace flas is not, the code was forcing the 
tracing flag which was producing a duplicate of the trace. Now, the flags 
status (on/off) is also stored in the dialog (as var) and restore later, for 
each sequential request.

(cherry picked from commit 24ba3ed467bebc1f029e5c0627225f8d54163143)


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


[OpenSIPS-Devel] [opensips] Dispatcher strange balancing (#387)

2014-11-24 Thread hydrosine
Hi,

I have a dispatcher group with 30 destinations. When all are active the 
spreading of load is good.
When I disable one of these destinations through opensipsctl fifo ds_set_state. 
One seemingly random destination gets double the load that is normally handled 
by one destination, instead of the load being spread over to all remaining 
destinations. When i re-activate the destination the load on the one 
destination is back to normal. 
If i disable more than one destination this also seems to be true, I've had one 
occasion in which one destination got triple the normal load.
So it seems the balancing is borked when i disable a destination.

I'm using the ds_select_domain with algorithm 0.

If you need any more information please tell.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/387___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Changes to stop keepalives on unregisters (#366)

2014-11-24 Thread Saúl Ibarra Corretgé
This fix is incorrect and I will revert it. The provided patch solves the 
problem in 2 cases, but fails to do so in others such as when the Contact 
header has a *.

But most importantly, it breaks when a single user agent registers multiple 
accounts from the same IP and port. In this case nat_traversal will create a 
single NAT_Contact structure, and when one of the accounts unregisters we'd 
stop pinging, even if others are still registered. This problem is known, but 
it never seemed worth fixing because it would involve keeping track of the 
registered AoR for NAT_Contact. It can be fixed, but the proposed fix in this 
PR doesn't do so.

Also, I'd appreciate a heads up (by @-ing me or @danpascu) next time one of the 
modules we maintain is modified, this PR got merged in 4 days, we happned to be 
on vacation and this wasn't urgent whatsoever.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/366#issuecomment-64173566___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] d4e818: Fixes realated to previous commit (double siptrace...

2014-11-24 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d4e81886c41e17fe259ba2ee48d6b2ce3e7eb016
  
https://github.com/OpenSIPS/opensips/commit/d4e81886c41e17fe259ba2ee48d6b2ce3e7eb016
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M modules/siptrace/siptrace.c

  Log Message:
  ---
  Fixes realated to previous commit (double siptrace)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] a15faf: Fixes realated to previous commit (double siptrace...

2014-11-24 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a15faf087c5195e305dd4408453e1fb3f140dabc
  
https://github.com/OpenSIPS/opensips/commit/a15faf087c5195e305dd4408453e1fb3f140dabc
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M modules/siptrace/siptrace.c

  Log Message:
  ---
  Fixes realated to previous commit (double siptrace)

(cherry picked from commit d4e81886c41e17fe259ba2ee48d6b2ce3e7eb016)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 8711fd: Fixes realated to previous commit (double siptrace...

2014-11-24 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8711fd6e5b2c0ed7c0b5893e840f95fcb0a16cd3
  
https://github.com/OpenSIPS/opensips/commit/8711fd6e5b2c0ed7c0b5893e840f95fcb0a16cd3
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M modules/siptrace/siptrace.c

  Log Message:
  ---
  Fixes realated to previous commit (double siptrace)

(cherry picked from commit d4e81886c41e17fe259ba2ee48d6b2ce3e7eb016)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 4b9b18: Improved loging when timer jobs overlap.

2014-11-24 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/async
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4b9b183a7eeec7fd273399c7cbfb8604a93d0764
  
https://github.com/OpenSIPS/opensips/commit/4b9b183a7eeec7fd273399c7cbfb8604a93d0764
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M timer.c

  Log Message:
  ---
  Improved loging when timer jobs overlap.


  Commit: 50623c12133607d3dd2802b1987694251b4320d6
  
https://github.com/OpenSIPS/opensips/commit/50623c12133607d3dd2802b1987694251b4320d6
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M action.c
M action.h
M modules/tm/async.c

  Log Message:
  ---
  Run POST script CBs after all ASYNC resumes.


Compare: 
https://github.com/OpenSIPS/opensips/compare/12ff6f309971...50623c121336___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 886286: tls: removed SSLv2 and SSLv3 support

2014-11-24 Thread Razvan Crainea
  Branch: refs/heads/async
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 88628671b3bed75a3a372e74e385a001bfb85c4b
  
https://github.com/OpenSIPS/opensips/commit/88628671b3bed75a3a372e74e385a001bfb85c4b
  Author: Saúl Ibarra Corretgé sag...@gmail.com
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M cfg.lex

  Log Message:
  ---
  tls: removed SSLv2 and SSLv3 support


  Commit: e555869466a5584e20198ee7b8cb0eb7066dbfc2
  
https://github.com/OpenSIPS/opensips/commit/e555869466a5584e20198ee7b8cb0eb7066dbfc2
  Author: Saúl Ibarra Corretgé sag...@gmail.com
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M cfg.lex

  Log Message:
  ---
  tls: add TLSAny alias for SSLv23 method


  Commit: cc61084d789df2ad9d7238a64f8544c439e78e8b
  
https://github.com/OpenSIPS/opensips/commit/cc61084d789df2ad9d7238a64f8544c439e78e8b
  Author: Ionut Ionita ionutrazvan.ion...@gmail.com
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M modules/ldap/README
M modules/ldap/doc/ldap_admin.xml
M modules/ldap/ld_session.c
M modules/ldap/ld_session.h
M modules/ldap/ldap_connect.c
M modules/ldap/ldap_connect.h
M modules/ldap/ldap_mod.c

  Log Message:
  ---
  StartTLS Support For LDAP Module


  Commit: 40ed05b5c0bfa336e9b8c62b2f6f9db71677c31c
  
https://github.com/OpenSIPS/opensips/commit/40ed05b5c0bfa336e9b8c62b2f6f9db71677c31c
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M modules/exec/README
M modules/exec/doc/exec_admin.xml
M modules/exec/exec.c
M modules/exec/exec_mod.c
M modules/exec/kill.c
M modules/exec/kill.h

  Log Message:
  ---
  modified documentation for exec function


  Commit: 768849aaad369b207450caf7f1406469ffc3c36a
  
https://github.com/OpenSIPS/opensips/commit/768849aaad369b207450caf7f1406469ffc3c36a
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M modules/exec/README
M modules/exec/doc/exec_admin.xml
M modules/exec/exec.c
M modules/exec/exec_mod.c
M modules/exec/kill.c
M modules/exec/kill.h

  Log Message:
  ---
  only generic function __popen3 left and put exec parameters in logical 
order:stdin, stdout, stderr


  Commit: 7bd790163198dce6f261a4369ed0efc2d0b5ebb9
  
https://github.com/OpenSIPS/opensips/commit/7bd790163198dce6f261a4369ed0efc2d0b5ebb9
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M modules/dispatcher/README
M modules/dispatcher/dispatch.c
M modules/dispatcher/dispatch.h
M modules/dispatcher/dispatcher.c
M modules/dispatcher/doc/dispatcher_admin.xml
M modules/dispatcher/ds_fixups.c
M modules/dispatcher/ds_fixups.h

  Log Message:
  ---
  fixed flags max_list bug for ds_select_*


  Commit: 6d633c35104c43dac0eddc550bd76e723e62776e
  
https://github.com/OpenSIPS/opensips/commit/6d633c35104c43dac0eddc550bd76e723e62776e
  Author: David Sanders dsander...@ucsbalum.com
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M modules/nat_traversal/nat_traversal.c

  Log Message:
  ---
  Changes to stop keepalives on unregisters

Observed cases where keepalives from `nat_traversal` continued after unregister 
were traced back to a few lines of code which prevented stopping keepalives on 
unregister events.


  Commit: 37f1556af5868c9dd0328cd50de3c489957813ed
  
https://github.com/OpenSIPS/opensips/commit/37f1556af5868c9dd0328cd50de3c489957813ed
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
A context.h

  Log Message:
  ---
  core: introducing OpenSIPS contexts

A context is simply a data buffer. It can also be seen as a key-value
database, where different pieces of code register certain keys, in order
to maintain their values within each newly created context.

Contexts may be attached to any structure. The primitives defined in
context.h represent a generic way of registering/storing/fetching
data.


  Commit: 4230d18c1deda2293b9480de702f442b1ea33527
  
https://github.com/OpenSIPS/opensips/commit/4230d18c1deda2293b9480de702f442b1ea33527
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M msg_translator.c
M msg_translator.h
M receive.c

  Log Message:
  ---
  core: export sip_msg context operations

All sip_msg structures may now hold additional data within a context.


  Commit: 9e68b2d5a85f7cf422d3a8cd6ad50f98ad730122
  
https://github.com/OpenSIPS/opensips/commit/9e68b2d5a85f7cf422d3a8cd6ad50f98ad730122
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M modules/tm/h_table.c
A modules/tm/t_ctx.c
A modules/tm/t_ctx.h
M modules/tm/tm.c
M modules/tm/tm_load.h

  Log 

[OpenSIPS-Devel] [OpenSIPS/opensips] cb4f0d: Do not run post script CBs if ASYNC suspend happen...

2014-11-24 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/async
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cb4f0d8e5f1804aa9302a331019ee33575632ae1
  
https://github.com/OpenSIPS/opensips/commit/cb4f0d8e5f1804aa9302a331019ee33575632ae1
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
M receive.c

  Log Message:
  ---
  Do not run post script CBs if ASYNC suspend happened


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


Re: [OpenSIPS-Devel] [opensips] load_balancer module enhancements (#345)

2014-11-24 Thread Sergey KHripchenko
@bogdan-iancu, here it is, i'm back with proposed commits and changes:

1. get rid of load_balance() in favor of lb_*() family of functions to make the 
work-flow more clear and defined:
   lb_start(grp, rl, flgs) - strictly used to start LB session. if sessions 
already started, old session will be lost and re-started again.
   lb_next() - strictly used to to continue LB session previously started 
by lb_start().
   lb_is_started() - used to check whenever LB session is already started 
or not.
   lb_reset() - used to clean up LB session and everything LB internally 
does for this dialog.
   ln_disable_dst() - mark destination currently chosen by LB in current 
active LB session as disabled.
   lb_start_and_next(grp, rl, flgs) - is simply a shorthand for 
'lb_is_started()?lb_next():lb_start()' to simplify scripting.
 this function logically almost the same as old load_balance() 
function,
 so we could leave old name for compatibility reasons.
   lb_count_call(..) - manually register call as a load for particular 
resource(es).

2. lb_start(..., alg) parameter changed to 'flags' parameter with possible 
values:
  'r' - use relative versus absolute estimation
  'n' - do not skip negative loads

3. new module parameter 'probing_verbose' to log INFO message whenever we 
enable/disable destinations by probing/MI.


Could you please review it and give a feedback.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/345#issuecomment-64216763___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel