[OpenSIPS-Devel] [OpenSIPS/opensips] a7549e: changed load_ballance() function to

Razvan Crainea razvan at opensips.org
Tue Jan 27 15:07:00 CET 2015


  Branch: refs/heads/transport-interface
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a7549e00bdd3fd13fc20777bccf935d41303980e
      https://github.com/OpenSIPS/opensips/commit/a7549e00bdd3fd13fc20777bccf935d41303980e
  Author: shripchenko <shripchenko at intermedia.net>
  Date:   2014-10-01 (Wed, 01 Oct 2014)

  Changed paths:
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  changed load_ballance() function to
1. save profiles applied in the current iteration
2. process previous iteration's profiles to clean them up
3. allow group and/or resources list changes in subsequent calls
4. sanity check if dst_bitmap size chaged


  Commit: 301e6d321d00b75afd93aa6dd4238b7fb96dcde1
      https://github.com/OpenSIPS/opensips/commit/301e6d321d00b75afd93aa6dd4238b7fb96dcde1
  Author: shripchenko <shripchenko at intermedia.net>
  Date:   2014-10-01 (Wed, 01 Oct 2014)

  Changed paths:
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  add lb_reset() function to reset LB state in case you want to stop load-ballancing call
and proxy call somewere else and clean LB usage (dialog profiles) for this call.
(or re-start LB process from the beginning)


  Commit: cd0ac1465bf589319df18cea043be3ccd5404622
      https://github.com/OpenSIPS/opensips/commit/cd0ac1465bf589319df18cea043be3ccd5404622
  Author: shripchenko <shripchenko at intermedia.net>
  Date:   2014-10-01 (Wed, 01 Oct 2014)

  Changed paths:
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  changed lb_count_call(ip,port,grp,resources[,mode]) function to allow one parameter
that trigger whenever this function will actually 'count' call (add LB profiles) or
'un-count' call (clean up things after convential lb_count_call() call)

this might be needed if we count call for particular resources and then need to un-count it.


  Commit: 598607431a15f44157376aba26bb3669eb60067b
      https://github.com/OpenSIPS/opensips/commit/598607431a15f44157376aba26bb3669eb60067b
  Author: shripchenko <shripchenko at intermedia.net>
  Date:   2014-10-01 (Wed, 01 Oct 2014)

  Changed paths:
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h

  Log Message:
  -----------
  introduced two more algorithms for load_balance() that the same as existing, but
do not ignore resources with negative availability, and thus able to
select for load balancing destinations with exceeded capacity.
this might be needed in scenarios where we want to limit generic calls volume
and always pass important/high-priority calls.


  Commit: f43a40561ad55602be09ed3e9f7ae8f819b30d7b
      https://github.com/OpenSIPS/opensips/commit/f43a40561ad55602be09ed3e9f7ae8f819b30d7b
  Author: Sergey Khripchenko <shripchenko at intermedia.net>
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  next round of changes.
cumulative commit:
1. get rid of load_balance() in favor of lb_*() family of functions to make the workflow more clear and defined:
       lb_start() - 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 previousely 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 choosen by LB in current active LB session as disabled.
       lb_start_and_next() - 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.


  Commit: b7180d04c2baeaafe84f7eb4350ebde6693017ec
      https://github.com/OpenSIPS/opensips/commit/b7180d04c2baeaafe84f7eb4350ebde6693017ec
  Author: Sergey Khripchenko <shripchenko at intermedia.net>
  Date:   2014-11-25 (Tue, 25 Nov 2014)

  Changed paths:
    M modules/load_balancer/lb_data.c

  Log Message:
  -----------
  correct logging levels from dev LM_ERR to production LM_DBG


  Commit: f45733447611d4e6bd3d2f2a31225941809c6b50
      https://github.com/OpenSIPS/opensips/commit/f45733447611d4e6bd3d2f2a31225941809c6b50
  Author: Sergey Khripchenko <shripchenko at intermedia.net>
  Date:   2014-11-27 (Thu, 27 Nov 2014)

  Changed paths:
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  changed lb_disable_dst() to rize event if we disable destination from script and do logging if 'prob_verbose' is set


  Commit: c86574785d66034cb63a9c5c48f710b7295167ce
      https://github.com/OpenSIPS/opensips/commit/c86574785d66034cb63a9c5c48f710b7295167ce
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2015-01-09 (Fri, 09 Jan 2015)

  Changed paths:
    M modules/tm/t_funcs.c

  Log Message:
  -----------
  no context passed when 100 trying is sent\n


  Commit: cd34771b3de9d8d625a55a6f25e3ed20ef187185
      https://github.com/OpenSIPS/opensips/commit/cd34771b3de9d8d625a55a6f25e3ed20ef187185
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2015-01-09 (Fri, 09 Jan 2015)

  Changed paths:
    M script_cb.c

  Log Message:
  -----------
  return code bigger than 0 on script cbs means that you do not want to free the callback


  Commit: df30eca89c343ac065bd214a4d5dd4dda1fdf049
      https://github.com/OpenSIPS/opensips/commit/df30eca89c343ac065bd214a4d5dd4dda1fdf049
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2015-01-09 (Fri, 09 Jan 2015)

  Changed paths:
    M parser/msg_parser.h

  Log Message:
  -----------
  added new flag: FL_TM_CB_REGISTERED telling that tm callbacks for this message have been registered


  Commit: d6c14c27d7352cee5819d6629958d255b4593754
      https://github.com/OpenSIPS/opensips/commit/d6c14c27d7352cee5819d6629958d255b4593754
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2015-01-09 (Fri, 09 Jan 2015)

  Changed paths:
    M modules/compression/compression.c

  Log Message:
  -----------
  Updated module to adapt global contexts. Fixed failure route bug for callbacks


  Commit: 9e8ddd5c9524b3a6c6d813ff214eb52a4f2dd709
      https://github.com/OpenSIPS/opensips/commit/9e8ddd5c9524b3a6c6d813ff214eb52a4f2dd709
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  Changed paths:
    M Makefile
    M Makefile.defs
    M main.c

  Log Message:
  -----------
  add DEBUG_PARSER macro

Define this macro if you want to debug the parser states


  Commit: 338700f10d9e9e3afe942b46e6895d54cf0c71cf
      https://github.com/OpenSIPS/opensips/commit/338700f10d9e9e3afe942b46e6895d54cf0c71cf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  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)


  Commit: 26352845ed694ca51eb43e21feafcd67be5cae82
      https://github.com/OpenSIPS/opensips/commit/26352845ed694ca51eb43e21feafcd67be5cae82
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  Changed paths:
    M modules/siptrace/siptrace.c

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

(cherry picked from commit d4e81886c41e17fe259ba2ee48d6b2ce3e7eb016)


  Commit: 00a7a89abf501959499091e7c67ae81971e2aa60
      https://github.com/OpenSIPS/opensips/commit/00a7a89abf501959499091e7c67ae81971e2aa60
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  Changed paths:
    R modules/auth_diameter/Makefile
    R modules/auth_diameter/README
    R modules/auth_diameter/auth_diameter.c
    R modules/auth_diameter/auth_diameter.h
    R modules/auth_diameter/authorize.c
    R modules/auth_diameter/authorize.h
    R modules/auth_diameter/avp.c
    R modules/auth_diameter/defs.h
    R modules/auth_diameter/diameter_msg.h
    R modules/auth_diameter/doc/auth_diameter.xml
    R modules/auth_diameter/doc/auth_diameter_admin.xml
    R modules/auth_diameter/message.c
    R modules/auth_diameter/tcp_comm.c
    R modules/auth_diameter/tcp_comm.h
    R modules/auth_diameter/user_in.c
    R modules/closeddial/Makefile
    R modules/closeddial/README
    R modules/closeddial/cdlookup.c
    R modules/closeddial/cdlookup.h
    R modules/closeddial/closeddial.c
    R modules/closeddial/closeddial.h
    R modules/closeddial/doc/closeddial.xml
    R modules/closeddial/doc/closeddial_admin.xml
    R modules/mi_xmlrpc/Makefile
    R modules/mi_xmlrpc/README
    R modules/mi_xmlrpc/abyss.h
    R modules/mi_xmlrpc/abyss_conf.c
    R modules/mi_xmlrpc/abyss_conn.c
    R modules/mi_xmlrpc/abyss_conn.h
    R modules/mi_xmlrpc/abyss_data.c
    R modules/mi_xmlrpc/abyss_data.h
    R modules/mi_xmlrpc/abyss_date.c
    R modules/mi_xmlrpc/abyss_date.h
    R modules/mi_xmlrpc/abyss_file.c
    R modules/mi_xmlrpc/abyss_file.h
    R modules/mi_xmlrpc/abyss_http.c
    R modules/mi_xmlrpc/abyss_http.h
    R modules/mi_xmlrpc/abyss_info.h
    R modules/mi_xmlrpc/abyss_mallocvar.h
    R modules/mi_xmlrpc/abyss_response.c
    R modules/mi_xmlrpc/abyss_server.c
    R modules/mi_xmlrpc/abyss_server.h
    R modules/mi_xmlrpc/abyss_session.c
    R modules/mi_xmlrpc/abyss_session.h
    R modules/mi_xmlrpc/abyss_socket.c
    R modules/mi_xmlrpc/abyss_socket.h
    R modules/mi_xmlrpc/abyss_socket_unix.c
    R modules/mi_xmlrpc/abyss_socket_unix.h
    R modules/mi_xmlrpc/abyss_thread.h
    R modules/mi_xmlrpc/abyss_thread_fork.c
    R modules/mi_xmlrpc/abyss_token.c
    R modules/mi_xmlrpc/abyss_token.h
    R modules/mi_xmlrpc/abyss_trace.c
    R modules/mi_xmlrpc/abyss_trace.h
    R modules/mi_xmlrpc/abyss_xmlrpc_int.h
    R modules/mi_xmlrpc/abyss_xmlrpc_server.c
    R modules/mi_xmlrpc/doc/mi_xmlrpc.cfg
    R modules/mi_xmlrpc/doc/mi_xmlrpc.xml
    R modules/mi_xmlrpc/doc/mi_xmlrpc_admin.xml
    R modules/mi_xmlrpc/mi_xmlrpc.c
    R modules/mi_xmlrpc/mi_xmlrpc.h
    R modules/mi_xmlrpc/xr_parser.c
    R modules/mi_xmlrpc/xr_parser.h
    R modules/mi_xmlrpc/xr_parser_lib.h
    R modules/mi_xmlrpc/xr_server.c
    R modules/mi_xmlrpc/xr_server.h
    R modules/mi_xmlrpc/xr_writer.c
    R modules/mi_xmlrpc/xr_writer.h
    A modules_obsolete/auth_diameter/Makefile
    A modules_obsolete/auth_diameter/README
    A modules_obsolete/auth_diameter/auth_diameter.c
    A modules_obsolete/auth_diameter/auth_diameter.h
    A modules_obsolete/auth_diameter/authorize.c
    A modules_obsolete/auth_diameter/authorize.h
    A modules_obsolete/auth_diameter/avp.c
    A modules_obsolete/auth_diameter/defs.h
    A modules_obsolete/auth_diameter/diameter_msg.h
    A modules_obsolete/auth_diameter/doc/auth_diameter.xml
    A modules_obsolete/auth_diameter/doc/auth_diameter_admin.xml
    A modules_obsolete/auth_diameter/message.c
    A modules_obsolete/auth_diameter/tcp_comm.c
    A modules_obsolete/auth_diameter/tcp_comm.h
    A modules_obsolete/auth_diameter/user_in.c
    A modules_obsolete/closeddial/Makefile
    A modules_obsolete/closeddial/README
    A modules_obsolete/closeddial/cdlookup.c
    A modules_obsolete/closeddial/cdlookup.h
    A modules_obsolete/closeddial/closeddial.c
    A modules_obsolete/closeddial/closeddial.h
    A modules_obsolete/closeddial/doc/closeddial.xml
    A modules_obsolete/closeddial/doc/closeddial_admin.xml
    A modules_obsolete/mi_xmlrpc/Makefile
    A modules_obsolete/mi_xmlrpc/README
    A modules_obsolete/mi_xmlrpc/abyss.h
    A modules_obsolete/mi_xmlrpc/abyss_conf.c
    A modules_obsolete/mi_xmlrpc/abyss_conn.c
    A modules_obsolete/mi_xmlrpc/abyss_conn.h
    A modules_obsolete/mi_xmlrpc/abyss_data.c
    A modules_obsolete/mi_xmlrpc/abyss_data.h
    A modules_obsolete/mi_xmlrpc/abyss_date.c
    A modules_obsolete/mi_xmlrpc/abyss_date.h
    A modules_obsolete/mi_xmlrpc/abyss_file.c
    A modules_obsolete/mi_xmlrpc/abyss_file.h
    A modules_obsolete/mi_xmlrpc/abyss_http.c
    A modules_obsolete/mi_xmlrpc/abyss_http.h
    A modules_obsolete/mi_xmlrpc/abyss_info.h
    A modules_obsolete/mi_xmlrpc/abyss_mallocvar.h
    A modules_obsolete/mi_xmlrpc/abyss_response.c
    A modules_obsolete/mi_xmlrpc/abyss_server.c
    A modules_obsolete/mi_xmlrpc/abyss_server.h
    A modules_obsolete/mi_xmlrpc/abyss_session.c
    A modules_obsolete/mi_xmlrpc/abyss_session.h
    A modules_obsolete/mi_xmlrpc/abyss_socket.c
    A modules_obsolete/mi_xmlrpc/abyss_socket.h
    A modules_obsolete/mi_xmlrpc/abyss_socket_unix.c
    A modules_obsolete/mi_xmlrpc/abyss_socket_unix.h
    A modules_obsolete/mi_xmlrpc/abyss_thread.h
    A modules_obsolete/mi_xmlrpc/abyss_thread_fork.c
    A modules_obsolete/mi_xmlrpc/abyss_token.c
    A modules_obsolete/mi_xmlrpc/abyss_token.h
    A modules_obsolete/mi_xmlrpc/abyss_trace.c
    A modules_obsolete/mi_xmlrpc/abyss_trace.h
    A modules_obsolete/mi_xmlrpc/abyss_xmlrpc_int.h
    A modules_obsolete/mi_xmlrpc/abyss_xmlrpc_server.c
    A modules_obsolete/mi_xmlrpc/doc/mi_xmlrpc.cfg
    A modules_obsolete/mi_xmlrpc/doc/mi_xmlrpc.xml
    A modules_obsolete/mi_xmlrpc/doc/mi_xmlrpc_admin.xml
    A modules_obsolete/mi_xmlrpc/mi_xmlrpc.c
    A modules_obsolete/mi_xmlrpc/mi_xmlrpc.h
    A modules_obsolete/mi_xmlrpc/xr_parser.c
    A modules_obsolete/mi_xmlrpc/xr_parser.h
    A modules_obsolete/mi_xmlrpc/xr_parser_lib.h
    A modules_obsolete/mi_xmlrpc/xr_server.c
    A modules_obsolete/mi_xmlrpc/xr_server.h
    A modules_obsolete/mi_xmlrpc/xr_writer.c
    A modules_obsolete/mi_xmlrpc/xr_writer.h

  Log Message:
  -----------
  modules: obsolete mi_xmlrpc, auth_diameter and closedial modules


  Commit: d62074ea103904d88621a223115f6a4a0556046a
      https://github.com/OpenSIPS/opensips/commit/d62074ea103904d88621a223115f6a4a0556046a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  Changed paths:
    M mem/mem.h

  Log Message:
  -----------
  mem/mem.h: fix header includes


  Commit: afdcad59e273bfcce503e897773ee8923ac66d15
      https://github.com/OpenSIPS/opensips/commit/afdcad59e273bfcce503e897773ee8923ac66d15
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  Changed paths:
    M db/db_ut.h

  Log Message:
  -----------
  fix gcc 4.9 warning about the _BSD_SOURCE usage


  Commit: f7a491defd9053d7c06df147ad0921974da177b1
      https://github.com/OpenSIPS/opensips/commit/f7a491defd9053d7c06df147ad0921974da177b1
  Author: Eric Tamme <eric.tamme at onsip.com>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  Changed paths:
    M modules/mediaproxy/mediaproxy.c

  Log Message:
  -----------
  fix for RFC5245 15.1 <rel-addr> and <rel-port> MUST be present for server reflexive, peer, and relay candidates


  Commit: 74890a9de03b6895f096707af0a4793e908fa4dd
      https://github.com/OpenSIPS/opensips/commit/74890a9de03b6895f096707af0a4793e908fa4dd
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  Changed paths:
    M modules/presence/README
    M modules/presence/doc/presence_admin.xml

  Log Message:
  -----------
  Better description of handle_subscribe().


  Commit: 604c781c9c42e9ae814476f21b53067bad8ac4f9
      https://github.com/OpenSIPS/opensips/commit/604c781c9c42e9ae814476f21b53067bad8ac4f9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  Changed paths:
    M Makefile.conf.template
    M error.h
    A mem/common.h
    M mem/mem.h
    M mem/shm_mem.h

  Log Message:
  -----------
  F_MALLOC: add extra safety checks at runtime

The F_MALLOC allocator now properly reports any free() or realloc() operations
which are performed on bogus memory regions, making OpenSIPS immediately abort.

These checks may be skipped by defining F_MALLOC_OPTIMIZATIONS at compile time.


  Commit: 37523de3303f70f2dfd5a65efbedec6a50696583
      https://github.com/OpenSIPS/opensips/commit/37523de3303f70f2dfd5a65efbedec6a50696583
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  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)


  Commit: 2ada3bf007fd01a4b52a25c1390c540482c5c7cf
      https://github.com/OpenSIPS/opensips/commit/2ada3bf007fd01a4b52a25c1390c540482c5c7cf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  Changed paths:
    M modules/siptrace/siptrace.c

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

(cherry picked from commit d4e81886c41e17fe259ba2ee48d6b2ce3e7eb016)


  Commit: b20ef801fd0f2762bf36ed3fd543b241896833eb
      https://github.com/OpenSIPS/opensips/commit/b20ef801fd0f2762bf36ed3fd543b241896833eb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  Changed paths:
    M mem/mem.h

  Log Message:
  -----------
  mem/mem.h: fix header includes


  Commit: 5487dcd7515f6faad179cc03c46f8c938ad5e93a
      https://github.com/OpenSIPS/opensips/commit/5487dcd7515f6faad179cc03c46f8c938ad5e93a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  Changed paths:
    M modules/tm/async.c

  Log Message:
  -----------
  tm: fix transaction cleanup in async scenarios

The transaction state is now saved within and restored from each async
operation. (in the _async_ctx struct)

This prevents transaction leaks when stacking up multiple async jumps.


  Commit: 93c7c55450f38b80679265dd456de1853ef22bae
      https://github.com/OpenSIPS/opensips/commit/93c7c55450f38b80679265dd456de1853ef22bae
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  Changed paths:
    M modules/rest_client/rest_cb.c
    M modules/rest_client/rest_client.c
    M modules/rest_client/rest_methods.c
    M modules/rest_client/rest_methods.h

  Log Message:
  -----------
  rest_client: add optional asynchronous capabilities to rest_get()

rest_get() may now be used in an asynchronous manner, thanks to libcurl's
multi interface. Its syntax is identical to its blocking counterpart.

Scripting example:
    async(rest_get("URL", "$var(res)"), my_resume_route);


  Commit: b8611c1b2759284584e1cc4dd601c68968539e1d
      https://github.com/OpenSIPS/opensips/commit/b8611c1b2759284584e1cc4dd601c68968539e1d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-13 (Tue, 13 Jan 2015)

  Changed paths:
    M modules/tm/async.c
    M modules/tm/t_msgbuilder.h
    M modules/tm/t_reply.c

  Log Message:
  -----------
  Fix handling dst_uri in cloned messages.

Thanks to Liviu for pointing out - the dst_uri, after doing a fake msg (a copy from a shm cloned msg) had the wrong dst_uri linked (one in shm mem).


  Commit: bb7f121202bb4215a388dcff75e0abcea8ec23ed
      https://github.com/OpenSIPS/opensips/commit/bb7f121202bb4215a388dcff75e0abcea8ec23ed
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  fix the vars db type to BLOB

Indicate the DB engine that the dlg vars column is a BLOB
Thanks go to John Nash for reporting this.
Close #398


  Commit: 3e18886730f3be6f50e25264312627ecc3f5f27c
      https://github.com/OpenSIPS/opensips/commit/3e18886730f3be6f50e25264312627ecc3f5f27c
  Author: Ovidiu Sas <osas at voipembedded.com>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M modules/rr/loose.c

  Log Message:
  -----------
  rr: enhance some logs


  Commit: 752d776e24eded80b4fa9e56a53329c03c8f1d49
      https://github.com/OpenSIPS/opensips/commit/752d776e24eded80b4fa9e56a53329c03c8f1d49
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M cfg.lex

  Log Message:
  -----------
  Solve isatty flex warning

Fixes 'warning: implicit declaration of function ‘isatty’ ' warning


  Commit: d3c05fb11ebba91a9fc1eaf0871db0b2b0c16b65
      https://github.com/OpenSIPS/opensips/commit/d3c05fb11ebba91a9fc1eaf0871db0b2b0c16b65
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M cfg.lex
    M cfg.y

  Log Message:
  -----------
  remove trailing spaces for parser


  Commit: e89c58ea5f62ec975da7e876aee0d27cbbbabf4d
      https://github.com/OpenSIPS/opensips/commit/e89c58ea5f62ec975da7e876aee0d27cbbbabf4d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M Makefile.sources
    M cfg.lex
    M cfg.y
    M main.c
    A net/proto.c
    A net/proto.h
    A net/trans.c
    A net/trans.h
    M sr_module.c
    M sr_module.h

  Log Message:
  -----------
  load transport protocols and initialize them


  Commit: f1f5545278d4690fa92060491299e7f0917e9661
      https://github.com/OpenSIPS/opensips/commit/f1f5545278d4690fa92060491299e7f0917e9661
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M main.c

  Log Message:
  -----------
  Do waitpid() if a SIGCHILD is received.

Generic handling on non-OpenSIPS processes (external forks) - if an OpenSIPS process receives SIGCHILD, do automatically a waitpid (non-blocking) to avoid zombi processes.


  Commit: bd4b488afee78b30ee4002a9e4291530c095360b
      https://github.com/OpenSIPS/opensips/commit/bd4b488afee78b30ee4002a9e4291530c095360b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

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

  Log Message:
  -----------
  Use 2 ret codes - function and async.

We need to have to kinds of return codes in parallel - the return code of the function, reporting whatever it is doing inside (like for the sync'ed functions) and one for the async engine, to report what is the status of the async part (started, not started, done in sync way, no IO done, etc).


  Commit: 870ab0148d4875764a19c84278e3f4b6f659475f
      https://github.com/OpenSIPS/opensips/commit/870ab0148d4875764a19c84278e3f4b6f659475f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

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

  Log Message:
  -----------
  Several updates:

-use the "async_status" to report the status at async level
-drop the old async implementation (kind of exec and do not wait)
-if no output is required from command, do not wait on it at all
-README file updated


  Commit: 92334e69f78f5e1c9c871f142ab9beb698be7a37
      https://github.com/OpenSIPS/opensips/commit/92334e69f78f5e1c9c871f142ab9beb698be7a37
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

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

  Log Message:
  -----------
  Updates on return codes and README


  Commit: 4787f577c097cda37d4f979546d674baf17e6a2e
      https://github.com/OpenSIPS/opensips/commit/4787f577c097cda37d4f979546d674baf17e6a2e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

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

  Log Message:
  -----------
  README fix


  Commit: b69ae3258faff194c28a6277d52fa318c24ed37a
      https://github.com/OpenSIPS/opensips/commit/b69ae3258faff194c28a6277d52fa318c24ed37a
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M modules/auth_db/aaa_avps.h

  Log Message:
  -----------
  fixed load_credentials avp default name when no name is specified


  Commit: 444b6802980edd4931106b4db1d8c99dd479bb32
      https://github.com/OpenSIPS/opensips/commit/444b6802980edd4931106b4db1d8c99dd479bb32
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M modules/dispatcher/dispatch.c
    M modules/dispatcher/dispatch.h
    M modules/dispatcher/dispatcher.c

  Log Message:
  -----------
  Fix balancing on failover.

First, the way the calls were re-distributed if the calculated destination is inactive was completely unbalanced and did not respect the hashing concepts (same hash hits the same destination). Along with this problem, the fix covers the re-balancing problem - if a destination becomes inactive, the balancing over the remaining destination should not be affected (if hash H1 hits destination D1, after D2 goes inactive, H1 must still hit D1).
The use_default concept was reworked to properly work with all algorithms and in all cases (with or without weights).

Closes #387.


  Commit: 2fdeba6fa8ee56d256e465f63317785798f7826d
      https://github.com/OpenSIPS/opensips/commit/2fdeba6fa8ee56d256e465f63317785798f7826d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M modules/usrloc/ucontact.c

  Log Message:
  -----------
  Fix updating contact records in DB.

If Contact-only matching mode is used, the callid is not part of the key in DB query, but part of the updated values (as callid may change).
Closes #402.


  Commit: 02a20250a216d3125a46863e5b139a940c444b58
      https://github.com/OpenSIPS/opensips/commit/02a20250a216d3125a46863e5b139a940c444b58
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-22 (Thu, 22 Jan 2015)

  Changed paths:
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  Merge branch 'master' of git://github.com/shripchenko/opensips into shripchenko-master

Conflicts:
	modules/load_balancer/lb_data.c


  Commit: f435ce69a7cce1095f97536e79cede248d7a1fe7
      https://github.com/OpenSIPS/opensips/commit/f435ce69a7cce1095f97536e79cede248d7a1fe7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-22 (Thu, 22 Jan 2015)

  Changed paths:
    M main.c
    M tcp_init.h
    M tcp_main.c

  Log Message:
  -----------
  rename old tcp_init function


  Commit: 0b3cf8898a38fe739b9b03e2be65b6d1a7ee4f60
      https://github.com/OpenSIPS/opensips/commit/0b3cf8898a38fe739b9b03e2be65b6d1a7ee4f60
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-22 (Thu, 22 Jan 2015)

  Changed paths:
    A net/connection.h
    M net/net_tcp.h

  Log Message:
  -----------
  add TCP dummy connection


  Commit: 0b3ac2920d0539d9e0b77cbb534c13c814bf7c5b
      https://github.com/OpenSIPS/opensips/commit/0b3ac2920d0539d9e0b77cbb534c13c814bf7c5b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-22 (Thu, 22 Jan 2015)

  Changed paths:
    M cfg.y
    A net/net.c
    A net/net.h
    A net/net_tcp.c
    M net/proto.h
    A net/proto_net.h
    M net/trans.c
    M net/trans.h

  Log Message:
  -----------
  add listener functions


  Commit: ca45388c21a927714a6ca4cd626aa602f8b83859
      https://github.com/OpenSIPS/opensips/commit/ca45388c21a927714a6ca4cd626aa602f8b83859
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-22 (Thu, 22 Jan 2015)

  Changed paths:
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  Small fixes.


  Commit: 4324f714e6c82994005d1064c6d6f0877a78046f
      https://github.com/OpenSIPS/opensips/commit/4324f714e6c82994005d1064c6d6f0877a78046f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-22 (Thu, 22 Jan 2015)

  Changed paths:
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  Merge branch 'shripchenko-master'


  Commit: 5081ddee82f95c2c124909cf017a2fa8165c1d74
      https://github.com/OpenSIPS/opensips/commit/5081ddee82f95c2c124909cf017a2fa8165c1d74
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-22 (Thu, 22 Jan 2015)

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

  Log Message:
  -----------
  async fd management: do not close read fds by default

Also add a new async_ret_code: ASYNC_DONE_CLOSE_FD. To be used by modules who
want to have their fds closed when respective async operations are completed.
(e.g. exec)


  Commit: 92755be7a27c9134e83ddebb8323e44606974a74
      https://github.com/OpenSIPS/opensips/commit/92755be7a27c9134e83ddebb8323e44606974a74
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-22 (Thu, 22 Jan 2015)

  Changed paths:
    M db/db.c
    M db/db.h
    A db/db_async.c
    A db/db_async.h
    M db/db_con.h
    M db/db_pool.h
    M io_wait.h
    M modules/db_cachedb/dbase.h
    M modules/db_mysql/my_con.h
    M modules/db_oracle/ora_con.c
    M modules/db_oracle/ora_con.h
    M modules/db_postgres/pg_con.h
    M modules/db_unixodbc/con.h

  Log Message:
  -----------
  DB core: add support for asynchronous raw SQL queries

The DB core now allows SQL modules to register async raw query
functions. For normal, blocking queries, execution flow remains exactly
the same.

Documentation available in db/db_async.h


  Commit: 257e84bc66bc4161a1846a9439fcd1e60e0b940b
      https://github.com/OpenSIPS/opensips/commit/257e84bc66bc4161a1846a9439fcd1e60e0b940b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-23 (Fri, 23 Jan 2015)

  Changed paths:
    M db/db.c

  Log Message:
  -----------
  async DB core: fix possible buffer overflow


  Commit: 5044d7d88e8b49dab58024998cae5d8a128717fd
      https://github.com/OpenSIPS/opensips/commit/5044d7d88e8b49dab58024998cae5d8a128717fd
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-23 (Fri, 23 Jan 2015)

  Changed paths:
    M db/db.c
    M db/db_cap.h

  Log Message:
  -----------
  DB core: add the DB_CAP_ASYNC_RAW_QUERY capability

DB modules who define both "async_raw_query" and "async_raw_resume" will
have this capability enabled after handle initialization.


  Commit: 1a71a44f3f916c08e72b1305849792dbe8f894cc
      https://github.com/OpenSIPS/opensips/commit/1a71a44f3f916c08e72b1305849792dbe8f894cc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-23 (Fri, 23 Jan 2015)

  Changed paths:
    M modules/event_route/route_send.c

  Log Message:
  -----------
  event_route: fix compile warning on i386


  Commit: f545ba0e6fd128849cc717fa12ace2eaace91131
      https://github.com/OpenSIPS/opensips/commit/f545ba0e6fd128849cc717fa12ace2eaace91131
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-23 (Fri, 23 Jan 2015)

  Changed paths:
    M Makefile.defs
    M Makefile.rules

  Log Message:
  -----------
  Makefile: fix concurrency issue leading to linking errors

main.c needs to be recompiled if the version name changes. When doing
multi-threaded compiling (make -j), main.o would sometimes be deleted
right after it was compiled, triggering a linking error of the "opensips" binary.

The patch also prevents main.c to be recompiled each time if the ".git" dir
is not present. (i.e. compiling a tarball archive). Credits to Răzvan
Crainea.

Thanks to Bobby Hakimi for offering a replication environment.
Closes #373


  Commit: b280f8dc9b99ebdf02f90e5be83e13319eb07eef
      https://github.com/OpenSIPS/opensips/commit/b280f8dc9b99ebdf02f90e5be83e13319eb07eef
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-23 (Fri, 23 Jan 2015)

  Changed paths:
    M modules/permissions/address.c

  Log Message:
  -----------
  permissions: raise the proper error when the IP is not provided


  Commit: 353a51936a9f2e9895ef63a16d3996c615399c3c
      https://github.com/OpenSIPS/opensips/commit/353a51936a9f2e9895ef63a16d3996c615399c3c
  Author: Saúl Ibarra Corretgé <saghul at gmail.com>
  Date:   2015-01-23 (Fri, 23 Jan 2015)

  Changed paths:
    M modules/nat_traversal/nat_traversal.c

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

This reverts commit 4c9a1fa2a791d37629b7272581f6d52c4b0f9666.


  Commit: 678629188e5e7da0769d1f958d2c75a9689297e3
      https://github.com/OpenSIPS/opensips/commit/678629188e5e7da0769d1f958d2c75a9689297e3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-23 (Fri, 23 Jan 2015)

  Changed paths:
    M modules/mi_xmlrpc_ng/http_fnc.c

  Log Message:
  -----------
  mi_xmlrpc_ng: add \n after each node


  Commit: c28a9a6a1c15bfcf3efdb011814d70835bac61fd
      https://github.com/OpenSIPS/opensips/commit/c28a9a6a1c15bfcf3efdb011814d70835bac61fd
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-23 (Fri, 23 Jan 2015)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: prevent the same reply from changing the same state twice


  Commit: 17817f8f596ccf731cf00a7a08f879e6f5f91cb9
      https://github.com/OpenSIPS/opensips/commit/17817f8f596ccf731cf00a7a08f879e6f5f91cb9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-23 (Fri, 23 Jan 2015)

  Changed paths:
    M Makefile.defs
    M Makefile.rules
    M async.c
    M async.h
    M db/db.c
    M db/db.h
    A db/db_async.c
    A db/db_async.h
    M db/db_cap.h
    M db/db_con.h
    M db/db_pool.h
    M io_wait.h
    M main.c
    M modules/auth_db/aaa_avps.h
    M modules/db_cachedb/dbase.h
    M modules/db_mysql/my_con.h
    M modules/db_oracle/ora_con.c
    M modules/db_oracle/ora_con.h
    M modules/db_postgres/pg_con.h
    M modules/db_unixodbc/con.h
    M modules/dialog/dlg_handlers.c
    M modules/dispatcher/dispatch.c
    M modules/dispatcher/dispatch.h
    M modules/dispatcher/dispatcher.c
    M modules/event_route/route_send.c
    M modules/exec/README
    M modules/exec/doc/exec_admin.xml
    M modules/exec/exec.c
    M modules/exec/exec.h
    M modules/exec/exec_mod.c
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h
    M modules/load_balancer/load_balancer.c
    M modules/mi_xmlrpc_ng/http_fnc.c
    M modules/nat_traversal/nat_traversal.c
    M modules/permissions/address.c
    M modules/rest_client/README
    M modules/rest_client/doc/rest_client_admin.xml
    M modules/rest_client/rest_client.c
    M modules/rest_client/rest_methods.c
    M modules/rr/loose.c
    M modules/tm/async.c
    M modules/usrloc/ucontact.c

  Log Message:
  -----------
  Merge branch 'master' into transport-interface

Conflicts:
	main.c
	modules/rest_client/rest_client.c
	modules/rest_client/rest_methods.c


  Commit: fe71b14a3d127c8c8dc439e2e499fd8c254df98a
      https://github.com/OpenSIPS/opensips/commit/fe71b14a3d127c8c8dc439e2e499fd8c254df98a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M cfg.y
    M main.c
    M net/proto.h
    M net/trans.c
    M net/trans.h
    M socket_info.c
    M socket_info.h
    M sr_module.c
    M sr_module.h

  Log Message:
  -----------
  implement add_listener logic


  Commit: 3c7c44f7c48f516976692c9cb7ddea347d192e5e
      https://github.com/OpenSIPS/opensips/commit/3c7c44f7c48f516976692c9cb7ddea347d192e5e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M net/proto_net.h

  Log Message:
  -----------
  add bind() prototype


  Commit: 39f67356d2a6eb3fda67cf4cb88e99406dac0f45
      https://github.com/OpenSIPS/opensips/commit/39f67356d2a6eb3fda67cf4cb88e99406dac0f45
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M net/trans.c

  Log Message:
  -----------
  configurable proto name


  Commit: 6725e573117f6538762c34873a44ac0c57af55da
      https://github.com/OpenSIPS/opensips/commit/6725e573117f6538762c34873a44ac0c57af55da
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M Makefile.sources
    M net/proto.h
    A net/proto_tcp/proto_tcp.c
    A net/proto_tcp/proto_tcp_handler.h
    A net/tcp_utils.h
    M net/trans.c

  Log Message:
  -----------
  ti: add TCP static module


Compare: https://github.com/OpenSIPS/opensips/compare/390cf7927723...6725e573117f


More information about the Devel mailing list