From noreply at github.com  Fri Feb  1 04:29:11 2019
From: noreply at github.com (Vlad Patrascu)
Date: Fri, 01 Feb 2019 01:29:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4f5847: MI: add API for
 building a JSON-RPC Response from ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/5a56d9-ec4678@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4f584757a2db3ffebdd7719db23ad0874e272d6d
      https://github.com/OpenSIPS/opensips/commit/4f584757a2db3ffebdd7719db23ad0874e272d6d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-09-18 (Tue, 18 Sep 2018)

  Changed paths:
    M mem/shm_mem.c
    R mi/attr.c
    R mi/attr.h
    A mi/item.c
    A mi/item.h
    M mi/mi.h
    R mi/tree.c
    R mi/tree.h

  Log Message:
  -----------
  MI: add API for building a JSON-RPC Response from MI handlers

This is the first commit from an overall rework aiming to port the MI Interface
to the JSON-RPC protocol. As a consequence, the MI implementation modules will
only act as transports while the MI core will be responsible for
encoding the data.


  Commit: 1a27bbdf1a78df56b14ef4b569ae75d749a76e8c
      https://github.com/OpenSIPS/opensips/commit/1a27bbdf1a78df56b14ef4b569ae75d749a76e8c
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-02 (Tue, 02 Oct 2018)

  Changed paths:
    M blacklists.c
    M evi/event_interface.c
    M evi/event_interface.h
    M mem/shm_mem.c
    M mem/shm_mem.h
    M mi/item.c
    M mi/item.h
    M mi/mi.c
    M mi/mi.h
    M mi/mi_core.c
    M mi/mi_trace.c
    M mi/mi_trace.h
    M net/net_tcp.c
    M net/net_tcp.h
    M net/proto_tcp/proto_tcp.c
    M statistics.c

  Log Message:
  -----------
  Port MI core to JSON-RPC

Implement the JSON-RPC handling and interface required for the MI transport
modules as well as port the core MI functions to the new API.


  Commit: 6887e1191e77c8cba2eb06ef63e1a624d8542476
      https://github.com/OpenSIPS/opensips/commit/6887e1191e77c8cba2eb06ef63e1a624d8542476
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-02 (Tue, 02 Oct 2018)

  Changed paths:
    M mi/item.c
    M mi/item.h
    M mi/mi.c
    M mi/mi.h
    M mi/mi_core.c

  Log Message:
  -----------
  Update Copyrights for MI files


  Commit: 5b06340c3195b5afb16c2f766fa0cab34ae4cbc7
      https://github.com/OpenSIPS/opensips/commit/5b06340c3195b5afb16c2f766fa0cab34ae4cbc7
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
    M blacklists.c
    M evi/event_interface.c
    M evi/event_interface.h
    M mem/shm_mem.c
    M mem/shm_mem.h
    M mi/item.c
    M mi/item.h
    M mi/mi.c
    M mi/mi.h
    M mi/mi_core.c
    M net/net_tcp.c
    M net/net_tcp.h
    M net/proto_tcp/proto_tcp.c
    M statistics.c

  Log Message:
  -----------
  Also support positional parameters for MI commands


  Commit: 105bc274fafc4c482217080930f31b03b8525af5
      https://github.com/OpenSIPS/opensips/commit/105bc274fafc4c482217080930f31b03b8525af5
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-15 (Mon, 15 Oct 2018)

  Changed paths:
    M mi/item.h
    M mi/mi.c
    M mi/mi.h
    M mi/mi_trace.c
    M mi/mi_trace.h

  Log Message:
  -----------
  mi core api: improve request parsing code

* move jsonrpc request object validation to parse_mi_request()
* add function that retrieves MI command name
* also fix incorrect error in mi tracing when request has no params


  Commit: 27e76f34c0a90f8f63ae2d8981499d7bc6a3ef7a
      https://github.com/OpenSIPS/opensips/commit/27e76f34c0a90f8f63ae2d8981499d7bc6a3ef7a
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-15 (Mon, 15 Oct 2018)

  Changed paths:
    M mi/mi.c
    M mi/mi.h

  Log Message:
  -----------
  mi core api: do not lookup command in handle_mi_request()


  Commit: 67fe0b5f89d1fcea9a57e03f439c02d17adadd88
      https://github.com/OpenSIPS/opensips/commit/67fe0b5f89d1fcea9a57e03f439c02d17adadd88
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-16 (Tue, 16 Oct 2018)

  Changed paths:
    M mi/mi.c
    M mi/mi.h

  Log Message:
  -----------
  mi core api: use preallocated buffer for printing the response


  Commit: 9dd860d2f03b46a3884acc90e4ac39bc31109714
      https://github.com/OpenSIPS/opensips/commit/9dd860d2f03b46a3884acc90e4ac39bc31109714
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-16 (Tue, 16 Oct 2018)

  Changed paths:
    M mi/mi.c
    M mi/mi.h

  Log Message:
  -----------
  mi core api: improve handling of invalid request


  Commit: 979603f6da2a77a2bb193b026894e5cdaa19a683
      https://github.com/OpenSIPS/opensips/commit/979603f6da2a77a2bb193b026894e5cdaa19a683
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-19 (Fri, 19 Oct 2018)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  Add pkg null terminated strdup function


  Commit: 168b1c17b64d521d728cc4907ecc5ed7affe469d
      https://github.com/OpenSIPS/opensips/commit/168b1c17b64d521d728cc4907ecc5ed7affe469d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-22 (Mon, 22 Oct 2018)

  Changed paths:
    M modules/httpd/httpd.c

  Log Message:
  -----------
  httpd: port httpd_list_root_path MI command to the new jsonrpc API


  Commit: f6408470d91ebe9514d9798c36dfe59d90a6c5ed
      https://github.com/OpenSIPS/opensips/commit/f6408470d91ebe9514d9798c36dfe59d90a6c5ed
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-24 (Wed, 24 Oct 2018)

  Changed paths:
    M modules/httpd/httpd_proc.c

  Log Message:
  -----------
  httpd: improve performance by using MHD_run_from_select()

By using MHD_run_from_select() instead of MHD_run() we avoid the
redundant internal call to select() from MHD_run().


  Commit: ca263251c247d5cbe2307e7af4690a2703f10567
      https://github.com/OpenSIPS/opensips/commit/ca263251c247d5cbe2307e7af4690a2703f10567
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-24 (Wed, 24 Oct 2018)

  Changed paths:
    M lib/sliblist.c
    M lib/sliblist.h
    M modules/httpd/httpd_load.h
    M modules/httpd/httpd_proc.c

  Log Message:
  -----------
  httpd: improve the way POST data is retrieved

The "upload_data" parameter of the access callback now properly
points to the body of the POST request for "application/json" and
"text/xml" content types.


  Commit: 52aa14b4f94d25ef830d7069fb1df0ef46fbc3c5
      https://github.com/OpenSIPS/opensips/commit/52aa14b4f94d25ef830d7069fb1df0ef46fbc3c5
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-24 (Wed, 24 Oct 2018)

  Changed paths:
    M blacklists.c
    M evi/event_interface.c
    M mi/mi.c
    M mi/mi.h
    M mi/mi_core.c
    M net/net_tcp.c

  Log Message:
  -----------
  mi core: several fixes and improvements

* fix error code check when printing mi error response
* add some error logs in handle_mi_request()
* add option to print mi response in compact form
* fix bogus null pointer checks in several core mi command handlers


  Commit: 32eeeb9403522c4487c7db6729c08ca16777d44b
      https://github.com/OpenSIPS/opensips/commit/32eeeb9403522c4487c7db6729c08ca16777d44b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-25 (Thu, 25 Oct 2018)

  Changed paths:
    M modules/mi_json/http_fnc.c
    M modules/mi_json/http_fnc.h
    M modules/mi_json/mi_json.c

  Log Message:
  -----------
  mi_json: adapt module to be only a http transport for jsonrpc


  Commit: e99b5f73ee16e608a7277e36ff2dac5786787aa3
      https://github.com/OpenSIPS/opensips/commit/e99b5f73ee16e608a7277e36ff2dac5786787aa3
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-25 (Thu, 25 Oct 2018)

  Changed paths:
    M doc/build-contrib.sh
    A modules/mi_html/Makefile
    A modules/mi_html/README
    A modules/mi_html/doc/contributors.xml
    A modules/mi_html/doc/mi_html.xml
    A modules/mi_html/doc/mi_html_admin.xml
    A modules/mi_html/http_fnc.c
    A modules/mi_html/http_fnc.h
    A modules/mi_html/mi_html.c
    R modules/mi_http/Makefile
    R modules/mi_http/README
    R modules/mi_http/doc/contributors.xml
    R modules/mi_http/doc/mi_http.xml
    R modules/mi_http/doc/mi_http_admin.xml
    R modules/mi_http/http_fnc.c
    R modules/mi_http/http_fnc.h
    R modules/mi_http/mi_http.c

  Log Message:
  -----------
  Rename 'mi_http' module to 'mi_html'


  Commit: 8634f6bec91f2450bc1347eaab102bb39d278d0d
      https://github.com/OpenSIPS/opensips/commit/8634f6bec91f2450bc1347eaab102bb39d278d0d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-10-25 (Thu, 25 Oct 2018)

  Changed paths:
    M doc/build-contrib.sh
    A modules/mi_http/Makefile
    A modules/mi_http/README
    A modules/mi_http/doc/contributors.xml
    A modules/mi_http/doc/mi_http.xml
    A modules/mi_http/doc/mi_http_admin.xml
    A modules/mi_http/http_fnc.c
    A modules/mi_http/http_fnc.h
    A modules/mi_http/mi_http.c
    R modules/mi_json/Makefile
    R modules/mi_json/README
    R modules/mi_json/doc/contributors.xml
    R modules/mi_json/doc/mi_json.xml
    R modules/mi_json/doc/mi_json_admin.xml
    R modules/mi_json/http_fnc.c
    R modules/mi_json/http_fnc.h
    R modules/mi_json/mi_json.c

  Log Message:
  -----------
  Rename 'mi_json' module to 'mi_http'


  Commit: b819ecdbde6d14bafe1e7d264bc587891d15dc72
      https://github.com/OpenSIPS/opensips/commit/b819ecdbde6d14bafe1e7d264bc587891d15dc72
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-01-08 (Tue, 08 Jan 2019)

  Changed paths:
    M modules/mi_http/mi_http.c

  Log Message:
  -----------
  mi_http: fix module's name


  Commit: 2f8a72533197f678f4497509940d01a9d8e91a12
      https://github.com/OpenSIPS/opensips/commit/2f8a72533197f678f4497509940d01a9d8e91a12
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

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

  Log Message:
  -----------
  cJSON: add cJSON_PrintFlushed function

This function can be used to flush the json tree built


  Commit: 79b47326bde221f915c3453bd102056ed58ec989
      https://github.com/OpenSIPS/opensips/commit/79b47326bde221f915c3453bd102056ed58ec989
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M mi/item.h
    M mi/mi.c
    M mi/mi.h

  Log Message:
  -----------
  mi: add print_mi_response_flush function

This function can be used to print the jsorpc response in a limited size
buffer.


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

  Changed paths:
    M modules/mi_fifo/Makefile
    M modules/mi_fifo/fifo_fnc.c
    M modules/mi_fifo/fifo_fnc.h
    M modules/mi_fifo/mi_fifo.c
    M modules/mi_fifo/mi_fifo.h
    R modules/mi_fifo/mi_parser.c
    R modules/mi_fifo/mi_parser.h
    R modules/mi_fifo/mi_writer.c
    R modules/mi_fifo/mi_writer.h

  Log Message:
  -----------
  mi_fifo: adhere mi_fifo to the new JSONRPC mechanism

TODO: handle async responses


  Commit: 1b65212991b8594c0c778f347b8c90420a79e7c3
      https://github.com/OpenSIPS/opensips/commit/1b65212991b8594c0c778f347b8c90420a79e7c3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/mi_fifo/doc/mi_fifo_admin.xml

  Log Message:
  -----------
  mi_fifo: update docs according to JSONRPC change


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

  Changed paths:
    M scripts/opensipsctl.fifo

  Log Message:
  -----------
  opensipsctl: rework fifo to use the JSON-RPC

temporary change to only run plain MI commands


  Commit: 3c573f01e1557237af3eb88f63794c4c80b67f4c
      https://github.com/OpenSIPS/opensips/commit/3c573f01e1557237af3eb88f63794c4c80b67f4c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/mi_fifo/fifo_fnc.c

  Log Message:
  -----------
  mi_fifo: do not skip command in case of invalid

Thanks go to Vlad Patrascu for reporting it


  Commit: fe8fcb0260dc7a5bfc1ac44e7eb46dd35d4f9251
      https://github.com/OpenSIPS/opensips/commit/fe8fcb0260dc7a5bfc1ac44e7eb46dd35d4f9251
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M evi/event_interface.c
    M mi/item.c
    M mi/item.h
    M mi/mi.c
    M mi/mi_core.c
    M net/proto_tcp/proto_tcp.c
    M statistics.c

  Log Message:
  -----------
  mi api: simplify init_mi_error(); add init_mi_error_extra()


  Commit: af75f4873caf46e3fe9b314b5946747f00644d86
      https://github.com/OpenSIPS/opensips/commit/af75f4873caf46e3fe9b314b5946747f00644d86
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_db_handler.h
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_profile.h
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_replication.h
    M modules/dialog/dlg_req_within.c
    M modules/dialog/dlg_req_within.h

  Log Message:
  -----------
  dialog: port MI commands to jsonrpc api


  Commit: ce62ca2614ec920b8d7c7ded2eae31e694dedf12
      https://github.com/OpenSIPS/opensips/commit/ce62ca2614ec920b8d7c7ded2eae31e694dedf12
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/b2b_logic/b2b_logic.c
    M modules/b2b_logic/doc/b2b_logic_admin.xml

  Log Message:
  -----------
  b2b_logic: port MI commands to jsonrpc api


  Commit: 5d14501cc6ed5290ebf8367f9b9ad493050de8a0
      https://github.com/OpenSIPS/opensips/commit/5d14501cc6ed5290ebf8367f9b9ad493050de8a0
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/call_center/call_center.c

  Log Message:
  -----------
  call_center: port MI commands to jsonrpc api


  Commit: 84418a203f517766f722b15a896ee366dc298400
      https://github.com/OpenSIPS/opensips/commit/84418a203f517766f722b15a896ee366dc298400
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  dialog: fix initialization of MI command exports array


  Commit: 011a58d2f817d35037ceb4c8f2e51d48a96349d6
      https://github.com/OpenSIPS/opensips/commit/011a58d2f817d35037ceb4c8f2e51d48a96349d6
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M evi/event_interface.c
    M mi/mi_core.c

  Log Message:
  -----------
  Fix several issues with subscribers_list MI command

* fix command recipes array init
* fix bogus null pointer error check
* fix json output structure


  Commit: 3899048367b18b7fe17021ab83d2bf276e743ecb
      https://github.com/OpenSIPS/opensips/commit/3899048367b18b7fe17021ab83d2bf276e743ecb
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/nathelper/nathelper.c

  Log Message:
  -----------
  nathelper: port MI commands to jsonrpc


  Commit: ca5fa4becd8eece188e46f1812297df8d395192f
      https://github.com/OpenSIPS/opensips/commit/ca5fa4becd8eece188e46f1812297df8d395192f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/uac_registrant/registrant.c

  Log Message:
  -----------
  uac_registrant: port MI commands to jsonrpc


  Commit: eb8c94d5f10b5d5e6fdd89c54ee65d3d0bd8fc7b
      https://github.com/OpenSIPS/opensips/commit/eb8c94d5f10b5d5e6fdd89c54ee65d3d0bd8fc7b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M blacklists.c
    M evi/event_interface.c
    M mem/shm_mem.c
    M mi/item.c
    M mi/item.h
    M mi/mi.c
    M mi/mi_core.c
    M modules/b2b_logic/b2b_logic.c
    M modules/call_center/call_center.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_replication.c
    M modules/nathelper/nathelper.c
    M modules/uac_registrant/registrant.c
    M net/net_tcp.c

  Log Message:
  -----------
  mi api: allow floats and wider integers in the json response

This commit changes the add_mi_int()/init_mi_result_int() functions to
add_mi_number()/init_mi_result_number() which now take a double parameter
instead of an int.


  Commit: 6bfa81b5037696d0ec9e8ee41f887a5b1b9e5b8f
      https://github.com/OpenSIPS/opensips/commit/6bfa81b5037696d0ec9e8ee41f887a5b1b9e5b8f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/carrierroute/carrierroute.c
    M modules/carrierroute/route_fifo.c
    M modules/carrierroute/route_fifo.h

  Log Message:
  -----------
  carrierroute: port MI commands to jsonrpc


  Commit: 57efe171bc79321f68da8d117ac970f63a04103f
      https://github.com/OpenSIPS/opensips/commit/57efe171bc79321f68da8d117ac970f63a04103f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/cpl_c/cpl.c
    M modules/cpl_c/cpl_loader.c
    M modules/cpl_c/cpl_loader.h

  Log Message:
  -----------
  cpl_c: port MI commands to jsonrpc


  Commit: 16b2f58bd03946ea9182693c23f9083a4be953c5
      https://github.com/OpenSIPS/opensips/commit/16b2f58bd03946ea9182693c23f9083a4be953c5
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

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

  Log Message:
  -----------
  proto tls/ws/wss: port MI commands to jsonrpc


  Commit: c072c78e522d6df5d0b8039dd717beb80291ecfb
      https://github.com/OpenSIPS/opensips/commit/c072c78e522d6df5d0b8039dd717beb80291ecfb
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  sipcapture: port MI commands to jsonrpc


  Commit: 4acbc9ba85685992ee285ca4ad3fc7e8a96d38c7
      https://github.com/OpenSIPS/opensips/commit/4acbc9ba85685992ee285ca4ad3fc7e8a96d38c7
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  siptrace: port MI commands to jsonrpc


  Commit: e8d213f5bbf5fb2f5fab5b9f537a24bd2bc57677
      https://github.com/OpenSIPS/opensips/commit/e8d213f5bbf5fb2f5fab5b9f537a24bd2bc57677
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: port MI commands to jsonrpc


  Commit: 64189851433f52645ea234f0cc9f487f14fffe10
      https://github.com/OpenSIPS/opensips/commit/64189851433f52645ea234f0cc9f487f14fffe10
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/db_berkeley/bdb_mi.c
    M modules/db_berkeley/bdb_mi.h
    M modules/db_berkeley/db_berkeley.c
    M modules/db_berkeley/doc/db_berkeley_admin.xml

  Log Message:
  -----------
  db_berkeley: port MI commands to jsonrpc


  Commit: 7bcf10bad65ab91e7ddc9f28c40be05611df1019
      https://github.com/OpenSIPS/opensips/commit/7bcf10bad65ab91e7ddc9f28c40be05611df1019
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/db_flatstore/flat_mi.c
    M modules/db_flatstore/flat_mi.h
    M modules/db_flatstore/flatstore_mod.c

  Log Message:
  -----------
  db_flatstore: port MI commands to jsonrpc


  Commit: 3b67f80169fb9deea892d9fb466e3eb1e3617fa0
      https://github.com/OpenSIPS/opensips/commit/3b67f80169fb9deea892d9fb466e3eb1e3617fa0
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/db_text/dbtext.c

  Log Message:
  -----------
  db_text: port MI commands to jsonrpc


  Commit: 5ee87a84c9a2271038bef66e66659b34efff29a9
      https://github.com/OpenSIPS/opensips/commit/5ee87a84c9a2271038bef66e66659b34efff29a9
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/db_virtual/db_virtual.c
    M modules/db_virtual/doc/db_virtual_admin.xml

  Log Message:
  -----------
  db_virtual: port MI commands to jsonrpc


  Commit: 4c112b465a5d5b297c0cdb5a19b7b077b55be39d
      https://github.com/OpenSIPS/opensips/commit/4c112b465a5d5b297c0cdb5a19b7b077b55be39d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/cachedb_local/cachedb_local.c

  Log Message:
  -----------
  cachedb_local: port MI commands to jsonrpc


  Commit: 536b7e5a5d2cc3acd2613df528ffcb0a4d54e1a0
      https://github.com/OpenSIPS/opensips/commit/536b7e5a5d2cc3acd2613df528ffcb0a4d54e1a0
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/event_flatstore/event_flatstore.c

  Log Message:
  -----------
  event_flatstore: port MI commands to jsonrpc


  Commit: 7a298387a427dd9780d7dccc2f19dcf4ca99c6bf
      https://github.com/OpenSIPS/opensips/commit/7a298387a427dd9780d7dccc2f19dcf4ca99c6bf
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/pi_http/pi_http.c

  Log Message:
  -----------
  pi_http: port MI commands to jsonrpc


  Commit: 7cd36f9800c87985372aa8a454fb68f21b29a0fc
      https://github.com/OpenSIPS/opensips/commit/7cd36f9800c87985372aa8a454fb68f21b29a0fc
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/sql_cacher/doc/sql_cacher_admin.xml
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: port MI commands to jsonrpc


  Commit: ffe3c07d4dfe93cf9197dd12517d6a1f7ded2d8d
      https://github.com/OpenSIPS/opensips/commit/ffe3c07d4dfe93cf9197dd12517d6a1f7ded2d8d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/pike/pike.c
    M modules/pike/pike_mi.c
    M modules/pike/pike_mi.h

  Log Message:
  -----------
  pike: port MI commands to jsonrpc


  Commit: 62b279927f2885d8f0767b1770a418ab8e051ece
      https://github.com/OpenSIPS/opensips/commit/62b279927f2885d8f0767b1770a418ab8e051ece
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/ratelimit/ratelimit.c
    M modules/ratelimit/ratelimit.h
    M modules/ratelimit/ratelimit_helper.c

  Log Message:
  -----------
  ratelimit: port MI commands to jsonrpc


  Commit: dc5d586e37ca8b6e843a5592abf09003d518cebd
      https://github.com/OpenSIPS/opensips/commit/dc5d586e37ca8b6e843a5592abf09003d518cebd
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/fraud_detection/fraud_detection.c

  Log Message:
  -----------
  fraud_detection: port MI commands to jsonrpc


  Commit: 3c3fac8fd340007a9a2a6279a3aa7689595552db
      https://github.com/OpenSIPS/opensips/commit/3c3fac8fd340007a9a2a6279a3aa7689595552db
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/domain/domain_mod.c
    M modules/domain/hash.c
    M modules/domain/hash.h
    M modules/domain/mi.c
    M modules/domain/mi.h

  Log Message:
  -----------
  domain: port MI commands to jsonrpc


  Commit: ea5296f5da355307b40ac8b24661ded077bf9b3b
      https://github.com/OpenSIPS/opensips/commit/ea5296f5da355307b40ac8b24661ded077bf9b3b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/xcap_client/doc/xcap_client_admin.xml
    M modules/xcap_client/xcap_client.c

  Log Message:
  -----------
  xcap_client: port MI commands to jsonrpc


  Commit: a2b4cfda2bf379f9cc56551daef0809b8f4fde5e
      https://github.com/OpenSIPS/opensips/commit/a2b4cfda2bf379f9cc56551daef0809b8f4fde5e
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/rls/rls.c

  Log Message:
  -----------
  rls: port MI commands to jsonrpc


  Commit: 6c3258f0f9c87685b5f3431547fffc20535bf65e
      https://github.com/OpenSIPS/opensips/commit/6c3258f0f9c87685b5f3431547fffc20535bf65e
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/userblacklist/userblacklist.c

  Log Message:
  -----------
  userblacklist: port MI commands to jsonrpc


  Commit: d9c890d33634562ac1ee5de80f54e9d858e0ca91
      https://github.com/OpenSIPS/opensips/commit/d9c890d33634562ac1ee5de80f54e9d858e0ca91
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/regex/regex_mod.c

  Log Message:
  -----------
  regex: port MI commands to jsonrpc


  Commit: a40d3544ad61a6878af5bcac63d8da1bbd6b6ee1
      https://github.com/OpenSIPS/opensips/commit/a40d3544ad61a6878af5bcac63d8da1bbd6b6ee1
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/cfgutils/cfgutils.c
    M modules/cfgutils/shvar.c
    M modules/cfgutils/shvar.h

  Log Message:
  -----------
  cfgutils: port MI commands to jsonrpc


  Commit: 6a3b362f74180be5957c71aea1a248e4ac8505b9
      https://github.com/OpenSIPS/opensips/commit/6a3b362f74180be5957c71aea1a248e4ac8505b9
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/b2b_sca/b2b_sca.c

  Log Message:
  -----------
  b2b_sca: port MI commands to jsonrpc


  Commit: 3a7e14f2457fe6fdc2e02a0ea4063a8d56f45cfd
      https://github.com/OpenSIPS/opensips/commit/3a7e14f2457fe6fdc2e02a0ea4063a8d56f45cfd
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/tm/doc/tm_admin.xml
    M modules/tm/mi.c
    M modules/tm/mi.h
    M modules/tm/tm.c

  Log Message:
  -----------
  tm: port MI commands to jsonrpc api


  Commit: 031b0879b8dc3eb9bad331aa739ec040ca48f1b4
      https://github.com/OpenSIPS/opensips/commit/031b0879b8dc3eb9bad331aa739ec040ca48f1b4
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

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

  Log Message:
  -----------
  dispatcher: port MI commands to jsonrpc api


  Commit: 68816772a430a30369378be655de5cc659085459
      https://github.com/OpenSIPS/opensips/commit/68816772a430a30369378be655de5cc659085459
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: port MI commands to jsonrpc api


  Commit: 9938b5b24577cd2b063462aa9b6267f0fa1a3493
      https://github.com/OpenSIPS/opensips/commit/9938b5b24577cd2b063462aa9b6267f0fa1a3493
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/imc/imc.c

  Log Message:
  -----------
  imc: port MI commands to jsonrpc api


  Commit: 68455de9de34751d1a0dc323c2c30303fe134509
      https://github.com/OpenSIPS/opensips/commit/68455de9de34751d1a0dc323c2c30303fe134509
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  load_balancer: port MI commands to jsonrpc api


  Commit: 7c99416825eb87f02df135ee0f46acae3ea9cd7b
      https://github.com/OpenSIPS/opensips/commit/7c99416825eb87f02df135ee0f46acae3ea9cd7b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/benchmark/benchmark.c

  Log Message:
  -----------
  benchmark: port MI commands to jsonrpc


  Commit: 636871ae2767bf9ab68aa7ba9364a3032b5f45d0
      https://github.com/OpenSIPS/opensips/commit/636871ae2767bf9ab68aa7ba9364a3032b5f45d0
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/gflags/gflags.c

  Log Message:
  -----------
  gflags: port MI commands to jsonrpc


  Commit: f38c1f9849817336bc208e169139891a3544ffa3
      https://github.com/OpenSIPS/opensips/commit/f38c1f9849817336bc208e169139891a3544ffa3
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/permissions/hash.c
    M modules/permissions/hash.h
    M modules/permissions/mi.c
    M modules/permissions/mi.h
    M modules/permissions/permissions.c

  Log Message:
  -----------
  permissions: port MI commands to jsonrpc


  Commit: e5faa4ac1fd5f15b58dd2d38ff1cb17e17d53893
      https://github.com/OpenSIPS/opensips/commit/e5faa4ac1fd5f15b58dd2d38ff1cb17e17d53893
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

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

  Log Message:
  -----------
  dialplan: port MI commands to jsonrpc


  Commit: 625bb6ed48949eace975a5a3509e5fab2529d365
      https://github.com/OpenSIPS/opensips/commit/625bb6ed48949eace975a5a3509e5fab2529d365
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/usrloc/doc/usrloc_admin.xml
    M modules/usrloc/ul_mi.c
    M modules/usrloc/ul_mi.h
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  usrloc: port MI commands to jsonrpc


  Commit: 39179df17cb772b04cb2d388f5754a338932f1d0
      https://github.com/OpenSIPS/opensips/commit/39179df17cb772b04cb2d388f5754a338932f1d0
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: port MI commands to jsonrpc


  Commit: c944d2fb76180efafc33a1603faeb08b91629d66
      https://github.com/OpenSIPS/opensips/commit/c944d2fb76180efafc33a1603faeb08b91629d66
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: port MI commands to jsonrpc


  Commit: 41b7587a5d57f2737fddf074ea9ed85957a6ce3c
      https://github.com/OpenSIPS/opensips/commit/41b7587a5d57f2737fddf074ea9ed85957a6ce3c
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: port MI commands to jsonrpc


  Commit: 21ceb1f92dcbfa729209029241452423b62588bb
      https://github.com/OpenSIPS/opensips/commit/21ceb1f92dcbfa729209029241452423b62588bb
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml

  Log Message:
  -----------
  clusterer: port MI commands to jsonrpc


  Commit: 9fbcbce845daf65a22b515ef04121ca9495f94a9
      https://github.com/OpenSIPS/opensips/commit/9fbcbce845daf65a22b515ef04121ca9495f94a9
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-15 (Tue, 15 Jan 2019)

  Changed paths:
    M modules/pua_mi/doc/pua_mi_admin.xml
    M modules/pua_mi/mi_func.c
    M modules/pua_mi/mi_func.h
    M modules/pua_mi/pua_mi.c

  Log Message:
  -----------
  pua_mi: port MI commands to jsonrpc


  Commit: 725b8ef02343a2235e2d6c2a86befc3fbd04e811
      https://github.com/OpenSIPS/opensips/commit/725b8ef02343a2235e2d6c2a86befc3fbd04e811
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-15 (Tue, 15 Jan 2019)

  Changed paths:
    M modules/mi_datagram/datagram_fnc.c
    M modules/mi_datagram/datagram_fnc.h
    M modules/mi_datagram/doc/mi_datagram_admin.xml
    M modules/mi_datagram/mi_datagram.c
    M modules/mi_datagram/mi_datagram.h
    R modules/mi_datagram/mi_datagram_parser.c
    R modules/mi_datagram/mi_datagram_parser.h
    R modules/mi_datagram/mi_datagram_writer.c
    R modules/mi_datagram/mi_datagram_writer.h

  Log Message:
  -----------
  mi_datagram: adhere to the new JSON-RPC mechanism


  Commit: 37ec8d44cb79dfca2f69423cd34776f27fd51bb1
      https://github.com/OpenSIPS/opensips/commit/37ec8d44cb79dfca2f69423cd34776f27fd51bb1
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-22 (Tue, 22 Jan 2019)

  Changed paths:
    M lib/cJSON.c
    M lib/cJSON.h
    M modules/mi_xmlrpc_ng/doc/mi_xmlrpc_ng_admin.xml
    M modules/mi_xmlrpc_ng/http_fnc.c
    M modules/mi_xmlrpc_ng/http_fnc.h
    M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c

  Log Message:
  -----------
  mi_xmlrpc_ng: adapt module to the new MI api


  Commit: 7338e694101da3d97cb9d8548ac54d92d45d95e3
      https://github.com/OpenSIPS/opensips/commit/7338e694101da3d97cb9d8548ac54d92d45d95e3
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-22 (Tue, 22 Jan 2019)

  Changed paths:
    M mi/mi.c

  Log Message:
  -----------
  mi: fix crash if parameter name is empty


  Commit: 1dd264f82cc472bb235583979f90311c7dee9295
      https://github.com/OpenSIPS/opensips/commit/1dd264f82cc472bb235583979f90311c7dee9295
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-23 (Wed, 23 Jan 2019)

  Changed paths:
    M modules/mi_html/http_fnc.c
    M modules/mi_html/http_fnc.h
    M modules/mi_html/mi_html.c

  Log Message:
  -----------
  mi_html: adhere to the new JSON-RPC mechanism


  Commit: 5a1b7e9e654367fa3f5856878bfdc0f295c298d9
      https://github.com/OpenSIPS/opensips/commit/5a1b7e9e654367fa3f5856878bfdc0f295c298d9
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M modules/usrloc/ul_mi.c

  Log Message:
  -----------
  usrloc: remove unused variable


  Commit: ee52ad760cf61767b46790329a8eb8c1fa9431bf
      https://github.com/OpenSIPS/opensips/commit/ee52ad760cf61767b46790329a8eb8c1fa9431bf
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M modules/cgrates/cgrates.c

  Log Message:
  -----------
  cgrates: remove useless variable


  Commit: e5a8687ed5b48316b0c7061efc8c552adbaed40e
      https://github.com/OpenSIPS/opensips/commit/e5a8687ed5b48316b0c7061efc8c552adbaed40e
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M modules/dialog/dlg_hash.c
    M modules/qos/qos_mi.c

  Log Message:
  -----------
  qos: port dialog mi context callback to jsonrpc


  Commit: d709d59a35d7848c2234fe979bcfd2b510f3d216
      https://github.com/OpenSIPS/opensips/commit/d709d59a35d7848c2234fe979bcfd2b510f3d216
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M modules/sst/sst_mi.c

  Log Message:
  -----------
  sst: port dialog mi context callback to jsonrpc


  Commit: aeffaa85ffeb3e6aa24f10fda079e11963fadc3b
      https://github.com/OpenSIPS/opensips/commit/aeffaa85ffeb3e6aa24f10fda079e11963fadc3b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M modules/presence/clustering.c
    M modules/presence/presence.c
    M modules/presence/sharing_tags.c
    M modules/presence/sharing_tags.h

  Log Message:
  -----------
  presence: port MI commands to jsonrpc


  Commit: ec20123e03c19b27b3280190014921e91a334a5d
      https://github.com/OpenSIPS/opensips/commit/ec20123e03c19b27b3280190014921e91a334a5d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M modules/b2b_entities/b2b_entities.c
    M modules/b2b_entities/doc/b2b_entities_admin.xml

  Log Message:
  -----------
  b2b_entities: port MI commands to jsonrpc


  Commit: e40efadeaae6ef556bb8730775846ee5fc83ebe4
      https://github.com/OpenSIPS/opensips/commit/e40efadeaae6ef556bb8730775846ee5fc83ebe4
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M modules/compression/compression.c

  Log Message:
  -----------
  compression: remove useless variable


  Commit: 0b9f10d66d23ee93c5775e6c7b5ab169c8848252
      https://github.com/OpenSIPS/opensips/commit/0b9f10d66d23ee93c5775e6c7b5ab169c8848252
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M modules/lua/doc/lua_admin.xml
    M modules/lua/siplua.c
    M modules/lua/sipluami.c
    M modules/lua/sipluami.h

  Log Message:
  -----------
  lua: port MI commands to jsonrpc


  Commit: 2c365775d9eea952c4c4f0331a1b2a9e7aeaf0c8
      https://github.com/OpenSIPS/opensips/commit/2c365775d9eea952c4c4f0331a1b2a9e7aeaf0c8
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M modules/perl/perl.c

  Log Message:
  -----------
  perl: port MI commands to jsonrpc


  Commit: ec2472cb16bfabf0a09b35b7f643afb63e0b0bb1
      https://github.com/OpenSIPS/opensips/commit/ec2472cb16bfabf0a09b35b7f643afb63e0b0bb1
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M modules/lua/siplua.c

  Log Message:
  -----------
  lua: remove old leftover MI commands export


  Commit: 412feb07f277cb94d6ce9dfa3d3caee355152af4
      https://github.com/OpenSIPS/opensips/commit/412feb07f277cb94d6ce9dfa3d3caee355152af4
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M modules/db_virtual/db_virtual.c

  Log Message:
  -----------
  db_virtual: fix output of 'db_get' MI command


  Commit: 2b57fa5ed92964360a77229c7fa48f2ad26f210d
      https://github.com/OpenSIPS/opensips/commit/2b57fa5ed92964360a77229c7fa48f2ad26f210d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M modules/pi_http/pi_http.c

  Log Message:
  -----------
  pi_http: fix parameter type for httpd access callback


  Commit: 7fe50a4cc079af5dd5b939bf82ba4e19d1247793
      https://github.com/OpenSIPS/opensips/commit/7fe50a4cc079af5dd5b939bf82ba4e19d1247793
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M modules/ratelimit/ratelimit_helper.c

  Log Message:
  -----------
  ratelimit: avoid incorrect unlock on error in 'rl_list' MI command


  Commit: ab3516b4475702ffe988b8eb148d63097febb917
      https://github.com/OpenSIPS/opensips/commit/ab3516b4475702ffe988b8eb148d63097febb917
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-31 (Thu, 31 Jan 2019)

  Changed paths:
    M blacklists.c
    M doc/build-contrib.sh
    M evi/event_interface.c
    M evi/event_interface.h
    M lib/cJSON.c
    M lib/cJSON.h
    M lib/sliblist.c
    M lib/sliblist.h
    M mem/shm_mem.c
    M mem/shm_mem.h
    R mi/attr.c
    R mi/attr.h
    A mi/item.c
    A mi/item.h
    M mi/mi.c
    M mi/mi.h
    M mi/mi_core.c
    M mi/mi_trace.c
    M mi/mi_trace.h
    R mi/tree.c
    R mi/tree.h
    M modules/b2b_entities/b2b_entities.c
    M modules/b2b_entities/doc/b2b_entities_admin.xml
    M modules/b2b_logic/b2b_logic.c
    M modules/b2b_logic/doc/b2b_logic_admin.xml
    M modules/b2b_sca/b2b_sca.c
    M modules/benchmark/benchmark.c
    M modules/cachedb_local/cachedb_local.c
    M modules/call_center/call_center.c
    M modules/carrierroute/carrierroute.c
    M modules/carrierroute/route_fifo.c
    M modules/carrierroute/route_fifo.h
    M modules/cfgutils/cfgutils.c
    M modules/cfgutils/shvar.c
    M modules/cfgutils/shvar.h
    M modules/cgrates/cgrates.c
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml
    M modules/clusterer/sharing_tags.c
    M modules/clusterer/sharing_tags.h
    M modules/compression/compression.c
    M modules/cpl_c/cpl.c
    M modules/cpl_c/cpl_loader.c
    M modules/cpl_c/cpl_loader.h
    M modules/db_berkeley/bdb_mi.c
    M modules/db_berkeley/bdb_mi.h
    M modules/db_berkeley/db_berkeley.c
    M modules/db_berkeley/doc/db_berkeley_admin.xml
    M modules/db_flatstore/flat_mi.c
    M modules/db_flatstore/flat_mi.h
    M modules/db_flatstore/flatstore_mod.c
    M modules/db_text/dbtext.c
    M modules/db_virtual/db_virtual.c
    M modules/db_virtual/doc/db_virtual_admin.xml
    M modules/dialog/dialog.c
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_db_handler.h
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_profile.h
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_replication.h
    M modules/dialog/dlg_req_within.c
    M modules/dialog/dlg_req_within.h
    M modules/dialplan/dialplan.c
    M modules/dialplan/doc/dialplan_admin.xml
    M modules/dispatcher/dispatch.c
    M modules/dispatcher/dispatch.h
    M modules/dispatcher/dispatcher.c
    M modules/domain/domain_mod.c
    M modules/domain/hash.c
    M modules/domain/hash.h
    M modules/domain/mi.c
    M modules/domain/mi.h
    M modules/drouting/doc/drouting_admin.xml
    M modules/drouting/drouting.c
    M modules/event_flatstore/event_flatstore.c
    M modules/fraud_detection/fraud_detection.c
    M modules/freeswitch_scripting/fss_mod.c
    M modules/gflags/gflags.c
    M modules/httpd/httpd.c
    M modules/httpd/httpd_load.h
    M modules/httpd/httpd_proc.c
    M modules/imc/imc.c
    M modules/load_balancer/load_balancer.c
    M modules/lua/doc/lua_admin.xml
    M modules/lua/siplua.c
    M modules/lua/sipluami.c
    M modules/lua/sipluami.h
    M modules/mi_datagram/datagram_fnc.c
    M modules/mi_datagram/datagram_fnc.h
    M modules/mi_datagram/doc/mi_datagram_admin.xml
    M modules/mi_datagram/mi_datagram.c
    M modules/mi_datagram/mi_datagram.h
    R modules/mi_datagram/mi_datagram_parser.c
    R modules/mi_datagram/mi_datagram_parser.h
    R modules/mi_datagram/mi_datagram_writer.c
    R modules/mi_datagram/mi_datagram_writer.h
    M modules/mi_fifo/Makefile
    M modules/mi_fifo/doc/mi_fifo_admin.xml
    M modules/mi_fifo/fifo_fnc.c
    M modules/mi_fifo/fifo_fnc.h
    M modules/mi_fifo/mi_fifo.c
    M modules/mi_fifo/mi_fifo.h
    R modules/mi_fifo/mi_parser.c
    R modules/mi_fifo/mi_parser.h
    R modules/mi_fifo/mi_writer.c
    R modules/mi_fifo/mi_writer.h
    A modules/mi_html/Makefile
    A modules/mi_html/README
    A modules/mi_html/doc/contributors.xml
    A modules/mi_html/doc/mi_html.xml
    A modules/mi_html/doc/mi_html_admin.xml
    A modules/mi_html/http_fnc.c
    A modules/mi_html/http_fnc.h
    A modules/mi_html/mi_html.c
    M modules/mi_http/Makefile
    M modules/mi_http/README
    M modules/mi_http/doc/contributors.xml
    M modules/mi_http/doc/mi_http.xml
    M modules/mi_http/doc/mi_http_admin.xml
    M modules/mi_http/http_fnc.c
    M modules/mi_http/http_fnc.h
    M modules/mi_http/mi_http.c
    R modules/mi_json/Makefile
    R modules/mi_json/README
    R modules/mi_json/doc/contributors.xml
    R modules/mi_json/doc/mi_json.xml
    R modules/mi_json/doc/mi_json_admin.xml
    R modules/mi_json/http_fnc.c
    R modules/mi_json/http_fnc.h
    R modules/mi_json/mi_json.c
    M modules/mi_xmlrpc_ng/doc/mi_xmlrpc_ng_admin.xml
    M modules/mi_xmlrpc_ng/http_fnc.c
    M modules/mi_xmlrpc_ng/http_fnc.h
    M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c
    M modules/nathelper/nathelper.c
    M modules/perl/perl.c
    M modules/permissions/hash.c
    M modules/permissions/hash.h
    M modules/permissions/mi.c
    M modules/permissions/mi.h
    M modules/permissions/permissions.c
    M modules/pi_http/pi_http.c
    M modules/pike/pike.c
    M modules/pike/pike_mi.c
    M modules/pike/pike_mi.h
    M modules/presence/clustering.c
    M modules/presence/presence.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_mi/doc/pua_mi_admin.xml
    M modules/pua_mi/mi_func.c
    M modules/pua_mi/mi_func.h
    M modules/pua_mi/pua_mi.c
    M modules/qos/qos_mi.c
    M modules/ratelimit/ratelimit.c
    M modules/ratelimit/ratelimit.h
    M modules/ratelimit/ratelimit_helper.c
    M modules/regex/regex_mod.c
    M modules/rls/rls.c
    M modules/rtpengine/rtpengine.c
    M modules/rtpproxy/rtpproxy.c
    M modules/sipcapture/sipcapture.c
    M modules/siptrace/siptrace.c
    M modules/sql_cacher/doc/sql_cacher_admin.xml
    M modules/sql_cacher/sql_cacher.c
    M modules/sst/sst_mi.c
    M modules/tls_mgm/tls_mgm.c
    M modules/tm/doc/tm_admin.xml
    M modules/tm/mi.c
    M modules/tm/mi.h
    M modules/tm/tm.c
    M modules/uac_registrant/registrant.c
    M modules/userblacklist/userblacklist.c
    M modules/usrloc/doc/usrloc_admin.xml
    M modules/usrloc/ul_mi.c
    M modules/usrloc/ul_mi.h
    M modules/usrloc/ul_mod.c
    M modules/xcap_client/doc/xcap_client_admin.xml
    M modules/xcap_client/xcap_client.c
    M net/net_tcp.c
    M net/net_tcp.h
    M net/proto_tcp/proto_tcp.c
    M scripts/opensipsctl.fifo
    M statistics.c
    M ut.h

  Log Message:
  -----------
  Merge branch 'mi_rework'


  Commit: ec467869b04a3660b66aa17b2c1610b5fec4bdac
      https://github.com/OpenSIPS/opensips/commit/ec467869b04a3660b66aa17b2c1610b5fec4bdac
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-01-31 (Thu, 31 Jan 2019)

  Changed paths:
    M cfg.lex
    M cfg.y
    M ip_addr.h
    M modules/dialog/dlg_replication.c
    M modules/dispatcher/dispatch.c
    M modules/dispatcher/dispatcher.c
    M modules/domainpolicy/domainpolicy.c
    M modules/drouting/dr_load.c
    M modules/drouting/drouting.c
    M modules/nathelper/nathelper.c
    M modules/tm/mi.c
    M modules/uac_registrant/reg_db_handler.c
    M modules/usrloc/ul_cluster.c
    M net/trans.c
    M pvar.c
    M socket_info.c
    M socket_info.h

  Log Message:
  -----------
  Merge branch 'master' of github.com:OpenSIPS/opensips


Compare: https://github.com/OpenSIPS/opensips/compare/5a56d90a9914...ec467869b04a


From noreply at github.com  Fri Feb  1 05:48:42 2019
From: noreply at github.com (Liviu Chircu)
Date: Fri, 01 Feb 2019 02:48:42 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d81b3d: doc/build-contrib.sh:
 Properly handle the 3.0 renames
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/ec4678-d81b3d@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d81b3d481cc0728b802c7c441ebb808b8eccb4e3
      https://github.com/OpenSIPS/opensips/commit/d81b3d481cc0728b802c7c441ebb808b8eccb4e3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

  Changed paths:
    M doc/build-contrib.sh

  Log Message:
  -----------
  doc/build-contrib.sh: Properly handle the 3.0 renames

The 3.0 module renames are:

    * mi_http -> mi_html
    * mi_json -> mi_http

This completes commit ca50f4ae7bc57.




From razvan at opensips.org  Fri Feb  1 06:44:35 2019
From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=)
Date: Fri, 1 Feb 2019 13:44:35 +0200
Subject: [OpenSIPS-Devel] OpenSIPS at FOSDEM'19
Message-ID: <90b988ba-893d-e4a0-352e-e9ae8fdc1cc2@opensips.org>

Hello, everyone!

This year the OpenSIPS team will be present again in Brussels at 
FOSDEM'19[1]!
Me and Liviu will have a presentation in the RTC room about Building a 
Multi-Node SIP Platform Using OpenSIPS[2]. The presentation is scheduled 
for Sunday, 12:45 in the H.1309 (Van Rijn) room[3]. For those of you who 
will be attending FOSDEM this year, make sure you don't miss it, it will 
contain some nice surprises :).

[1] https://fosdem.org/2019/
[2] https://fosdem.org/2019/schedule/event/opensips/
[3] https://fosdem.org/2019/schedule/room/h1309_van_rijn/

See you all there!

-- 
Răzvan Crainea
OpenSIPS Core Developer
   http://www.opensips-solutions.com


From noreply at github.com  Fri Feb  1 10:56:48 2019
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Fri, 01 Feb 2019 07:56:48 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7aed4c: clusterer: fix
 description of 'state' column in db...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/d81b3d-7aed4c@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7aed4c179146140c055ecb34c190f176030766c0
      https://github.com/OpenSIPS/opensips/commit/7aed4c179146140c055ecb34c190f176030766c0
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

  Changed paths:
    M db/schema/clusterer.xml

  Log Message:
  -----------
  clusterer: fix description of 'state' column in db schema

Closes #1595




From noreply at github.com  Fri Feb  1 11:00:43 2019
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Fri, 01 Feb 2019 16:00:43 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2a05d5: clusterer: fix
 description of 'state' column in db...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/f67f8d-2a05d5@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2a05d560e43eed1bcc7822db9ed96bbc675b12ff
      https://github.com/OpenSIPS/opensips/commit/2a05d560e43eed1bcc7822db9ed96bbc675b12ff
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

  Changed paths:
    M db/schema/clusterer.xml

  Log Message:
  -----------
  clusterer: fix description of 'state' column in db schema

Closes #1595

(cherry picked from commit 7aed4c179146140c055ecb34c190f176030766c0)




From noreply at github.com  Fri Feb  1 11:22:33 2019
From: noreply at github.com (Liviu Chircu)
Date: Fri, 01 Feb 2019 08:22:33 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fd35cf: freeswitch_scripting:
 Fix startup crash with no mo...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/7aed4c-fd35cf@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fd35cfd400348b30d89608f4ca700c3e8c526ec6
      https://github.com/OpenSIPS/opensips/commit/fd35cfd400348b30d89608f4ca700c3e8c526ec6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

  Changed paths:
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Fix startup crash with no modparams

Thanks to Bogdan for catching this one




From noreply at github.com  Fri Feb  1 11:22:46 2019
From: noreply at github.com (Liviu Chircu)
Date: Fri, 01 Feb 2019 08:22:46 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 76c023: freeswitch_scripting:
 Fix startup crash with no mo...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/2a05d5-76c023@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 76c02314ba21a97c99bd24258c14cbcc3c5dddc6
      https://github.com/OpenSIPS/opensips/commit/76c02314ba21a97c99bd24258c14cbcc3c5dddc6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

  Changed paths:
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Fix startup crash with no modparams

Thanks to Bogdan for catching this one

(cherry picked from commit fd35cfd400348b30d89608f4ca700c3e8c526ec6)




From noreply at github.com  Fri Feb  1 11:29:48 2019
From: noreply at github.com (Liviu Chircu)
Date: Fri, 01 Feb 2019 08:29:48 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 13d77e: freeswitch_scripting:
	Remove dead code
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/fd35cf-13d77e@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 13d77ed4bdccdf77d0142900d43b76d490faf4c4
      https://github.com/OpenSIPS/opensips/commit/13d77ed4bdccdf77d0142900d43b76d490faf4c4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

  Changed paths:
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Remove dead code




From noreply at github.com  Fri Feb  1 11:29:56 2019
From: noreply at github.com (Liviu Chircu)
Date: Fri, 01 Feb 2019 08:29:56 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b6e6d4: freeswitch_scripting:
	Remove dead code
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/76c023-b6e6d4@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b6e6d4fc158e5b43cfa204c317742011250070e6
      https://github.com/OpenSIPS/opensips/commit/b6e6d4fc158e5b43cfa204c317742011250070e6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

  Changed paths:
    M modules/freeswitch_scripting/fss_mod.c

  Log Message:
  -----------
  freeswitch_scripting: Remove dead code

(cherry picked from commit 13d77ed4bdccdf77d0142900d43b76d490faf4c4)




From noreply at github.com  Sat Feb  2 03:09:27 2019
From: noreply at github.com (Nick Altmann)
Date: Sat, 02 Feb 2019 00:09:27 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0c4a6f: rpm packaging: remove
	mi_json module
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/13d77e-0c4a6f@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0c4a6ff03ae1c03ac3b82b44bfcf10f23820a1b4
      https://github.com/OpenSIPS/opensips/commit/0c4a6ff03ae1c03ac3b82b44bfcf10f23820a1b4
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2019-02-02 (Sat, 02 Feb 2019)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  rpm packaging: remove mi_json module




From noreply at github.com  Sat Feb  2 03:11:07 2019
From: noreply at github.com (Nick Altmann)
Date: Sat, 02 Feb 2019 00:11:07 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1cefc5: deb packaging: remove
	mi_json module
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/0c4a6f-1cefc5@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1cefc51056e2020dfdfbedd4ba7f6d4db502fd84
      https://github.com/OpenSIPS/opensips/commit/1cefc51056e2020dfdfbedd4ba7f6d4db502fd84
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2019-02-02 (Sat, 02 Feb 2019)

  Changed paths:
    M packaging/debian/copyright
    M packaging/debian/rules

  Log Message:
  -----------
  deb packaging: remove mi_json module




From noreply at github.com  Sat Feb  2 11:02:22 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 02 Feb 2019 08:02:22 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips]
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/000000-1cefc5@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips


From noreply at github.com  Sat Feb  2 12:24:15 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 02 Feb 2019 09:24:15 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8d9976: Fixed wrong sizeof()
	in mk_listen_param
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/1cefc5-8d9976@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8d9976502f7b341128d7a0cd817ace1531d70c6a
      https://github.com/OpenSIPS/opensips/commit/8d9976502f7b341128d7a0cd817ace1531d70c6a
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2019-02-02 (Sat, 02 Feb 2019)

  Changed paths:
    M cfg.y

  Log Message:
  -----------
  Fixed wrong sizeof() in mk_listen_param




From noreply at github.com  Sat Feb  2 13:07:20 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 02 Feb 2019 10:07:20 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4a17a8: Fixed uninit len for
 th_contact_encode_passwd param.
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/8d9976-4a17a8@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4a17a828861feb6be07f67103ad352e7d8c817f6
      https://github.com/OpenSIPS/opensips/commit/4a17a828861feb6be07f67103ad352e7d8c817f6
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-02 (Sat, 02 Feb 2019)

  Changed paths:
    M modules/topology_hiding/topology_hiding.c

  Log Message:
  -----------
  Fixed uninit len for th_contact_encode_passwd param.

As the used len was all the time 10 (the len of the default passwd), if you have set a shorter one, the actual used passwd has some trailing memory garbage (up to 10 char len). This grabage could be (99.999%) constant during runtime, but 100% different after a restart. Shorly, the decoding on ongoing contact would have failed after a restart.




From noreply at github.com  Sat Feb  2 13:08:17 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 02 Feb 2019 10:08:17 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 033db9: Fixed uninit len for
 th_contact_encode_passwd param.
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/b6e6d4-033db9@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 033db9fd02ef2ef212bd27e1e3af4b0028588aa7
      https://github.com/OpenSIPS/opensips/commit/033db9fd02ef2ef212bd27e1e3af4b0028588aa7
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-02 (Sat, 02 Feb 2019)

  Changed paths:
    M modules/topology_hiding/topology_hiding.c

  Log Message:
  -----------
  Fixed uninit len for th_contact_encode_passwd param.

As the used len was all the time 10 (the len of the default passwd), if you have set a shorter one, the actual used passwd has some trailing memory garbage (up to 10 char len). This grabage could be (99.999%) constant during runtime, but 100% different after a restart. Shorly, the decoding on ongoing contact would have failed after a restart.

(cherry picked from commit 4a17a828861feb6be07f67103ad352e7d8c817f6)




From noreply at github.com  Sat Feb  2 13:08:41 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 02 Feb 2019 10:08:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9f3e47: Fixed uninit len for
 th_contact_encode_passwd param.
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.2/9b8b28-9f3e47@github.com>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9f3e477e10f6e6e3e6b8f6762b05f75bd5730762
      https://github.com/OpenSIPS/opensips/commit/9f3e477e10f6e6e3e6b8f6762b05f75bd5730762
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-02 (Sat, 02 Feb 2019)

  Changed paths:
    M modules/topology_hiding/topology_hiding.c

  Log Message:
  -----------
  Fixed uninit len for th_contact_encode_passwd param.

As the used len was all the time 10 (the len of the default passwd), if you have set a shorter one, the actual used passwd has some trailing memory garbage (up to 10 char len). This grabage could be (99.999%) constant during runtime, but 100% different after a restart. Shorly, the decoding on ongoing contact would have failed after a restart.

(cherry picked from commit 4a17a828861feb6be07f67103ad352e7d8c817f6)




From noreply at github.com  Sat Feb  2 14:30:59 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 02 Feb 2019 11:30:59 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b371f1: Moved
	counted_processes variable into shm
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/1cefc5-3e5eae@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b371f1aed1aea21a63c1b4b104ff82a137c12ad9
      https://github.com/OpenSIPS/opensips/commit/b371f1aed1aea21a63c1b4b104ff82a137c12ad9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-02 (Sat, 02 Feb 2019)

  Changed paths:
    M pt.c
    M pt.h

  Log Message:
  -----------
  Moved counted_processes variable into shm


  Commit: 3e5eae0fc52601e797ac17a93855ec0b86a6a45e
      https://github.com/OpenSIPS/opensips/commit/3e5eae0fc52601e797ac17a93855ec0b86a6a45e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-02 (Sat, 02 Feb 2019)

  Changed paths:
    M cfg.lex
    M cfg.y
    M ip_addr.h
    M net/trans.c
    M socket_info.c
    M socket_info.h

  Log Message:
  -----------
  Added MIN and MAX number of workers per listener

Grammar allows the definition and push the values all the way to the socket_info structure.
Re-work the handling of listener to make it more friendly to large number of options/parameter per listener


Compare: https://github.com/OpenSIPS/opensips/compare/1cefc51056e2...3e5eae0fc526


From noreply at github.com  Sun Feb  3 00:59:39 2019
From: noreply at github.com (Nick Altmann)
Date: Sat, 02 Feb 2019 21:59:39 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3efb3b: rpm packaging: add
	mi_html module
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/4a17a8-3efb3b@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3efb3b80974c94c5b2f517cc2669db886c16ca97
      https://github.com/OpenSIPS/opensips/commit/3efb3b80974c94c5b2f517cc2669db886c16ca97
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2019-02-03 (Sun, 03 Feb 2019)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  rpm packaging: add mi_html module




From noreply at github.com  Sun Feb  3 09:37:56 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sun, 03 Feb 2019 06:37:56 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 12969e: removed unused old
 tokens from cfg grammar
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/3e5eae-181a27@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 12969e61e0acdc66ea4272102f7f175efefd23d9
      https://github.com/OpenSIPS/opensips/commit/12969e61e0acdc66ea4272102f7f175efefd23d9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-03 (Sun, 03 Feb 2019)

  Changed paths:
    M cfg.y

  Log Message:
  -----------
  removed unused old tokens from cfg grammar


  Commit: 181a274ed908fc3b8442c9cf2abf7d5410ca799d
      https://github.com/OpenSIPS/opensips/commit/181a274ed908fc3b8442c9cf2abf7d5410ca799d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-03 (Sun, 03 Feb 2019)

  Changed paths:
    M cfg.lex
    M cfg.y
    M config.h
    M globals.h
    M ip_addr.h
    M main.c
    M net/net_tcp.c
    M net/net_udp.c
    M socket_info.c
    M socket_info.h

  Log Message:
  -----------
  Replace the concept of 'child' with 'worker'

'children' replaced with 'udp_workers'
'tcp_children' replaced with 'tcp_workers'
'use_childern' replaced with 'use_workers'
Internal structures updated to the new terminology


Compare: https://github.com/OpenSIPS/opensips/compare/3e5eae0fc526...181a274ed908


From noreply at github.com  Sun Feb  3 10:38:25 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sun, 03 Feb 2019 07:38:25 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 30a42d: Added concept of
	groups for processes
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/181a27-30a42d@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 30a42d7c953f18ee1a455d04b011ab2e84226444
      https://github.com/OpenSIPS/opensips/commit/30a42d7c953f18ee1a455d04b011ab2e84226444
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-03 (Sun, 03 Feb 2019)

  Changed paths:
    M cfg.lex
    M cfg.y
    M globals.h
    M main.c
    M net/net_tcp.c
    M net/net_udp.c
    M pt.c
    M pt.h
    M sr_module.c
    M timer.c

  Log Message:
  -----------
  Added concept of groups for processes

A processes may optionally be part of a group. Different parts of OpenSIPS code may register callbacks to a group of processes, to fork new processes, for example.




From noreply at github.com  Sun Feb  3 12:21:30 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sun, 03 Feb 2019 09:21:30 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d13e7a: Small rework of the
	processes groups
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/30a42d-d13e7a@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d13e7a781fc6be5f003511c727c99807a9926815
      https://github.com/OpenSIPS/opensips/commit/d13e7a781fc6be5f003511c727c99807a9926815
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-03 (Sun, 03 Feb 2019)

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

  Log Message:
  -----------
  Small rework of the processes groups

Better use types to tag the processes.
When creating a proc group, push also the min/max for procs auto-scaling




From noreply at github.com  Sun Feb  3 15:10:43 2019
From: noreply at github.com (opensips-github)
Date: Sun, 03 Feb 2019 12:10:43 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e62db6: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.2/9f3e47-e62db6@github.com>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e62db61a2510d5a6564caf0af8c2ccb605e10701
      https://github.com/OpenSIPS/opensips/commit/e62db61a2510d5a6564caf0af8c2ccb605e10701
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-02-03 (Sun, 03 Feb 2019)

  Changed paths:
    M modules/topology_hiding/README
    M modules/topology_hiding/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Feb  3 15:32:46 2019
From: noreply at github.com (opensips-github)
Date: Sun, 03 Feb 2019 12:32:46 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 45c520: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/033db9-45c520@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 45c5200e8eef6ea061291a724c2ddcd895f97f05
      https://github.com/OpenSIPS/opensips/commit/45c5200e8eef6ea061291a724c2ddcd895f97f05
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-02-03 (Sun, 03 Feb 2019)

  Changed paths:
    M modules/clusterer/README
    M modules/clusterer/doc/contributors.xml
    M modules/freeswitch_scripting/README
    M modules/freeswitch_scripting/doc/contributors.xml
    M modules/topology_hiding/README
    M modules/topology_hiding/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Feb  3 15:47:58 2019
From: noreply at github.com (opensips-github)
Date: Sun, 03 Feb 2019 12:47:58 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 02a608: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/3efb3b-02a608@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 02a608c8524dfb61af650d1d5cb020d450837a1f
      https://github.com/OpenSIPS/opensips/commit/02a608c8524dfb61af650d1d5cb020d450837a1f
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-02-03 (Sun, 03 Feb 2019)

  Changed paths:
    M modules/b2b_entities/README
    M modules/b2b_entities/doc/contributors.xml
    M modules/b2b_logic/README
    M modules/b2b_logic/doc/contributors.xml
    M modules/b2b_sca/README
    M modules/b2b_sca/doc/contributors.xml
    M modules/benchmark/README
    M modules/benchmark/doc/contributors.xml
    M modules/cachedb_local/README
    M modules/cachedb_local/doc/contributors.xml
    M modules/call_center/README
    M modules/call_center/doc/contributors.xml
    M modules/carrierroute/README
    M modules/carrierroute/doc/contributors.xml
    M modules/cfgutils/README
    M modules/cfgutils/doc/contributors.xml
    M modules/cgrates/README
    M modules/cgrates/doc/contributors.xml
    M modules/clusterer/README
    M modules/clusterer/doc/contributors.xml
    M modules/compression/README
    M modules/compression/doc/contributors.xml
    M modules/cpl_c/README
    M modules/cpl_c/doc/contributors.xml
    M modules/db_berkeley/README
    M modules/db_berkeley/doc/contributors.xml
    M modules/db_flatstore/README
    M modules/db_flatstore/doc/contributors.xml
    M modules/db_text/README
    M modules/db_text/doc/contributors.xml
    M modules/db_virtual/README
    M modules/db_virtual/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/dialplan/README
    M modules/dialplan/doc/contributors.xml
    M modules/dispatcher/README
    M modules/dispatcher/doc/contributors.xml
    M modules/domain/README
    M modules/domain/doc/contributors.xml
    M modules/domainpolicy/README
    M modules/domainpolicy/doc/contributors.xml
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/event_flatstore/README
    M modules/event_flatstore/doc/contributors.xml
    M modules/fraud_detection/README
    M modules/fraud_detection/doc/contributors.xml
    M modules/freeswitch_scripting/README
    M modules/freeswitch_scripting/doc/contributors.xml
    M modules/gflags/README
    M modules/gflags/doc/contributors.xml
    M modules/httpd/README
    M modules/httpd/doc/contributors.xml
    M modules/imc/README
    M modules/imc/doc/contributors.xml
    M modules/load_balancer/README
    M modules/load_balancer/doc/contributors.xml
    M modules/lua/README
    M modules/lua/doc/contributors.xml
    M modules/mi_datagram/README
    M modules/mi_datagram/doc/contributors.xml
    M modules/mi_fifo/README
    M modules/mi_fifo/doc/contributors.xml
    M modules/mi_html/README
    M modules/mi_html/doc/contributors.xml
    M modules/mi_http/README
    M modules/mi_http/doc/contributors.xml
    M modules/mi_xmlrpc_ng/README
    M modules/mi_xmlrpc_ng/doc/contributors.xml
    M modules/nathelper/README
    M modules/nathelper/doc/contributors.xml
    M modules/perl/README
    M modules/perl/doc/contributors.xml
    M modules/permissions/README
    M modules/permissions/doc/contributors.xml
    M modules/pi_http/README
    M modules/pi_http/doc/contributors.xml
    M modules/pike/README
    M modules/pike/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/proto_tls/README
    M modules/proto_tls/doc/contributors.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/proto_wss/README
    M modules/proto_wss/doc/contributors.xml
    M modules/pua_mi/README
    M modules/pua_mi/doc/contributors.xml
    M modules/qos/README
    M modules/qos/doc/contributors.xml
    M modules/ratelimit/README
    M modules/ratelimit/doc/contributors.xml
    M modules/regex/README
    M modules/regex/doc/contributors.xml
    M modules/rls/README
    M modules/rls/doc/contributors.xml
    M modules/rtpengine/README
    M modules/rtpengine/doc/contributors.xml
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/contributors.xml
    M modules/sipcapture/README
    M modules/sipcapture/doc/contributors.xml
    M modules/siptrace/README
    M modules/siptrace/doc/contributors.xml
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/contributors.xml
    M modules/sst/README
    M modules/sst/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml
    M modules/topology_hiding/README
    M modules/topology_hiding/doc/contributors.xml
    M modules/uac_registrant/README
    M modules/uac_registrant/doc/contributors.xml
    M modules/userblacklist/README
    M modules/userblacklist/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml
    M modules/xcap_client/README
    M modules/xcap_client/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Mon Feb  4 11:21:57 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 04 Feb 2019 16:21:57 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 86a6be: Enhance the counting
 of processing in OpenSIPS
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/d13e7a-389606@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 86a6be767e8528d33e80a8fb9eb3de587d33b00e
      https://github.com/OpenSIPS/opensips/commit/86a6be767e8528d33e80a8fb9eb3de587d33b00e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M daemonize.c
    M main.c
    M modules/event_jsonrpc/jsonrpc_send.c
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_xmlrpc/xmlrpc_send.c
    M net/net_tcp.c
    M net/net_tcp.h
    M net/net_udp.c
    M net/net_udp.h
    M pt.c
    M pt.h
    M sr_module.c
    M sr_module.h

  Log Message:
  -----------
  Enhance the counting of processing in OpenSIPS

Count how many processes will be created at startup and also what is the maximum number of processes opensips may create at runtime (to pre-allocate the max size table of processes and inter-proc communication resources)


  Commit: 389606d4774762b03ebcee86a9587ec0f2658b22
      https://github.com/OpenSIPS/opensips/commit/389606d4774762b03ebcee86a9587ec0f2658b22
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M ipc.c
    M net/net_tcp.c
    M net/net_tcp.h
    M pt.c
    M pt.h

  Log Message:
  -----------
  Pre-allocate inter-process fd for all processes

Pre-allocate (and separatelt store in holders) the fds for IPC and TCP inter-proc communication. These fds are copied into the right process's vars only when the process is actually created.


Compare: https://github.com/OpenSIPS/opensips/compare/d13e7a781fc6...389606d47747


From noreply at github.com  Mon Feb  4 11:22:26 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Mon, 04 Feb 2019 08:22:26 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6baa3a: fix a couple of lgtm
	issues
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/02a608-6baa3a@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6baa3aa78d093bc06240a77254db948e989816d0
      https://github.com/OpenSIPS/opensips/commit/6baa3aa78d093bc06240a77254db948e989816d0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M bin_interface.c
    M error.c
    M io_wait.h
    M mem/module_info.c
    M mem/q_malloc.h
    M mi/mi_trace.c
    M modules/call_center/call_center.c
    M modules/imc/imc_cmd.c
    M modules/msilo/msfuncs.c
    M name_alias.h
    M net/proto_tcp/proto_tcp.c
    M resolve.c
    M socket_info.c

  Log Message:
  -----------
  fix a couple of lgtm issues




From noreply at github.com  Mon Feb  4 13:49:35 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 04 Feb 2019 10:49:35 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ad6ac6: Added
 monitor&test&trigger support for proc auto-s...
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/389606-6eb1eb@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ad6ac63e3ae3a13c0618bfa6dd08a19920003896
      https://github.com/OpenSIPS/opensips/commit/ad6ac63e3ae3a13c0618bfa6dd08a19920003896
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M main.c
    M pt.c
    M pt.h

  Log Message:
  -----------
  Added monitor&test&trigger support for proc auto-scaling

The main process is responsible for monitoring the load of the proc groups and to decide when a process has to be forked or ripped.


  Commit: 6eb1ebe89f2723ce600f777443212d761b2d2ceb
      https://github.com/OpenSIPS/opensips/commit/6eb1ebe89f2723ce600f777443212d761b2d2ceb
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M net/net_udp.c

  Log Message:
  -----------
  Added dynamic forking for UDP proc groups.

Still to deal with some fork-failure conditions.
Just scaling up (forking) is supported for now
Testing to follow


Compare: https://github.com/OpenSIPS/opensips/compare/389606d47747...6eb1ebe89f27


From noreply at github.com  Mon Feb  4 13:52:43 2019
From: noreply at github.com (Ovidiu Sas)
Date: Mon, 04 Feb 2019 10:52:43 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0aac97: mi_html: update
 interface description to reflect n...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/6baa3a-0aac97@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0aac972e9c7dc3f702c01a415c581d4320acab00
      https://github.com/OpenSIPS/opensips/commit/0aac972e9c7dc3f702c01a415c581d4320acab00
  Author: Ovidiu Sas <osas at voipembedded.com>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M modules/mi_html/http_fnc.c

  Log Message:
  -----------
  mi_html: update interface description to reflect new module name




From noreply at github.com  Mon Feb  4 14:59:10 2019
From: noreply at github.com (Ovidiu Sas)
Date: Mon, 04 Feb 2019 19:59:10 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1d900e: mi_html: prettify json
	output
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/0aac97-1d900e@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1d900ef0ce86f726f8877b2a3e377f8dbca02fe6
      https://github.com/OpenSIPS/opensips/commit/1d900ef0ce86f726f8877b2a3e377f8dbca02fe6
  Author: Ovidiu Sas <osas at voipembedded.com>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M modules/mi_html/http_fnc.c

  Log Message:
  -----------
  mi_html: prettify json output
 - closes #1608




From noreply at github.com  Mon Feb  4 17:15:57 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 04 Feb 2019 14:15:57 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 51f872: Avoid ripping process
 if resulting load is too high
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/6eb1eb-cfda59@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 51f8725d0972a19552a6382b8c4cff23f2056db2
      https://github.com/OpenSIPS/opensips/commit/51f8725d0972a19552a6382b8c4cff23f2056db2
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M pt.c

  Log Message:
  -----------
  Avoid ripping process if resulting load is too high

Redistribute the load of the existing N processes over N-1 processes and be sure the that the new resulting load is not higher than the HIGH load threshold (to force a scale back up)


  Commit: cfda5985352489743e3f8d52c870cc7410787453
      https://github.com/OpenSIPS/opensips/commit/cfda5985352489743e3f8d52c870cc7410787453
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M daemonize.c
    M daemonize.h
    M main.c
    M net/net_udp.c
    M pt.c
    M pt.h

  Log Message:
  -----------
  Proper handling for dynamic fork failure


Compare: https://github.com/OpenSIPS/opensips/compare/6eb1ebe89f27...cfda59853524


From noreply at github.com  Tue Feb  5 02:54:13 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 04 Feb 2019 23:54:13 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2bc25b: Rename all flags
 related to process management
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/cfda59-2bc25b@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2bc25b84d797430d6b78f3d7ce0e3f7193bd5f3d
      https://github.com/OpenSIPS/opensips/commit/2bc25b84d797430d6b78f3d7ce0e3f7193bd5f3d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M main.c
    M pt.c
    M pt.h
    M pt_load.c
    M sr_module.c
    M timer.c

  Log Message:
  -----------
  Rename all flags related to process management




From noreply at github.com  Tue Feb  5 03:56:31 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 05 Feb 2019 00:56:31 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9f7b98: Change the way how a
 slot is allocated for a new p...
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/2bc25b-9f7b98@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9f7b98762f9e599992f928281a156483cb29fa77
      https://github.com/OpenSIPS/opensips/commit/9f7b98762f9e599992f928281a156483cb29fa77
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M pt.c

  Log Message:
  -----------
  Change the way how a slot is allocated for a new process

Instead of a simple incremental idx, search the table for the first free (proc not running) slot. This will be needed to cope with dynamic process ripping.




From noreply at github.com  Tue Feb  5 05:38:29 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 05 Feb 2019 02:38:29 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 745974: dialplan: make sure DB
 is not initialized twice
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/1d900e-745974@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 74597481adec2c530d77c7d7153709965cad0242
      https://github.com/OpenSIPS/opensips/commit/74597481adec2c530d77c7d7153709965cad0242
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M modules/dialplan/dialplan.c

  Log Message:
  -----------
  dialplan: make sure DB is not initialized twice

Close #1610




From noreply at github.com  Tue Feb  5 07:19:40 2019
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 05 Feb 2019 04:19:40 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 984966: clusterer: fix parsing
 of clusterer_shtag_set_acti...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/745974-984966@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 98496642b3f70522c68081abd3da70ba5fbfa651
      https://github.com/OpenSIPS/opensips/commit/98496642b3f70522c68081abd3da70ba5fbfa651
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M modules/clusterer/sharing_tags.c

  Log Message:
  -----------
  clusterer: fix parsing of clusterer_shtag_set_active's parameter




From noreply at github.com  Tue Feb  5 08:05:16 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 05 Feb 2019 05:05:16 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fb1e86: The internal_fork()
 returns the process internal I...
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/9f7b98-5a4638@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fb1e8611a6cb804c3b9420a444d21bf2ae8e239e
      https://github.com/OpenSIPS/opensips/commit/fb1e8611a6cb804c3b9420a444d21bf2ae8e239e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

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

  Log Message:
  -----------
  The internal_fork() returns the process internal ID, not the PID.

This is a much simpler way to reference processes.


  Commit: 5a46380f236f637070a117e7915430f4e282cfb8
      https://github.com/OpenSIPS/opensips/commit/5a46380f236f637070a117e7915430f4e282cfb8
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M net/net_udp.c
    M pt.c

  Log Message:
  -----------
  Fix handling of failed dynamic forking.

Reset the process slot if the newly forked process failed -> the slot will be reused for another future fork.


Compare: https://github.com/OpenSIPS/opensips/compare/9f7b98762f9e...5a46380f236f


From noreply at github.com  Tue Feb  5 08:37:56 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 05 Feb 2019 05:37:56 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bf2e51: Fixed calculating the
	ovrall load stats
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/5a4638-bf2e51@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bf2e51cfbe16262a29f0f52c83532c55cdb43e67
      https://github.com/OpenSIPS/opensips/commit/bf2e51cfbe16262a29f0f52c83532c55cdb43e67
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M pt_load.c

  Log Message:
  -----------
  Fixed calculating the ovrall load stats

Correlate the summed used processing time with the number of summed processes, not total processes.




From noreply at github.com  Tue Feb  5 08:49:14 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 05 Feb 2019 05:49:14 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3354d8: Fixed calculating the
	ovrall load stats
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/984966-3354d8@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3354d87807e3298cfea2e0dc3f471af3538b2b0f
      https://github.com/OpenSIPS/opensips/commit/3354d87807e3298cfea2e0dc3f471af3538b2b0f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M pt_load.c

  Log Message:
  -----------
  Fixed calculating the ovrall load stats

Correlate the summed used processing time with the number of summed processes, not total processes.

(cherry picked from commit bf2e51cfbe16262a29f0f52c83532c55cdb43e67)




From noreply at github.com  Tue Feb  5 08:52:16 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 05 Feb 2019 05:52:16 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f8b7e9: Fixed calculating the
	ovrall load stats
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/45c520-f8b7e9@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f8b7e9c8d6f10d696f0057359ffcf305306ba984
      https://github.com/OpenSIPS/opensips/commit/f8b7e9c8d6f10d696f0057359ffcf305306ba984
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M pt_load.c

  Log Message:
  -----------
  Fixed calculating the ovrall load stats

Correlate the summed used processing time with the number of summed processes, not total processes.

(cherry picked from commit bf2e51cfbe16262a29f0f52c83532c55cdb43e67)
(cherry picked from commit 3354d87807e3298cfea2e0dc3f471af3538b2b0f)




From noreply at github.com  Tue Feb  5 09:29:09 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 05 Feb 2019 06:29:09 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7ee40b: Migrate to
	counted_max_processes
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/bf2e51-7ee40b@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7ee40b38b6dc1775b1056ade202f80e263fd6335
      https://github.com/OpenSIPS/opensips/commit/7ee40b38b6dc1775b1056ade202f80e263fd6335
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M db/db_insertq.c
    M dprint.c
    M main.c
    M mi/mi_core.c
    M net/net_tcp.c
    M pt.c
    M pt.h
    M pt_load.c

  Log Message:
  -----------
  Migrate to counted_max_processes

Drop counted_processes and it becamed irrelevant.




From noreply at github.com  Tue Feb  5 10:17:24 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 05 Feb 2019 07:17:24 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c12e25: mi: consider empty
	params as no param
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/3354d8-c12e25@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c12e25b28b5f94664e29c9a9a4ae0a953dcec003
      https://github.com/OpenSIPS/opensips/commit/c12e25b28b5f94664e29c9a9a4ae0a953dcec003
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M mi/mi.c

  Log Message:
  -----------
  mi: consider empty params as no param




From noreply at github.com  Tue Feb  5 10:24:56 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 05 Feb 2019 07:24:56 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8437b3: Fix typing error in
	prev commit bf2e51c
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/7ee40b-3524c0@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8437b3c44a9836035344c4a1c92facac6af56868
      https://github.com/OpenSIPS/opensips/commit/8437b3c44a9836035344c4a1c92facac6af56868
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M pt_load.c

  Log Message:
  -----------
  Fix typing error in prev commit bf2e51c


  Commit: 3524c003d6972411053b5c977a0fea9453f3b37a
      https://github.com/OpenSIPS/opensips/commit/3524c003d6972411053b5c977a0fea9453f3b37a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M statistics.c
    M statistics.h

  Log Message:
  -----------
  Added "hidden" flag to statistics.

Such a hidden statistic will not be foundable (by search) and not printed (via MI commands)


Compare: https://github.com/OpenSIPS/opensips/compare/7ee40b38b6dc...3524c003d697


From noreply at github.com  Tue Feb  5 10:52:03 2019
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 05 Feb 2019 07:52:03 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 30d988: usrloc: fix several
	issues in 'ul_dump'
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/c12e25-003108@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 30d9880c2bfde43d9b0e884e2468ce875f1109ce
      https://github.com/OpenSIPS/opensips/commit/30d9880c2bfde43d9b0e884e2468ce875f1109ce
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M modules/usrloc/ul_mi.c

  Log Message:
  -----------
  usrloc: fix several issues in 'ul_dump'

* properly dump all details when 'brief' parameter is missing
* fix 'ContactID' overflow in JSON output
* fix some null error checks when creating mi items


  Commit: 003108a6496524b2d95f7a9d5aa08d821b1858fc
      https://github.com/OpenSIPS/opensips/commit/003108a6496524b2d95f7a9d5aa08d821b1858fc
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M mi/item.c

  Log Message:
  -----------
  mi: fix printing of double values in the json output


Compare: https://github.com/OpenSIPS/opensips/compare/c12e25b28b5f...003108a64965


From Ben.Newlin at genesys.com  Tue Feb  5 10:58:03 2019
From: Ben.Newlin at genesys.com (Ben Newlin)
Date: Tue, 5 Feb 2019 15:58:03 +0000
Subject: [OpenSIPS-Devel] OpenSIPS Crashes
Message-ID: <4D8A5772-8F3E-41DB-A6AB-F6F302EBE3C7@genesys.com>

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20190205/15abb4ef/attachment-0001.html>

From noreply at github.com  Tue Feb  5 11:44:31 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 05 Feb 2019 16:44:31 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ed9843: Proper handling of
 per-proc stats during forking/r...
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/3524c0-ed9843@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ed9843e604d7a09abbfd230561c167c614de9cac
      https://github.com/OpenSIPS/opensips/commit/ed9843e604d7a09abbfd230561c167c614de9cac
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M core_stats.c
    M main.c
    M pt.c
    M pt.h
    M pt_load.c
    M pt_load.h

  Log Message:
  -----------
  Proper handling of per-proc stats during forking/ripping.

Attach all load & pkmem stats to the process slot, so we can hide and unhide them when the process is fork or terminated.




From noreply at github.com  Tue Feb  5 11:49:31 2019
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 05 Feb 2019 08:49:31 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 08fc04: mi: add empty string
 with add_mi_string() if value...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/003108-08fc04@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 08fc04f3b255c9b96d4710fbda639fb017bfbb67
      https://github.com/OpenSIPS/opensips/commit/08fc04f3b255c9b96d4710fbda639fb017bfbb67
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M mi/item.c

  Log Message:
  -----------
  mi: add empty string with add_mi_string() if value is null




From noreply at github.com  Tue Feb  5 12:14:25 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 05 Feb 2019 09:14:25 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 945c2e: Fixed over/undeflow
 due signed/unsigned differences
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/f8b7e9-945c2e@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 945c2eccfccd7af945e1797bafca682486481c52
      https://github.com/OpenSIPS/opensips/commit/945c2eccfccd7af945e1797bafca682486481c52
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M pt_load.c

  Log Message:
  -----------
  Fixed over/undeflow due signed/unsigned differences

Introduced with the last commit f8b7e9c




From noreply at github.com  Tue Feb  5 12:15:17 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 05 Feb 2019 09:15:17 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bc9b9f: Fixed over/undeflow
 due signed/unsigned differences
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/08fc04-bc9b9f@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bc9b9f92b5ec74ac000357029955f0d781c28167
      https://github.com/OpenSIPS/opensips/commit/bc9b9f92b5ec74ac000357029955f0d781c28167
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M pt_load.c

  Log Message:
  -----------
  Fixed over/undeflow due signed/unsigned differences

Introduced with the last commit f8b7e9c

(cherry picked from commit 945c2eccfccd7af945e1797bafca682486481c52)




From noreply at github.com  Tue Feb  5 12:16:50 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 05 Feb 2019 09:16:50 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b0760e: Fixed over/undeflow
 due signed/unsigned differences
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/ed9843-b0760e@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b0760eba2040ec5cf0b8b3c311483831d3de9b98
      https://github.com/OpenSIPS/opensips/commit/b0760eba2040ec5cf0b8b3c311483831d3de9b98
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M pt_load.c

  Log Message:
  -----------
  Fixed over/undeflow due signed/unsigned differences




From noreply at github.com  Tue Feb  5 13:03:26 2019
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 05 Feb 2019 10:03:26 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c8907a: dialog: also include
 sdp body when replicating dia...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/bc9b9f-c8907a@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c8907aa3d61955f76887e32e75666468ab856f1f
      https://github.com/OpenSIPS/opensips/commit/c8907aa3d61955f76887e32e75666468ab856f1f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: also include sdp body when replicating dialogs




From noreply at github.com  Tue Feb  5 13:14:32 2019
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 05 Feb 2019 10:14:32 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a6790d: dialog: also include
 sdp body when replicating dia...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/945c2e-a6790d@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a6790d5bd8b6e1581ba992998623e4b7027bba4d
      https://github.com/OpenSIPS/opensips/commit/a6790d5bd8b6e1581ba992998623e4b7027bba4d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: also include sdp body when replicating dialogs

(cherry picked from commit c8907aa3d61955f76887e32e75666468ab856f1f)




From noreply at github.com  Wed Feb  6 02:56:33 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 05 Feb 2019 23:56:33 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 419992: Fixed passing min/max
	per interface
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/b0760e-a2ce61@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4199925afa8156d61f277ab757adca380e98c402
      https://github.com/OpenSIPS/opensips/commit/4199925afa8156d61f277ab757adca380e98c402
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M cfg.y
    M socket_info.c

  Log Message:
  -----------
  Fixed passing min/max per interface


  Commit: b3c13362eee2ec5f710a7a7c86a3c0b1f2b87d42
      https://github.com/OpenSIPS/opensips/commit/b3c13362eee2ec5f710a7a7c86a3c0b1f2b87d42
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

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

  Log Message:
  -----------
  Extend the status-pipe support.

Expose more functions.
Allow to re-create the status-pipe - we need this for the managing the status of the dynamically forked procs


  Commit: a2ce6159b8d515a4d2cec6137df6923f5cfec53d
      https://github.com/OpenSIPS/opensips/commit/a2ce6159b8d515a4d2cec6137df6923f5cfec53d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M main.c

  Log Message:
  -----------
  Proper env init for the dynamic forking.

As usleep() may be intrerupted by signals, use the time based safe-guard to be sure we have 1 second between the auto-scaling checks

Re-init the status-code pipe to be able to collect the status of the newly forked procs.


Compare: https://github.com/OpenSIPS/opensips/compare/b0760eba2040...a2ce6159b8d5


From noreply at github.com  Wed Feb  6 03:22:45 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 06 Feb 2019 00:22:45 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dd004b: Take out the closing
 of write-end from the wait_st...
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/a2ce61-64ec5a@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dd004b2752f69d106521a8fc1ef6cb4579b44b42
      https://github.com/OpenSIPS/opensips/commit/dd004b2752f69d106521a8fc1ef6cb4579b44b42
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M daemonize.c

  Log Message:
  -----------
  Take out the closing of write-end from the wait_status_code()

Allow re-usage of wait_status_code() on the same pipe


  Commit: 49ce02dc5235a143acfa0b7cbc974e80d061e3b3
      https://github.com/OpenSIPS/opensips/commit/49ce02dc5235a143acfa0b7cbc974e80d061e3b3
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M pt.c

  Log Message:
  -----------
  Align to the status-pipe functions


  Commit: 64ec5abf697762f844c20ae070a3230c29bf4236
      https://github.com/OpenSIPS/opensips/commit/64ec5abf697762f844c20ae070a3230c29bf4236
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M net/net_udp.c

  Log Message:
  -----------
  Fix reporting the status via pipes


Compare: https://github.com/OpenSIPS/opensips/compare/a2ce6159b8d5...64ec5abf6977


From noreply at github.com  Wed Feb  6 04:20:29 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 06 Feb 2019 01:20:29 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 33ed33: Revert LM_WARN to
	LM_DBG
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/64ec5a-33ed33@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 33ed337757d222afa45b0215054f3827c4f41f82
      https://github.com/OpenSIPS/opensips/commit/33ed337757d222afa45b0215054f3827c4f41f82
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M daemonize.c

  Log Message:
  -----------
  Revert LM_WARN to LM_DBG




From noreply at github.com  Wed Feb  6 11:41:54 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 06 Feb 2019 08:41:54 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7ea8f6: Add new function
 ql_force_process_disconnect()
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/33ed33-e2032c@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7ea8f60f2e2d9f3ba062276c79b22177a0d77d8c
      https://github.com/OpenSIPS/opensips/commit/7ea8f60f2e2d9f3ba062276c79b22177a0d77d8c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

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

  Log Message:
  -----------
  Add new function ql_force_process_disconnect()

This disconnects all the existing DB conns mapped on a given process, from all the queues.
To be used when doing gracefull process termination.


  Commit: b57b0aed5e28e13894e5723bc80ddda6a8261a58
      https://github.com/OpenSIPS/opensips/commit/b57b0aed5e28e13894e5723bc80ddda6a8261a58
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M reactor_defs.h

  Log Message:
  -----------
  Add new macro reactor_is_empty()

Needed for graceful process termination


  Commit: de812572a767f77a7d0fc4ee3d69801c53f322e1
      https://github.com/OpenSIPS/opensips/commit/de812572a767f77a7d0fc4ee3d69801c53f322e1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M ipc.c
    M ipc.h

  Log Message:
  -----------
  Added ipc_handle_all_pending_jobs()

A new function to consume (in a non blocking way) all the pending ipc jobs on the pipe.


  Commit: f583b7ab96e7e203a7137c53d64b9b200dd5424b
      https://github.com/OpenSIPS/opensips/commit/f583b7ab96e7e203a7137c53d64b9b200dd5424b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M db/db_insertq.c

  Log Message:
  -----------
  Fix ql_force_process_disconnect()

Deal with the case when the list is empty (not init)


  Commit: e2032c76ad0a70a1c2c5b437489cd5f61e93949e
      https://github.com/OpenSIPS/opensips/commit/e2032c76ad0a70a1c2c5b437489cd5f61e93949e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

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

  Log Message:
  -----------
  Add down-scaling support for the auto-scaling


Compare: https://github.com/OpenSIPS/opensips/compare/33ed337757d2...e2032c76ad0a


From noreply at github.com  Wed Feb  6 13:42:02 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 06 Feb 2019 10:42:02 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5bcb69: Added auto-scaling for
 extra timer processes
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/e2032c-5bcb69@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5bcb69fac7938593696b2450187c4b77184568c9
      https://github.com/OpenSIPS/opensips/commit/5bcb69fac7938593696b2450187c4b77184568c9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

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

  Log Message:
  -----------
  Added auto-scaling for extra timer processes




From razvan at opensips.org  Thu Feb  7 03:38:35 2019
From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=)
Date: Thu, 7 Feb 2019 10:38:35 +0200
Subject: [OpenSIPS-Devel] OpenSIPS Ansible Role
Message-ID: <4f4c0eb2-8ca7-5415-48d1-597553725f1f@opensips.org>

Hello, everyone!

I've just created a new repository in the OpenSIPS organization that 
contains an Ansible Role for installing OpenSIPS from the official 
sources[1]. The role can install OpenSIPS on Debian, Ubuntu and RedHat 
distributions.

The role is also advertised in Ansible Galaxy, so you can install and 
use it very easy[2].

This project is open to anyone in the community, so if you want to 
enhance it with any features, feedback and PRs are more than welcome.

[1] https://github.com/OpenSIPS/ansible-opensips
[2] https://galaxy.ansible.com/razvancrainea/opensips

Enjoy!

-- 
Răzvan Crainea
OpenSIPS Core Developer
   http://www.opensips-solutions.com
Meet the OpenSIPS team at the next OpenSIPS Summit:
   https://www.opensips.org/events


From noreply at github.com  Thu Feb  7 04:14:22 2019
From: noreply at github.com (vladpaiu)
Date: Thu, 07 Feb 2019 01:14:22 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 39f205: Fixed crash in case
 new connection cannot be opened
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/c8907a-39f205@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 39f205cd92d05f41a7265576d16064136b805924
      https://github.com/OpenSIPS/opensips/commit/39f205cd92d05f41a7265576d16064136b805924
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M modules/db_postgres/pg_con.c

  Log Message:
  -----------
  Fixed crash in case new connection cannot be opened




From noreply at github.com  Thu Feb  7 07:05:23 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Thu, 07 Feb 2019 04:05:23 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 946e0b: Added grammar for
 auto-scaling provisioning via pr...
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/5bcb69-949a8e@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 946e0b045e795df9eb7e01546db0802a184f0d99
      https://github.com/OpenSIPS/opensips/commit/946e0b045e795df9eb7e01546db0802a184f0d99
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M cfg.lex
    M cfg.y
    M globals.h
    M ip_addr.h
    M main.c
    M net/net_udp.c
    M socket_info.c
    M timer.c

  Log Message:
  -----------
  Added grammar for auto-scaling provisioning via profiles

Still need to "connect" the grammar to the inner guts, work in progress


  Commit: 949a8ed01048141d128f44f8869d4bb8f892a5d9
      https://github.com/OpenSIPS/opensips/commit/949a8ed01048141d128f44f8869d4bb8f892a5d9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M pt.c
    M pt.h
    A pt_scaling.c
    A pt_scaling.h

  Log Message:
  -----------
  Move auto-scaling code into separate files


Compare: https://github.com/OpenSIPS/opensips/compare/5bcb69fac793...949a8ed01048


From noreply at github.com  Thu Feb  7 09:27:22 2019
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 07 Feb 2019 06:27:22 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 765dba: dialog: fix some
 profile replication locking issues
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/a6790d-765dba@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 765dba5c4f647286a0f361f7d191fe24e48445f1
      https://github.com/OpenSIPS/opensips/commit/765dba5c4f647286a0f361f7d191fe24e48445f1
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: fix some profile replication locking issues

* fix an extra relase instead of acquire for the received counters lock
* fix an unrelased profiles lock in case of error




From noreply at github.com  Thu Feb  7 09:27:55 2019
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 07 Feb 2019 06:27:55 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e123d0: dialog: fix some
 profile replication locking issues
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/39f205-e123d0@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e123d0192c27e188b9cc2340a267d8cb9311dace
      https://github.com/OpenSIPS/opensips/commit/e123d0192c27e188b9cc2340a267d8cb9311dace
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: fix some profile replication locking issues

* fix an extra relase instead of acquire for the received counters lock
* fix an unrelased profiles lock in case of error

(cherry picked from commit 765dba5c4f647286a0f361f7d191fe24e48445f1)




From noreply at github.com  Thu Feb  7 10:08:23 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Thu, 07 Feb 2019 15:08:23 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8e16b5: Use the auto-scaling
 profiles to controll the auto...
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/949a8e-8e16b5@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8e16b5910cbddf3326d21e6eeb35596fd9132791
      https://github.com/OpenSIPS/opensips/commit/8e16b5910cbddf3326d21e6eeb35596fd9132791
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M cfg.y
    M main.c
    M net/net_udp.c
    M pt_scaling.c
    M pt_scaling.h
    M socket_info.c
    M socket_info.h
    M timer.c

  Log Message:
  -----------
  Use the auto-scaling profiles to controll the auto-scaling




From noreply at github.com  Thu Feb  7 11:33:00 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Thu, 07 Feb 2019 08:33:00 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6d005d: Use the
 auto_scaling_cycle for triggering the auto...
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/8e16b5-bafd8a@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6d005dbe3f1c5d198cbe0378b8a4238ab5d5cbbc
      https://github.com/OpenSIPS/opensips/commit/6d005dbe3f1c5d198cbe0378b8a4238ab5d5cbbc
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M main.c

  Log Message:
  -----------
  Use the auto_scaling_cycle for triggering the auto scale


  Commit: 6084544b0e5b90064d40ea9373f14a130a24ecd1
      https://github.com/OpenSIPS/opensips/commit/6084544b0e5b90064d40ea9373f14a130a24ecd1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M pt_scaling.c

  Log Message:
  -----------
  Added validation for the defined auto-scaling profiles


  Commit: b17bbd5b9e1ae88cf6a014dc9a54614f952d99f2
      https://github.com/OpenSIPS/opensips/commit/b17bbd5b9e1ae88cf6a014dc9a54614f952d99f2
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

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

  Log Message:
  -----------
  Added configuration for timers auto scaling

New auto_scaling_timer_profile core param to define the auto-scaling profile to govern the timer processes.


  Commit: bafd8a1594512a0cb7c3ee1d0e57db006f78215d
      https://github.com/OpenSIPS/opensips/commit/bafd8a1594512a0cb7c3ee1d0e57db006f78215d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M pt_scaling.c

  Log Message:
  -----------
  Revert testing LM_WARN to LM_DBG


Compare: https://github.com/OpenSIPS/opensips/compare/8e16b5910cbd...bafd8a159451


From noreply at github.com  Thu Feb  7 11:55:11 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Thu, 07 Feb 2019 08:55:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 13e4c0: Make it more readable
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/bafd8a-37863f@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 13e4c0eaf2f13d14fcab11a611ac63c69feae253
      https://github.com/OpenSIPS/opensips/commit/13e4c0eaf2f13d14fcab11a611ac63c69feae253
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M core_stats.c

  Log Message:
  -----------
  Make it more readable


  Commit: ea86e0049e6e1cd28995bbf1966ed41ded1a9f9b
      https://github.com/OpenSIPS/opensips/commit/ea86e0049e6e1cd28995bbf1966ed41ded1a9f9b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M statistics.c

  Log Message:
  -----------
  Fixed comment (c'n'p error??)


  Commit: 37863f33c6fde72bf9487c8f4d13f87aa48feb55
      https://github.com/OpenSIPS/opensips/commit/37863f33c6fde72bf9487c8f4d13f87aa48feb55
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M pt.c

  Log Message:
  -----------
  Added load:processes_number statistics


Compare: https://github.com/OpenSIPS/opensips/compare/bafd8a159451...37863f33c6fd


From noreply at github.com  Fri Feb  8 11:37:29 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 08 Feb 2019 08:37:29 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 939213: fix grammar for
	listener
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/e123d0-939213@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 939213d666d77296bf28a799a6ef28f8d11075d3
      https://github.com/OpenSIPS/opensips/commit/939213d666d77296bf28a799a6ef28f8d11075d3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-02-08 (Fri, 08 Feb 2019)

  Changed paths:
    M cfg.y

  Log Message:
  -----------
  fix grammar for listener

Credits go to Pete Kelly for reporting this




From noreply at github.com  Fri Feb  8 12:22:47 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Fri, 08 Feb 2019 09:22:47 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] eb07ae: Remove double free on
	bad input
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/765dba-eb07ae@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: eb07ae953c18aa1812579225cece6947c4364590
      https://github.com/OpenSIPS/opensips/commit/eb07ae953c18aa1812579225cece6947c4364590
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-08 (Fri, 08 Feb 2019)

  Changed paths:
    M modules/mi_json/http_fnc.c

  Log Message:
  -----------
  Remove double free on bad input

Credits for the fix go to @rrb3942
Closes pull request  #1599




From noreply at github.com  Fri Feb  8 12:23:37 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Fri, 08 Feb 2019 09:23:37 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ba4d8a: Remove double free on
	bad input
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.2/e62db6-ba4d8a@github.com>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ba4d8a68306f2438d933336265bd96ac20c7d34b
      https://github.com/OpenSIPS/opensips/commit/ba4d8a68306f2438d933336265bd96ac20c7d34b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-08 (Fri, 08 Feb 2019)

  Changed paths:
    M modules/mi_json/http_fnc.c

  Log Message:
  -----------
  Remove double free on bad input

Credits for the fix go to @rrb3942
Closes pull request  #1599

(cherry picked from commit eb07ae953c18aa1812579225cece6947c4364590)




From noreply at github.com  Fri Feb  8 16:29:58 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 08 Feb 2019 13:29:58 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ed4e86: net/tcp: save fd
 before sending the conn to main
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/939213-ed4e86@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ed4e862db1dbeefd6db8559425c2da26fa239dd9
      https://github.com/OpenSIPS/opensips/commit/ed4e862db1dbeefd6db8559425c2da26fa239dd9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-02-08 (Fri, 08 Feb 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  net/tcp: save fd before sending the conn to main

Save local fd of the connection before sending it to TCP main, to make
sure we it won't get overwritten by main, and we close somebody else's
file descriptor.




From noreply at github.com  Fri Feb  8 16:30:18 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 08 Feb 2019 21:30:18 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e563f7: net/tcp: save fd
 before sending the conn to main
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/eb07ae-e563f7@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e563f7dbdfeb50005e4fae2d3d298e5683b7e52f
      https://github.com/OpenSIPS/opensips/commit/e563f7dbdfeb50005e4fae2d3d298e5683b7e52f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-02-08 (Fri, 08 Feb 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  net/tcp: save fd before sending the conn to main

Save local fd of the connection before sending it to TCP main, to make
sure we it won't get overwritten by main, and we close somebody else's
file descriptor.

(cherry picked from commit ed4e862db1dbeefd6db8559425c2da26fa239dd9)




From noreply at github.com  Fri Feb  8 16:31:32 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 08 Feb 2019 13:31:32 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 06b641: net/tcp: save fd
 before sending the conn to main
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.2/ba4d8a-06b641@github.com>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 06b641ba59d7786f286cc42fd9d407356e0b440f
      https://github.com/OpenSIPS/opensips/commit/06b641ba59d7786f286cc42fd9d407356e0b440f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-02-08 (Fri, 08 Feb 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  net/tcp: save fd before sending the conn to main

Save local fd of the connection before sending it to TCP main, to make
sure we it won't get overwritten by main, and we close somebody else's
file descriptor.

(cherry picked from commit ed4e862db1dbeefd6db8559425c2da26fa239dd9)




From noreply at github.com  Sun Feb 10 15:10:44 2019
From: noreply at github.com (opensips-github)
Date: Sun, 10 Feb 2019 12:10:44 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b0e7f0: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.2/06b641-b0e7f0@github.com>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b0e7f04791a991bd476455a77ecc02744ed91a05
      https://github.com/OpenSIPS/opensips/commit/b0e7f04791a991bd476455a77ecc02744ed91a05
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-02-10 (Sun, 10 Feb 2019)

  Changed paths:
    M modules/mi_json/README
    M modules/mi_json/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Feb 10 15:32:45 2019
From: noreply at github.com (opensips-github)
Date: Sun, 10 Feb 2019 12:32:45 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 168466: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/e563f7-168466@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1684661660e0c5740ea51a10b374369b11e28b02
      https://github.com/OpenSIPS/opensips/commit/1684661660e0c5740ea51a10b374369b11e28b02
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-02-10 (Sun, 10 Feb 2019)

  Changed paths:
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/mi_json/README
    M modules/mi_json/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Feb 10 15:50:15 2019
From: noreply at github.com (opensips-github)
Date: Sun, 10 Feb 2019 12:50:15 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7a3d55: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/ed4e86-7a3d55@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7a3d55c8ee3584b29fecc8ffcc2e8f5c454ff64c
      https://github.com/OpenSIPS/opensips/commit/7a3d55c8ee3584b29fecc8ffcc2e8f5c454ff64c
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-02-10 (Sun, 10 Feb 2019)

  Changed paths:
    M modules/call_center/README
    M modules/call_center/doc/contributors.xml
    M modules/clusterer/README
    M modules/clusterer/doc/contributors.xml
    M modules/db_postgres/README
    M modules/db_postgres/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/dialplan/README
    M modules/dialplan/doc/contributors.xml
    M modules/imc/README
    M modules/imc/doc/contributors.xml
    M modules/mi_html/README
    M modules/mi_html/doc/contributors.xml
    M modules/msilo/README
    M modules/msilo/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Mon Feb 11 09:49:58 2019
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Mon, 11 Feb 2019 14:49:58 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9a63a8: dialog: improve
 efficiency of retrieving sharing t...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/7a3d55-9a63a8@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9a63a8aa1e74cc9f0877cda88834a80867381d20
      https://github.com/OpenSIPS/opensips/commit/9a63a8aa1e74cc9f0877cda88834a80867381d20
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-02-11 (Mon, 11 Feb 2019)

  Changed paths:
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: improve efficiency of retrieving sharing tag state

The dialog sharing tag name is now stored in the dialog structure
instead of a dialog value, which is only used for persisting and
replicating the tag.




From noreply at github.com  Mon Feb 11 09:55:34 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Mon, 11 Feb 2019 06:55:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9ceda0: Don't clip notify
 socket to older rtpproxies when ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/9a63a8-9f6b15@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9ceda019c8f29de1bae1523b5217f265a86482c1
      https://github.com/OpenSIPS/opensips/commit/9ceda019c8f29de1bae1523b5217f265a86482c1
  Author: Ryan Bullock <rrb3942 at gmail.com>
  Date:   2019-01-28 (Mon, 28 Jan 2019)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  Don't clip notify socket to older rtpproxies when using unix sockets


  Commit: 9f6b15e2895260f6537d57f16575ff96955dba6a
      https://github.com/OpenSIPS/opensips/commit/9f6b15e2895260f6537d57f16575ff96955dba6a
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2019-02-11 (Mon, 11 Feb 2019)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  Merge pull request #1601 from rrb3942/rtpproxy_socket_clipping

Don't clip notify socket to older rtpproxies when using unix sockets


Compare: https://github.com/OpenSIPS/opensips/compare/9a63a8aa1e74...9f6b15e28952


From noreply at github.com  Mon Feb 11 09:56:36 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Mon, 11 Feb 2019 14:56:36 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d57ce2: Merge pull request
 #1601 from rrb3942/rtpproxy_soc...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/168466-d57ce2@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d57ce2d415fd5137dabdf3c193347dcdf729307c
      https://github.com/OpenSIPS/opensips/commit/d57ce2d415fd5137dabdf3c193347dcdf729307c
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2019-02-11 (Mon, 11 Feb 2019)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  Merge pull request #1601 from rrb3942/rtpproxy_socket_clipping

Don't clip notify socket to older rtpproxies when using unix sockets

(cherry picked from commit 9f6b15e2895260f6537d57f16575ff96955dba6a)




From noreply at github.com  Tue Feb 12 03:33:04 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 12 Feb 2019 00:33:04 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fd3a6e: presence: MI flush
 subs_phtable_list only if there...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/d57ce2-a7eeaf@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fd3a6e4a71674c626c8b7f97f9892d08e48d0f7f
      https://github.com/OpenSIPS/opensips/commit/fd3a6e4a71674c626c8b7f97f9892d08e48d0f7f
  Author: Walter Doekes <walter+github at wjd.nu>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M modules/presence/presence.c

  Log Message:
  -----------
  presence: MI flush subs_phtable_list only if there is data

Also flush pres_phtable_list after more than 50 entries.

Corrects problem with (soon to be removed) mi-datagram where flushing
after 0 bytes creates a negative response.


  Commit: fd75d765e7bf61ad76848d4277c9b7ff88aa3eb6
      https://github.com/OpenSIPS/opensips/commit/fd75d765e7bf61ad76848d4277c9b7ff88aa3eb6
  Author: Walter Doekes <walter+github at wjd.nu>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M modules/mi_datagram/mi_datagram_writer.c

  Log Message:
  -----------
  mi_datagram: Correct leftover bytes count

Before this fix, a flush_mi_tree without new data would decrement the
bytes-left for no reason, and after a bunch of these, we'd run out of space.

Errors like these would flood the logs:

    failed to write -line too long!
    failed to write - EOC does not fit in!

Additionally, mi_datagram_write_node would decrease the length by more than
necessary, causing less than half the full size to fit in the response.

(dtgram->len is "bytes left", not "total length")


  Commit: a7eeaf1873d9d76309975aaf7b4f4ad02e435941
      https://github.com/OpenSIPS/opensips/commit/a7eeaf1873d9d76309975aaf7b4f4ad02e435941
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M modules/mi_datagram/mi_datagram_writer.c
    M modules/presence/presence.c

  Log Message:
  -----------
  Merge pull request #1614 from wdoekes/wjd-correct-presence-list-mi-flush-2.4

Correct presence list MI flush in OpenSIPS 2.4


Compare: https://github.com/OpenSIPS/opensips/compare/d57ce2d415fd...a7eeaf1873d9


From noreply at github.com  Tue Feb 12 03:52:41 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 12 Feb 2019 00:52:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1b23a0: Merge pull request
 #1614 from wdoekes/wjd-correct-...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.2/b0e7f0-1b23a0@github.com>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1b23a09892d0106803ec11d7f4ca944acecc9c27
      https://github.com/OpenSIPS/opensips/commit/1b23a09892d0106803ec11d7f4ca944acecc9c27
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M modules/mi_datagram/mi_datagram_writer.c
    M modules/presence/presence.c

  Log Message:
  -----------
  Merge pull request #1614 from wdoekes/wjd-correct-presence-list-mi-flush-2.4

Correct presence list MI flush in OpenSIPS 2.4
(cherry picked from commit a7eeaf1873d9d76309975aaf7b4f4ad02e435941)




From noreply at github.com  Tue Feb 12 06:11:53 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 12 Feb 2019 03:11:53 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c3328d: [dialplan] Added
 defaults for several columns
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/9f6b15-c3328d@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c3328d7f6db4b80294f74bf4e8fe1f5618938196
      https://github.com/OpenSIPS/opensips/commit/c3328d7f6db4b80294f74bf4e8fe1f5618938196
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M db/schema/dialplan.xml
    M scripts/db_berkeley/opensips/dialplan
    M scripts/mysql/dialplan-create.sql
    M scripts/oracle/dialplan-create.sql
    M scripts/postgres/dialplan-create.sql
    M scripts/sqlite/dialplan-create.sql

  Log Message:
  -----------
  [dialplan] Added defaults for several columns




From noreply at github.com  Tue Feb 12 09:10:40 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 12 Feb 2019 06:10:40 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d0d27b: Fix re-usage of
 UDP<>TCP-Main comm sockets
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/37863f-4ad9bb@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d0d27b8483b8831644aa54b6f5001e976cc415ad
      https://github.com/OpenSIPS/opensips/commit/d0d27b8483b8831644aa54b6f5001e976cc415ad
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  Fix re-usage of UDP<>TCP-Main comm sockets


  Commit: cd9222e48865dfeeb15bb18da386de469c7a6de1
      https://github.com/OpenSIPS/opensips/commit/cd9222e48865dfeeb15bb18da386de469c7a6de1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M cfg.y
    M globals.h
    M net/net_tcp.c

  Log Message:
  -----------
  TCP auto-scaling - support for dynamic tcp_workers table


  Commit: 91aa645a2ad9a5c986a225ac72b3a5bb60c6625f
      https://github.com/OpenSIPS/opensips/commit/91aa645a2ad9a5c986a225ac72b3a5bb60c6625f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  Fixed  bogus log


  Commit: f817725125c42f97ab73b428e17bae9b545088f5
      https://github.com/OpenSIPS/opensips/commit/f817725125c42f97ab73b428e17bae9b545088f5
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  Use multiple states for a TCP process


  Commit: 4ad9bb8cc5fe6d7d276d955df1443fc057c1cc9d
      https://github.com/OpenSIPS/opensips/commit/4ad9bb8cc5fe6d7d276d955df1443fc057c1cc9d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  Added support for forking new TCP workers


Compare: https://github.com/OpenSIPS/opensips/compare/37863f33c6fd...4ad9bb8cc5fe


From noreply at github.com  Tue Feb 12 10:20:56 2019
From: noreply at github.com (Liviu Chircu)
Date: Tue, 12 Feb 2019 07:20:56 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b830a2: mid_registrar: Improve
 '; ctid= not found' error logs
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/c3328d-b830a2@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b830a2f32b145d32e7f85cd41dd4848211e27c11
      https://github.com/OpenSIPS/opensips/commit/b830a2f32b145d32e7f85cd41dd4848211e27c11
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M modules/mid_registrar/lookup.c

  Log Message:
  -----------
  mid_registrar: Improve ';ctid= not found' error logs




From noreply at github.com  Tue Feb 12 10:21:20 2019
From: noreply at github.com (Liviu Chircu)
Date: Tue, 12 Feb 2019 07:21:20 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 71cb2b: mid_registrar: Improve
 '; ctid= not found' error logs
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/a7eeaf-71cb2b@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 71cb2b01541c411154cac2507070f0ac31fb73d7
      https://github.com/OpenSIPS/opensips/commit/71cb2b01541c411154cac2507070f0ac31fb73d7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M modules/mid_registrar/lookup.c

  Log Message:
  -----------
  mid_registrar: Improve ';ctid= not found' error logs

(cherry picked from commit b830a2f32b145d32e7f85cd41dd4848211e27c11)




From noreply at github.com  Tue Feb 12 10:47:36 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 12 Feb 2019 07:47:36 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bd4c57: Fix optional profile
	setting on interface
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/4ad9bb-7acce9@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bd4c57b307a38d2ef71b8266d54ce48061524475
      https://github.com/OpenSIPS/opensips/commit/bd4c57b307a38d2ef71b8266d54ce48061524475
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M socket_info.c

  Log Message:
  -----------
  Fix optional profile setting on interface


  Commit: 7acce9e16d90379df3407b07a669cec323b5ce74
      https://github.com/OpenSIPS/opensips/commit/7acce9e16d90379df3407b07a669cec323b5ce74
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M pt.h
    M pt_scaling.c

  Log Message:
  -----------
  Fixed multiple terminates on the same process.

Mark the process to avoid counting it for other terminations. A process may continue to run after receiving the terminate RPC (due draining procedure), so it will continue to exist as running in the process table.
Use the OSS_PROC_TO_TERMINATE flag to avoid this (note that the flag is set and tested only by the attendent process).


Compare: https://github.com/OpenSIPS/opensips/compare/4ad9bb8cc5fe...7acce9e16d90


From noreply at github.com  Tue Feb 12 11:53:59 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 12 Feb 2019 16:53:59 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6b1632: Makefile.defs:
 evaluage CC_EXTRA_OPTS later, after...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/b830a2-6b1632@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6b1632f5755e2cf56ae31311a624c83f7a827ef3
      https://github.com/OpenSIPS/opensips/commit/6b1632f5755e2cf56ae31311a624c83f7a827ef3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M Makefile.defs

  Log Message:
  -----------
  Makefile.defs: evaluage CC_EXTRA_OPTS later, after CFLAGS are set




From noreply at github.com  Tue Feb 12 12:26:46 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 12 Feb 2019 09:26:46 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d07865: Removed unused TCP
 related field in process table
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/7acce9-848f5e@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d07865e827ef4fe9b01ec347727e65f2475f4dd8
      https://github.com/OpenSIPS/opensips/commit/d07865e827ef4fe9b01ec347727e65f2475f4dd8
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

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

  Log Message:
  -----------
  Removed unused TCP related field in process table


  Commit: 1ad431ef4e5e0f23c190063cfb1fc55e52ca7aaf
      https://github.com/OpenSIPS/opensips/commit/1ad431ef4e5e0f23c190063cfb1fc55e52ca7aaf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M net/net_udp.c

  Log Message:
  -----------
  Fix computing extra procs.

Consider the case when starting with a higher value than the max in the profile


  Commit: 848f5ea990f82fdcb69c0188c448e09d0b85e6d3
      https://github.com/OpenSIPS/opensips/commit/848f5ea990f82fdcb69c0188c448e09d0b85e6d3
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

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

  Log Message:
  -----------
  Added full TCP auto-scaling


Compare: https://github.com/OpenSIPS/opensips/compare/7acce9e16d90...848f5ea990f8


From noreply at github.com  Tue Feb 12 12:54:11 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 12 Feb 2019 09:54:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 299e76: Added configurable
 number of timer procs to start ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/848f5e-c03e79@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 299e768f7c5bf6c59d6f31e0b8e19c4ffe127bee
      https://github.com/OpenSIPS/opensips/commit/299e768f7c5bf6c59d6f31e0b8e19c4ffe127bee
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M cfg.lex
    M cfg.y
    M pt.c
    M timer.c
    M timer.h

  Log Message:
  -----------
  Added configurable number of timer procs to start with.

Added "timer_workers = N [use_auto_scaling_profile xxxxx]"
Dropped "auto_scaling_timer_profile"
Added dynamic counting for the timer processes


  Commit: c03e798c89c1c1a335d5492efa024e2c4cf5a617
      https://github.com/OpenSIPS/opensips/commit/c03e798c89c1c1a335d5492efa024e2c4cf5a617
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  Fix comment


Compare: https://github.com/OpenSIPS/opensips/compare/848f5ea990f8...c03e798c89c1


From noreply at github.com  Wed Feb 13 02:52:17 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 12 Feb 2019 23:52:17 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7f7b64: Fix outdated comment
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/c03e79-7f7b64@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7f7b64da1c719cb9ee339903f5859c1107efb8c1
      https://github.com/OpenSIPS/opensips/commit/7f7b64da1c719cb9ee339903f5859c1107efb8c1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M net/net_tcp_report.c

  Log Message:
  -----------
  Fix outdated comment




From noreply at github.com  Wed Feb 13 04:11:46 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 13 Feb 2019 01:11:46 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 493c0d: Align the module to
 the new process management
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/7f7b64-493c0d@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 493c0dff8981710af367134b84cccd8f3e96b2a3
      https://github.com/OpenSIPS/opensips/commit/493c0dff8981710af367134b84cccd8f3e96b2a3
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M modules/sngtc/sngtc.c

  Log Message:
  -----------
  Align the module to the new process management




From noreply at github.com  Wed Feb 13 04:28:51 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 13 Feb 2019 01:28:51 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 47a444: Fix dynamic mapping of
 pipes to worker processes
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/493c0d-47a444@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 47a444edcfd406285faee4a5aca0aa83edb500bc
      https://github.com/OpenSIPS/opensips/commit/47a444edcfd406285faee4a5aca0aa83edb500bc
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M modules/sngtc/sngtc.c

  Log Message:
  -----------
  Fix dynamic mapping of pipes to worker processes




From noreply at github.com  Wed Feb 13 06:08:40 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 13 Feb 2019 03:08:40 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e785bb: Added
	E_CORE_PROC_AUTO_SCALE event
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/47a444-e785bb@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e785bb9480423924d2a50d16a6b005d5e775beda
      https://github.com/OpenSIPS/opensips/commit/e785bb9480423924d2a50d16a6b005d5e775beda
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M evi/evi_core.c
    M evi/evi_core.h
    M pt_scaling.c

  Log Message:
  -----------
  Added E_CORE_PROC_AUTO_SCALE event

This is fired upon dynamic adjustments on workers (fork or terminate)




From noreply at github.com  Wed Feb 13 06:50:21 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 13 Feb 2019 03:50:21 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b371f1: Moved
	counted_processes variable into shm
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/6b1632-ebf165@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b371f1aed1aea21a63c1b4b104ff82a137c12ad9
      https://github.com/OpenSIPS/opensips/commit/b371f1aed1aea21a63c1b4b104ff82a137c12ad9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-02 (Sat, 02 Feb 2019)

  Changed paths:
    M pt.c
    M pt.h

  Log Message:
  -----------
  Moved counted_processes variable into shm


  Commit: 3e5eae0fc52601e797ac17a93855ec0b86a6a45e
      https://github.com/OpenSIPS/opensips/commit/3e5eae0fc52601e797ac17a93855ec0b86a6a45e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-02 (Sat, 02 Feb 2019)

  Changed paths:
    M cfg.lex
    M cfg.y
    M ip_addr.h
    M net/trans.c
    M socket_info.c
    M socket_info.h

  Log Message:
  -----------
  Added MIN and MAX number of workers per listener

Grammar allows the definition and push the values all the way to the socket_info structure.
Re-work the handling of listener to make it more friendly to large number of options/parameter per listener


  Commit: 12969e61e0acdc66ea4272102f7f175efefd23d9
      https://github.com/OpenSIPS/opensips/commit/12969e61e0acdc66ea4272102f7f175efefd23d9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-03 (Sun, 03 Feb 2019)

  Changed paths:
    M cfg.y

  Log Message:
  -----------
  removed unused old tokens from cfg grammar


  Commit: 181a274ed908fc3b8442c9cf2abf7d5410ca799d
      https://github.com/OpenSIPS/opensips/commit/181a274ed908fc3b8442c9cf2abf7d5410ca799d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-03 (Sun, 03 Feb 2019)

  Changed paths:
    M cfg.lex
    M cfg.y
    M config.h
    M globals.h
    M ip_addr.h
    M main.c
    M net/net_tcp.c
    M net/net_udp.c
    M socket_info.c
    M socket_info.h

  Log Message:
  -----------
  Replace the concept of 'child' with 'worker'

'children' replaced with 'udp_workers'
'tcp_children' replaced with 'tcp_workers'
'use_childern' replaced with 'use_workers'
Internal structures updated to the new terminology


  Commit: 30a42d7c953f18ee1a455d04b011ab2e84226444
      https://github.com/OpenSIPS/opensips/commit/30a42d7c953f18ee1a455d04b011ab2e84226444
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-03 (Sun, 03 Feb 2019)

  Changed paths:
    M cfg.lex
    M cfg.y
    M globals.h
    M main.c
    M net/net_tcp.c
    M net/net_udp.c
    M pt.c
    M pt.h
    M sr_module.c
    M timer.c

  Log Message:
  -----------
  Added concept of groups for processes

A processes may optionally be part of a group. Different parts of OpenSIPS code may register callbacks to a group of processes, to fork new processes, for example.


  Commit: d13e7a781fc6be5f003511c727c99807a9926815
      https://github.com/OpenSIPS/opensips/commit/d13e7a781fc6be5f003511c727c99807a9926815
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-03 (Sun, 03 Feb 2019)

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

  Log Message:
  -----------
  Small rework of the processes groups

Better use types to tag the processes.
When creating a proc group, push also the min/max for procs auto-scaling


  Commit: 86a6be767e8528d33e80a8fb9eb3de587d33b00e
      https://github.com/OpenSIPS/opensips/commit/86a6be767e8528d33e80a8fb9eb3de587d33b00e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M daemonize.c
    M main.c
    M modules/event_jsonrpc/jsonrpc_send.c
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_xmlrpc/xmlrpc_send.c
    M net/net_tcp.c
    M net/net_tcp.h
    M net/net_udp.c
    M net/net_udp.h
    M pt.c
    M pt.h
    M sr_module.c
    M sr_module.h

  Log Message:
  -----------
  Enhance the counting of processing in OpenSIPS

Count how many processes will be created at startup and also what is the maximum number of processes opensips may create at runtime (to pre-allocate the max size table of processes and inter-proc communication resources)


  Commit: 389606d4774762b03ebcee86a9587ec0f2658b22
      https://github.com/OpenSIPS/opensips/commit/389606d4774762b03ebcee86a9587ec0f2658b22
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M ipc.c
    M net/net_tcp.c
    M net/net_tcp.h
    M pt.c
    M pt.h

  Log Message:
  -----------
  Pre-allocate inter-process fd for all processes

Pre-allocate (and separatelt store in holders) the fds for IPC and TCP inter-proc communication. These fds are copied into the right process's vars only when the process is actually created.


  Commit: ad6ac63e3ae3a13c0618bfa6dd08a19920003896
      https://github.com/OpenSIPS/opensips/commit/ad6ac63e3ae3a13c0618bfa6dd08a19920003896
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M main.c
    M pt.c
    M pt.h

  Log Message:
  -----------
  Added monitor&test&trigger support for proc auto-scaling

The main process is responsible for monitoring the load of the proc groups and to decide when a process has to be forked or ripped.


  Commit: 6eb1ebe89f2723ce600f777443212d761b2d2ceb
      https://github.com/OpenSIPS/opensips/commit/6eb1ebe89f2723ce600f777443212d761b2d2ceb
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M net/net_udp.c

  Log Message:
  -----------
  Added dynamic forking for UDP proc groups.

Still to deal with some fork-failure conditions.
Just scaling up (forking) is supported for now
Testing to follow


  Commit: 51f8725d0972a19552a6382b8c4cff23f2056db2
      https://github.com/OpenSIPS/opensips/commit/51f8725d0972a19552a6382b8c4cff23f2056db2
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M pt.c

  Log Message:
  -----------
  Avoid ripping process if resulting load is too high

Redistribute the load of the existing N processes over N-1 processes and be sure the that the new resulting load is not higher than the HIGH load threshold (to force a scale back up)


  Commit: cfda5985352489743e3f8d52c870cc7410787453
      https://github.com/OpenSIPS/opensips/commit/cfda5985352489743e3f8d52c870cc7410787453
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M daemonize.c
    M daemonize.h
    M main.c
    M net/net_udp.c
    M pt.c
    M pt.h

  Log Message:
  -----------
  Proper handling for dynamic fork failure


  Commit: 2bc25b84d797430d6b78f3d7ce0e3f7193bd5f3d
      https://github.com/OpenSIPS/opensips/commit/2bc25b84d797430d6b78f3d7ce0e3f7193bd5f3d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M main.c
    M pt.c
    M pt.h
    M pt_load.c
    M sr_module.c
    M timer.c

  Log Message:
  -----------
  Rename all flags related to process management


  Commit: 9f7b98762f9e599992f928281a156483cb29fa77
      https://github.com/OpenSIPS/opensips/commit/9f7b98762f9e599992f928281a156483cb29fa77
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M pt.c

  Log Message:
  -----------
  Change the way how a slot is allocated for a new process

Instead of a simple incremental idx, search the table for the first free (proc not running) slot. This will be needed to cope with dynamic process ripping.


  Commit: fb1e8611a6cb804c3b9420a444d21bf2ae8e239e
      https://github.com/OpenSIPS/opensips/commit/fb1e8611a6cb804c3b9420a444d21bf2ae8e239e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

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

  Log Message:
  -----------
  The internal_fork() returns the process internal ID, not the PID.

This is a much simpler way to reference processes.


  Commit: 5a46380f236f637070a117e7915430f4e282cfb8
      https://github.com/OpenSIPS/opensips/commit/5a46380f236f637070a117e7915430f4e282cfb8
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M net/net_udp.c
    M pt.c

  Log Message:
  -----------
  Fix handling of failed dynamic forking.

Reset the process slot if the newly forked process failed -> the slot will be reused for another future fork.


  Commit: bf2e51cfbe16262a29f0f52c83532c55cdb43e67
      https://github.com/OpenSIPS/opensips/commit/bf2e51cfbe16262a29f0f52c83532c55cdb43e67
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M pt_load.c

  Log Message:
  -----------
  Fixed calculating the ovrall load stats

Correlate the summed used processing time with the number of summed processes, not total processes.


  Commit: 7ee40b38b6dc1775b1056ade202f80e263fd6335
      https://github.com/OpenSIPS/opensips/commit/7ee40b38b6dc1775b1056ade202f80e263fd6335
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M db/db_insertq.c
    M dprint.c
    M main.c
    M mi/mi_core.c
    M net/net_tcp.c
    M pt.c
    M pt.h
    M pt_load.c

  Log Message:
  -----------
  Migrate to counted_max_processes

Drop counted_processes and it becamed irrelevant.


  Commit: 8437b3c44a9836035344c4a1c92facac6af56868
      https://github.com/OpenSIPS/opensips/commit/8437b3c44a9836035344c4a1c92facac6af56868
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M pt_load.c

  Log Message:
  -----------
  Fix typing error in prev commit bf2e51c


  Commit: 3524c003d6972411053b5c977a0fea9453f3b37a
      https://github.com/OpenSIPS/opensips/commit/3524c003d6972411053b5c977a0fea9453f3b37a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M statistics.c
    M statistics.h

  Log Message:
  -----------
  Added "hidden" flag to statistics.

Such a hidden statistic will not be foundable (by search) and not printed (via MI commands)


  Commit: ed9843e604d7a09abbfd230561c167c614de9cac
      https://github.com/OpenSIPS/opensips/commit/ed9843e604d7a09abbfd230561c167c614de9cac
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M core_stats.c
    M main.c
    M pt.c
    M pt.h
    M pt_load.c
    M pt_load.h

  Log Message:
  -----------
  Proper handling of per-proc stats during forking/ripping.

Attach all load & pkmem stats to the process slot, so we can hide and unhide them when the process is fork or terminated.


  Commit: b0760eba2040ec5cf0b8b3c311483831d3de9b98
      https://github.com/OpenSIPS/opensips/commit/b0760eba2040ec5cf0b8b3c311483831d3de9b98
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M pt_load.c

  Log Message:
  -----------
  Fixed over/undeflow due signed/unsigned differences


  Commit: 4199925afa8156d61f277ab757adca380e98c402
      https://github.com/OpenSIPS/opensips/commit/4199925afa8156d61f277ab757adca380e98c402
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M cfg.y
    M socket_info.c

  Log Message:
  -----------
  Fixed passing min/max per interface


  Commit: b3c13362eee2ec5f710a7a7c86a3c0b1f2b87d42
      https://github.com/OpenSIPS/opensips/commit/b3c13362eee2ec5f710a7a7c86a3c0b1f2b87d42
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

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

  Log Message:
  -----------
  Extend the status-pipe support.

Expose more functions.
Allow to re-create the status-pipe - we need this for the managing the status of the dynamically forked procs


  Commit: a2ce6159b8d515a4d2cec6137df6923f5cfec53d
      https://github.com/OpenSIPS/opensips/commit/a2ce6159b8d515a4d2cec6137df6923f5cfec53d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M main.c

  Log Message:
  -----------
  Proper env init for the dynamic forking.

As usleep() may be intrerupted by signals, use the time based safe-guard to be sure we have 1 second between the auto-scaling checks

Re-init the status-code pipe to be able to collect the status of the newly forked procs.


  Commit: dd004b2752f69d106521a8fc1ef6cb4579b44b42
      https://github.com/OpenSIPS/opensips/commit/dd004b2752f69d106521a8fc1ef6cb4579b44b42
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M daemonize.c

  Log Message:
  -----------
  Take out the closing of write-end from the wait_status_code()

Allow re-usage of wait_status_code() on the same pipe


  Commit: 49ce02dc5235a143acfa0b7cbc974e80d061e3b3
      https://github.com/OpenSIPS/opensips/commit/49ce02dc5235a143acfa0b7cbc974e80d061e3b3
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M pt.c

  Log Message:
  -----------
  Align to the status-pipe functions


  Commit: 64ec5abf697762f844c20ae070a3230c29bf4236
      https://github.com/OpenSIPS/opensips/commit/64ec5abf697762f844c20ae070a3230c29bf4236
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M net/net_udp.c

  Log Message:
  -----------
  Fix reporting the status via pipes


  Commit: 33ed337757d222afa45b0215054f3827c4f41f82
      https://github.com/OpenSIPS/opensips/commit/33ed337757d222afa45b0215054f3827c4f41f82
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M daemonize.c

  Log Message:
  -----------
  Revert LM_WARN to LM_DBG


  Commit: 7ea8f60f2e2d9f3ba062276c79b22177a0d77d8c
      https://github.com/OpenSIPS/opensips/commit/7ea8f60f2e2d9f3ba062276c79b22177a0d77d8c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

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

  Log Message:
  -----------
  Add new function ql_force_process_disconnect()

This disconnects all the existing DB conns mapped on a given process, from all the queues.
To be used when doing gracefull process termination.


  Commit: b57b0aed5e28e13894e5723bc80ddda6a8261a58
      https://github.com/OpenSIPS/opensips/commit/b57b0aed5e28e13894e5723bc80ddda6a8261a58
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M reactor_defs.h

  Log Message:
  -----------
  Add new macro reactor_is_empty()

Needed for graceful process termination


  Commit: de812572a767f77a7d0fc4ee3d69801c53f322e1
      https://github.com/OpenSIPS/opensips/commit/de812572a767f77a7d0fc4ee3d69801c53f322e1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M ipc.c
    M ipc.h

  Log Message:
  -----------
  Added ipc_handle_all_pending_jobs()

A new function to consume (in a non blocking way) all the pending ipc jobs on the pipe.


  Commit: f583b7ab96e7e203a7137c53d64b9b200dd5424b
      https://github.com/OpenSIPS/opensips/commit/f583b7ab96e7e203a7137c53d64b9b200dd5424b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M db/db_insertq.c

  Log Message:
  -----------
  Fix ql_force_process_disconnect()

Deal with the case when the list is empty (not init)


  Commit: e2032c76ad0a70a1c2c5b437489cd5f61e93949e
      https://github.com/OpenSIPS/opensips/commit/e2032c76ad0a70a1c2c5b437489cd5f61e93949e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

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

  Log Message:
  -----------
  Add down-scaling support for the auto-scaling


  Commit: 5bcb69fac7938593696b2450187c4b77184568c9
      https://github.com/OpenSIPS/opensips/commit/5bcb69fac7938593696b2450187c4b77184568c9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

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

  Log Message:
  -----------
  Added auto-scaling for extra timer processes


  Commit: 946e0b045e795df9eb7e01546db0802a184f0d99
      https://github.com/OpenSIPS/opensips/commit/946e0b045e795df9eb7e01546db0802a184f0d99
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M cfg.lex
    M cfg.y
    M globals.h
    M ip_addr.h
    M main.c
    M net/net_udp.c
    M socket_info.c
    M timer.c

  Log Message:
  -----------
  Added grammar for auto-scaling provisioning via profiles

Still need to "connect" the grammar to the inner guts, work in progress


  Commit: 949a8ed01048141d128f44f8869d4bb8f892a5d9
      https://github.com/OpenSIPS/opensips/commit/949a8ed01048141d128f44f8869d4bb8f892a5d9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M pt.c
    M pt.h
    A pt_scaling.c
    A pt_scaling.h

  Log Message:
  -----------
  Move auto-scaling code into separate files


  Commit: 8e16b5910cbddf3326d21e6eeb35596fd9132791
      https://github.com/OpenSIPS/opensips/commit/8e16b5910cbddf3326d21e6eeb35596fd9132791
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M cfg.y
    M main.c
    M net/net_udp.c
    M pt_scaling.c
    M pt_scaling.h
    M socket_info.c
    M socket_info.h
    M timer.c

  Log Message:
  -----------
  Use the auto-scaling profiles to controll the auto-scaling


  Commit: 6d005dbe3f1c5d198cbe0378b8a4238ab5d5cbbc
      https://github.com/OpenSIPS/opensips/commit/6d005dbe3f1c5d198cbe0378b8a4238ab5d5cbbc
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M main.c

  Log Message:
  -----------
  Use the auto_scaling_cycle for triggering the auto scale


  Commit: 6084544b0e5b90064d40ea9373f14a130a24ecd1
      https://github.com/OpenSIPS/opensips/commit/6084544b0e5b90064d40ea9373f14a130a24ecd1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M pt_scaling.c

  Log Message:
  -----------
  Added validation for the defined auto-scaling profiles


  Commit: b17bbd5b9e1ae88cf6a014dc9a54614f952d99f2
      https://github.com/OpenSIPS/opensips/commit/b17bbd5b9e1ae88cf6a014dc9a54614f952d99f2
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

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

  Log Message:
  -----------
  Added configuration for timers auto scaling

New auto_scaling_timer_profile core param to define the auto-scaling profile to govern the timer processes.


  Commit: bafd8a1594512a0cb7c3ee1d0e57db006f78215d
      https://github.com/OpenSIPS/opensips/commit/bafd8a1594512a0cb7c3ee1d0e57db006f78215d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M pt_scaling.c

  Log Message:
  -----------
  Revert testing LM_WARN to LM_DBG


  Commit: 13e4c0eaf2f13d14fcab11a611ac63c69feae253
      https://github.com/OpenSIPS/opensips/commit/13e4c0eaf2f13d14fcab11a611ac63c69feae253
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M core_stats.c

  Log Message:
  -----------
  Make it more readable


  Commit: ea86e0049e6e1cd28995bbf1966ed41ded1a9f9b
      https://github.com/OpenSIPS/opensips/commit/ea86e0049e6e1cd28995bbf1966ed41ded1a9f9b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M statistics.c

  Log Message:
  -----------
  Fixed comment (c'n'p error??)


  Commit: 37863f33c6fde72bf9487c8f4d13f87aa48feb55
      https://github.com/OpenSIPS/opensips/commit/37863f33c6fde72bf9487c8f4d13f87aa48feb55
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M pt.c

  Log Message:
  -----------
  Added load:processes_number statistics


  Commit: d0d27b8483b8831644aa54b6f5001e976cc415ad
      https://github.com/OpenSIPS/opensips/commit/d0d27b8483b8831644aa54b6f5001e976cc415ad
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  Fix re-usage of UDP<>TCP-Main comm sockets


  Commit: cd9222e48865dfeeb15bb18da386de469c7a6de1
      https://github.com/OpenSIPS/opensips/commit/cd9222e48865dfeeb15bb18da386de469c7a6de1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M cfg.y
    M globals.h
    M net/net_tcp.c

  Log Message:
  -----------
  TCP auto-scaling - support for dynamic tcp_workers table


  Commit: 91aa645a2ad9a5c986a225ac72b3a5bb60c6625f
      https://github.com/OpenSIPS/opensips/commit/91aa645a2ad9a5c986a225ac72b3a5bb60c6625f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  Fixed  bogus log


  Commit: f817725125c42f97ab73b428e17bae9b545088f5
      https://github.com/OpenSIPS/opensips/commit/f817725125c42f97ab73b428e17bae9b545088f5
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  Use multiple states for a TCP process


  Commit: 4ad9bb8cc5fe6d7d276d955df1443fc057c1cc9d
      https://github.com/OpenSIPS/opensips/commit/4ad9bb8cc5fe6d7d276d955df1443fc057c1cc9d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  Added support for forking new TCP workers


  Commit: bd4c57b307a38d2ef71b8266d54ce48061524475
      https://github.com/OpenSIPS/opensips/commit/bd4c57b307a38d2ef71b8266d54ce48061524475
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M socket_info.c

  Log Message:
  -----------
  Fix optional profile setting on interface


  Commit: 7acce9e16d90379df3407b07a669cec323b5ce74
      https://github.com/OpenSIPS/opensips/commit/7acce9e16d90379df3407b07a669cec323b5ce74
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M pt.h
    M pt_scaling.c

  Log Message:
  -----------
  Fixed multiple terminates on the same process.

Mark the process to avoid counting it for other terminations. A process may continue to run after receiving the terminate RPC (due draining procedure), so it will continue to exist as running in the process table.
Use the OSS_PROC_TO_TERMINATE flag to avoid this (note that the flag is set and tested only by the attendent process).


  Commit: d07865e827ef4fe9b01ec347727e65f2475f4dd8
      https://github.com/OpenSIPS/opensips/commit/d07865e827ef4fe9b01ec347727e65f2475f4dd8
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

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

  Log Message:
  -----------
  Removed unused TCP related field in process table


  Commit: 1ad431ef4e5e0f23c190063cfb1fc55e52ca7aaf
      https://github.com/OpenSIPS/opensips/commit/1ad431ef4e5e0f23c190063cfb1fc55e52ca7aaf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M net/net_udp.c

  Log Message:
  -----------
  Fix computing extra procs.

Consider the case when starting with a higher value than the max in the profile


  Commit: 848f5ea990f82fdcb69c0188c448e09d0b85e6d3
      https://github.com/OpenSIPS/opensips/commit/848f5ea990f82fdcb69c0188c448e09d0b85e6d3
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

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

  Log Message:
  -----------
  Added full TCP auto-scaling


  Commit: 299e768f7c5bf6c59d6f31e0b8e19c4ffe127bee
      https://github.com/OpenSIPS/opensips/commit/299e768f7c5bf6c59d6f31e0b8e19c4ffe127bee
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M cfg.lex
    M cfg.y
    M pt.c
    M timer.c
    M timer.h

  Log Message:
  -----------
  Added configurable number of timer procs to start with.

Added "timer_workers = N [use_auto_scaling_profile xxxxx]"
Dropped "auto_scaling_timer_profile"
Added dynamic counting for the timer processes


  Commit: c03e798c89c1c1a335d5492efa024e2c4cf5a617
      https://github.com/OpenSIPS/opensips/commit/c03e798c89c1c1a335d5492efa024e2c4cf5a617
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  Fix comment


  Commit: 7f7b64da1c719cb9ee339903f5859c1107efb8c1
      https://github.com/OpenSIPS/opensips/commit/7f7b64da1c719cb9ee339903f5859c1107efb8c1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M net/net_tcp_report.c

  Log Message:
  -----------
  Fix outdated comment


  Commit: 493c0dff8981710af367134b84cccd8f3e96b2a3
      https://github.com/OpenSIPS/opensips/commit/493c0dff8981710af367134b84cccd8f3e96b2a3
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M modules/sngtc/sngtc.c

  Log Message:
  -----------
  Align the module to the new process management


  Commit: 47a444edcfd406285faee4a5aca0aa83edb500bc
      https://github.com/OpenSIPS/opensips/commit/47a444edcfd406285faee4a5aca0aa83edb500bc
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M modules/sngtc/sngtc.c

  Log Message:
  -----------
  Fix dynamic mapping of pipes to worker processes


  Commit: e785bb9480423924d2a50d16a6b005d5e775beda
      https://github.com/OpenSIPS/opensips/commit/e785bb9480423924d2a50d16a6b005d5e775beda
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M evi/evi_core.c
    M evi/evi_core.h
    M pt_scaling.c

  Log Message:
  -----------
  Added E_CORE_PROC_AUTO_SCALE event

This is fired upon dynamic adjustments on workers (fork or terminate)


  Commit: 1f167bf7393eecb24bd56fe3820f90bb23d774fd
      https://github.com/OpenSIPS/opensips/commit/1f167bf7393eecb24bd56fe3820f90bb23d774fd
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M cfg.lex
    M cfg.y
    M config.h
    M core_stats.c
    M daemonize.c
    M daemonize.h
    M db/db_insertq.c
    M db/db_insertq.h
    M dprint.c
    M evi/evi_core.c
    M evi/evi_core.h
    M globals.h
    M ip_addr.h
    M ipc.c
    M ipc.h
    M main.c
    M mi/mi_core.c
    M modules/event_jsonrpc/jsonrpc_send.c
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_xmlrpc/xmlrpc_send.c
    M modules/sngtc/sngtc.c
    M net/net_tcp.c
    M net/net_tcp.h
    M net/net_tcp_proc.c
    M net/net_tcp_proc.h
    M net/net_tcp_report.c
    M net/net_udp.c
    M net/net_udp.h
    M net/trans.c
    M pt.c
    M pt.h
    M pt_load.c
    M pt_load.h
    A pt_scaling.c
    A pt_scaling.h
    M reactor_defs.h
    M socket_info.c
    M socket_info.h
    M sr_module.c
    M sr_module.h
    M statistics.c
    M statistics.h
    M timer.c
    M timer.h

  Log Message:
  -----------
  Merge branch 'dynamic-fork'


  Commit: ebf165dcac842c23222961371299684072f3bf78
      https://github.com/OpenSIPS/opensips/commit/ebf165dcac842c23222961371299684072f3bf78
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M Makefile.defs
    M modules/mid_registrar/lookup.c

  Log Message:
  -----------
  Merge branch 'master' of github.com:OpenSIPS/opensips


Compare: https://github.com/OpenSIPS/opensips/compare/6b1632f5755e...ebf165dcac84


From noreply at github.com  Wed Feb 13 07:47:52 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 13 Feb 2019 12:47:52 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips]
Message-ID: <OpenSIPS/opensips/push/refs/heads/dynamic-fork/e785bb-000000@github.com>

  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips


From noreply at github.com  Wed Feb 13 13:25:12 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 13 Feb 2019 18:25:12 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1d3dfd: Disable Expect:
 100-continue behavior for large posts
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/ebf165-0578fb@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1d3dfdeb77ea4ff18ec71e89f944a0eaddfe2ae9
      https://github.com/OpenSIPS/opensips/commit/1d3dfdeb77ea4ff18ec71e89f944a0eaddfe2ae9
  Author: Ryan Bullock <rrb3942 at gmail.com>
  Date:   2019-01-28 (Mon, 28 Jan 2019)

  Changed paths:
    M modules/db_http/http_dbase.c

  Log Message:
  -----------
  Disable Expect: 100-continue behavior for large posts


  Commit: 10242c307646038fe3f22028559a91b38454ae06
      https://github.com/OpenSIPS/opensips/commit/10242c307646038fe3f22028559a91b38454ae06
  Author: Ryan Bullock <rrb3942 at gmail.com>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M modules/db_http/db_http.c
    M modules/db_http/db_http.h
    M modules/db_http/http_dbase.c

  Log Message:
  -----------
  Add disable_expect flag to control Expect behvaior. Default is off


  Commit: 8361bd5627d459bc57027d18f081074f75adb270
      https://github.com/OpenSIPS/opensips/commit/8361bd5627d459bc57027d18f081074f75adb270
  Author: Ryan Bullock <rrb3942 at gmail.com>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M modules/db_http/doc/db_http_admin.xml

  Log Message:
  -----------
  Add module documentation for disable_expect parameter


  Commit: 0578fbd3c85e69bdc6d75754f89f1cbfa780badc
      https://github.com/OpenSIPS/opensips/commit/0578fbd3c85e69bdc6d75754f89f1cbfa780badc
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M modules/db_http/db_http.c
    M modules/db_http/db_http.h
    M modules/db_http/doc/db_http_admin.xml
    M modules/db_http/http_dbase.c

  Log Message:
  -----------
  Merge pull request #1600 from rrb3942/http_db_expect

Disable Expect: 100-continue behavior for large posts


Compare: https://github.com/OpenSIPS/opensips/compare/ebf165dcac84...0578fbd3c85e


From noreply at github.com  Wed Feb 13 13:27:24 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 13 Feb 2019 10:27:24 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6a6da3: Fix data type mismatch.
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/0578fb-6a6da3@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6a6da348b76d510d530e075b53ca8ef7edfed37f
      https://github.com/OpenSIPS/opensips/commit/6a6da348b76d510d530e075b53ca8ef7edfed37f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M socket_info.c

  Log Message:
  -----------
  Fix data type mismatch.

Reported by Travis




From noreply at github.com  Fri Feb 15 07:54:01 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Feb 2019 04:54:01 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a7a65d: siprec: fix socket
	enforce
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/6a6da3-a7a65d@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a7a65d39566ba4eec5d639b01909fad97a9c6586
      https://github.com/OpenSIPS/opensips/commit/a7a65d39566ba4eec5d639b01909fad97a9c6586
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-02-15 (Fri, 15 Feb 2019)

  Changed paths:
    M modules/siprec/siprec_logic.c

  Log Message:
  -----------
  siprec: fix socket enforce




From noreply at github.com  Fri Feb 15 07:54:15 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Feb 2019 04:54:15 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5f30be: siprec: fix socket
	enforce
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/71cb2b-5f30be@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5f30be4203eb7a830ddbc8061f962a1497ebe31c
      https://github.com/OpenSIPS/opensips/commit/5f30be4203eb7a830ddbc8061f962a1497ebe31c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-02-15 (Fri, 15 Feb 2019)

  Changed paths:
    M modules/siprec/siprec_logic.c

  Log Message:
  -----------
  siprec: fix socket enforce

(cherry picked from commit a7a65d39566ba4eec5d639b01909fad97a9c6586)




From noreply at github.com  Fri Feb 15 09:20:56 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Feb 2019 06:20:56 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 16ab6a: rtpproxy: allow socket
 to have an advertised address
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/a7a65d-16ab6a@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 16ab6a8de82e26ffb813a376ec486dfcc1d4aa83
      https://github.com/OpenSIPS/opensips/commit/16ab6a8de82e26ffb813a376ec486dfcc1d4aa83
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-02-15 (Fri, 15 Feb 2019)

  Changed paths:
    M modules/rtpproxy/doc/rtpproxy_admin.xml
    M modules/rtpproxy/rtpproxy.c
    M modules/rtpproxy/rtpproxy.h

  Log Message:
  -----------
  rtpproxy: allow socket to have an advertised address




From noreply at github.com  Sun Feb 17 15:10:37 2019
From: noreply at github.com (opensips-github)
Date: Sun, 17 Feb 2019 12:10:37 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4675b9: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.2/1b23a0-4675b9@github.com>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4675b9eb9d48c11812fc018a13c6cd7e2acc863f
      https://github.com/OpenSIPS/opensips/commit/4675b9eb9d48c11812fc018a13c6cd7e2acc863f
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-02-17 (Sun, 17 Feb 2019)

  Changed paths:
    M modules/mi_datagram/README
    M modules/mi_datagram/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Feb 17 15:32:48 2019
From: noreply at github.com (opensips-github)
Date: Sun, 17 Feb 2019 12:32:48 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 498aec: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/5f30be-498aec@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 498aec2a3e7ea7ddeeac95030d7a94b37b2fc47c
      https://github.com/OpenSIPS/opensips/commit/498aec2a3e7ea7ddeeac95030d7a94b37b2fc47c
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-02-17 (Sun, 17 Feb 2019)

  Changed paths:
    M modules/mi_datagram/README
    M modules/mi_datagram/doc/contributors.xml
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Feb 17 15:50:18 2019
From: noreply at github.com (opensips-github)
Date: Sun, 17 Feb 2019 12:50:18 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 907d81: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/16ab6a-907d81@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 907d812706f9152148c387e5183e4601bfcc65ad
      https://github.com/OpenSIPS/opensips/commit/907d812706f9152148c387e5183e4601bfcc65ad
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-02-17 (Sun, 17 Feb 2019)

  Changed paths:
    M modules/db_http/README
    M modules/db_http/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/event_jsonrpc/README
    M modules/event_jsonrpc/doc/contributors.xml
    M modules/event_rabbitmq/README
    M modules/event_rabbitmq/doc/contributors.xml
    M modules/event_xmlrpc/README
    M modules/event_xmlrpc/doc/contributors.xml
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/contributors.xml
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/sngtc/README
    M modules/sngtc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Tue Feb 19 07:02:58 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 19 Feb 2019 04:02:58 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 16ac41: listeners: restore
 listening on any interface
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/907d81-16ac41@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 16ac41b26ae5c3520a6316a3a7b0049dfdd62a6e
      https://github.com/OpenSIPS/opensips/commit/16ac41b26ae5c3520a6316a3a7b0049dfdd62a6e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-02-19 (Tue, 19 Feb 2019)

  Changed paths:
    M socket_info.c

  Log Message:
  -----------
  listeners: restore listening on any interface

if interface's name is missing, it indicates that the listener should
listen on all available interfaces.




From noreply at github.com  Wed Feb 20 09:47:37 2019
From: noreply at github.com (Liviu Chircu)
Date: Wed, 20 Feb 2019 06:47:37 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ec89b7: rr: Fix a buffer mgm
 bug during strict routing cal...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/16ac41-ec89b7@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ec89b78667430da51e4146bc7f2514f68e9d21a9
      https://github.com/OpenSIPS/opensips/commit/ec89b78667430da51e4146bc7f2514f68e9d21a9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-20 (Wed, 20 Feb 2019)

  Changed paths:
    M modules/rr/loose.c

  Log Message:
  -----------
  rr: Fix a buffer mgm bug during strict routing callbacks

While doing strict routing (e.g. the R-URI host is a local domain) and
executing the module callbacks, the rr module would provide some bogus
memory pointer as the result of the rr_api.get_route_param() function.

Although opensips would not crash due to the dangling pointer residing
in pkg memory, some callbacks would misbehave (e.g. uac_auth() would
fail to adjust the outbound ACK CSeq, since it cannot locate the ";aci"
Route header field parameter within the dangling pkg area).

Related to #1613




From Adam.Overbeeke at genesys.com  Wed Feb 20 09:55:44 2019
From: Adam.Overbeeke at genesys.com (Adam Overbeeke)
Date: Wed, 20 Feb 2019 14:55:44 +0000
Subject: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for
	ENDED state.
Message-ID: <4909B6FC-C938-43FF-BA1F-4002081BFEBF@genesys.com>


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20190220/f3249d69/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1242 bytes
Desc: image001.png
URL: <http://lists.opensips.org/pipermail/devel/attachments/20190220/f3249d69/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 7162 bytes
Desc: image002.png
URL: <http://lists.opensips.org/pipermail/devel/attachments/20190220/f3249d69/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 2054 bytes
Desc: image003.png
URL: <http://lists.opensips.org/pipermail/devel/attachments/20190220/f3249d69/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 2041 bytes
Desc: image004.png
URL: <http://lists.opensips.org/pipermail/devel/attachments/20190220/f3249d69/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 2044 bytes
Desc: image005.png
URL: <http://lists.opensips.org/pipermail/devel/attachments/20190220/f3249d69/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 1920 bytes
Desc: image006.png
URL: <http://lists.opensips.org/pipermail/devel/attachments/20190220/f3249d69/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 2057 bytes
Desc: image007.png
URL: <http://lists.opensips.org/pipermail/devel/attachments/20190220/f3249d69/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 2071 bytes
Desc: image008.png
URL: <http://lists.opensips.org/pipermail/devel/attachments/20190220/f3249d69/attachment-0015.png>

From noreply at github.com  Thu Feb 21 12:57:53 2019
From: noreply at github.com (Liviu Chircu)
Date: Thu, 21 Feb 2019 17:57:53 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d6780d: DEV-1 (Pluggable
 Preprocessor): Prepare code layout
Message-ID: <OpenSIPS/opensips/push/refs/heads/feature/pluggable-preprocessor/000000-e83904@github.com>

  Branch: refs/heads/feature/pluggable-preprocessor
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d6780db16e43086cc4f5220f2c2a50f77f16bfbf
      https://github.com/OpenSIPS/opensips/commit/d6780db16e43086cc4f5220f2c2a50f77f16bfbf
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    A cfg.c
    A cfg.h
    M help_msg.h
    M main.c

  Log Message:
  -----------
  DEV-1 (Pluggable Preprocessor): Prepare code layout

    * add/document new "-p" (preprocessor) cmdline option
    * hook the new "-p" option into the parsing code
    * re-organize cfg file managing code into a separate file


  Commit: e83904d75666eca38dbb0f16350e7531d5c76d4e
      https://github.com/OpenSIPS/opensips/commit/e83904d75666eca38dbb0f16350e7531d5c76d4e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    M cfg.c
    M main.c

  Log Message:
  -----------
  DEV-1: Implement config file flattening + adnotations

The main idea is to be able to feed the preprocessor with a contiguous
stream of input.  The consequence of doing this is that we must
pre-resolve all "include_file" statements by creating one large cfg
file, in a process called "flattening".

Example of flattening + adnotation:

------ cfg/opensips-3.0-preproc-1.cfg ------
log_level = 4
log_stderror = yes

include_file "cfg/opensips-3.0-preproc-2.cfg"
loadmodule "tm.so"
include_file "cfg/opensips-3.0-preproc-4.cfg"
loadmodule "dialog.so"

------ cfg/opensips-3.0-preproc-2.cfg ------
listen = udp:*:5060
include_file "cfg/opensips-3.0-preproc-3.cfg"

------ cfg/opensips-3.0-preproc-3.cfg ------
mpath = "modules/"
loadmodule "proto_udp.so"

------ cfg/opensips-3.0-preproc-4.cfg ------
loadmodule "usrloc.so"

These four files with nested includes will be flattened into this beast:
---------------------------------------------------
__OSSPP_FILEBEGIN__ "cfg/opensips-3.0-preproc-1.cfg"
__OSSPP_LINE__ 1
log_level = 4
__OSSPP_LINE__ 2
log_stderror = yes
__OSSPP_LINE__ 3

__OSSPP_LINE__ 4
__OSSPP_FILEBEGIN__ "cfg/opensips-3.0-preproc-2.cfg"
__OSSPP_LINE__ 1
listen = udp:*:5060
__OSSPP_LINE__ 2
__OSSPP_FILEBEGIN__ "cfg/opensips-3.0-preproc-3.cfg"
__OSSPP_LINE__ 1
mpath = "modules/"
__OSSPP_LINE__ 2
loadmodule "proto_udp.so"
__OSSPP_FILEEND__
__OSSPP_FILEEND__
__OSSPP_LINE__ 5
loadmodule "tm.so"
__OSSPP_LINE__ 6
__OSSPP_FILEBEGIN__ "cfg/opensips-3.0-preproc-4.cfg"
__OSSPP_LINE__ 1
loadmodule "usrloc.so"
__OSSPP_FILEEND__
__OSSPP_LINE__ 7
loadmodule "dialog.so"
__OSSPP_FILEEND__
---------------------------------------------------


Compare: https://github.com/OpenSIPS/opensips/compare/d6780db16e43%5E...e83904d75666


From noreply at github.com  Thu Feb 21 16:29:43 2019
From: noreply at github.com (Liviu Chircu)
Date: Thu, 21 Feb 2019 13:29:43 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3050f7: DEV-1: Hook the newly
 added logic into lexer/parser
Message-ID: <OpenSIPS/opensips/push/refs/heads/feature/pluggable-preprocessor/e83904-540551@github.com>

  Branch: refs/heads/feature/pluggable-preprocessor
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3050f7c57f779538980f0e1a4d5e09dac778e3e6
      https://github.com/OpenSIPS/opensips/commit/3050f7c57f779538980f0e1a4d5e09dac778e3e6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    R cfg.c
    R cfg.h
    M cfg.lex
    M cfg.y
    A cfg_pp.c
    A cfg_pp.h
    M main.c

  Log Message:
  -----------
  DEV-1: Hook the newly added logic into lexer/parser


  Commit: 9f251028a8d92076abb8d9929c28f9fa9daa3770
      https://github.com/OpenSIPS/opensips/commit/9f251028a8d92076abb8d9929c28f9fa9daa3770
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    M cfg.lex

  Log Message:
  -----------
  DEV-1: Clear deprecated "stacked Yacc buffers" logic


  Commit: 5405515f1ba3e0e2b283eab912493b653d43dc9d
      https://github.com/OpenSIPS/opensips/commit/5405515f1ba3e0e2b283eab912493b653d43dc9d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    M cfg.y
    M cfg_pp.c
    M cfg_pp.h

  Log Message:
  -----------
  DEV-1: Display a file inclusion backtrace on syntax errors


Compare: https://github.com/OpenSIPS/opensips/compare/e83904d75666...5405515f1ba3


From noreply at github.com  Fri Feb 22 03:34:10 2019
From: noreply at github.com (Liviu Chircu)
Date: Fri, 22 Feb 2019 00:34:10 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 46491c: DEV-1: Various fixes
Message-ID: <OpenSIPS/opensips/push/refs/heads/feature/pluggable-preprocessor/540551-46491c@github.com>

  Branch: refs/heads/feature/pluggable-preprocessor
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 46491c764cdb9b68269ca298d2098c484a07b9fe
      https://github.com/OpenSIPS/opensips/commit/46491c764cdb9b68269ca298d2098c484a07b9fe
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

  Changed paths:
    M cfg.lex
    M cfg_pp.c

  Log Message:
  -----------
  DEV-1: Various fixes

    * avoid unnecessary strdup operation
    * do not close file streams multiple times
    * fix buffer size for final config file
    * remove unused lexer tokens




From noreply at github.com  Fri Feb 22 05:12:47 2019
From: noreply at github.com (Liviu Chircu)
Date: Fri, 22 Feb 2019 02:12:47 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 55e874: DEV-1: Avoid printing
 the include trace multiple t...
Message-ID: <OpenSIPS/opensips/push/refs/heads/feature/pluggable-preprocessor/46491c-134424@github.com>

  Branch: refs/heads/feature/pluggable-preprocessor
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 55e874ff3ddea54b54ecfe8561836f9331871102
      https://github.com/OpenSIPS/opensips/commit/55e874ff3ddea54b54ecfe8561836f9331871102
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

  Changed paths:
    M cfg_pp.c

  Log Message:
  -----------
  DEV-1: Avoid printing the include trace multiple times


  Commit: 134424deabb8fecaa4863a952d8149d8d4db675a
      https://github.com/OpenSIPS/opensips/commit/134424deabb8fecaa4863a952d8149d8d4db675a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

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

  Log Message:
  -----------
  DEV-1: Digest the pp tokens within lexer, not parser!

Using the lexer to consume the preprocessor tokens makes life so much
easier, as otherwise the complexity of the scripting language grammer
would skyrocket.  Example problem which is avoided by this:

if
<pp_token may go here>
(
<pp_token may go here>
condition
<pp_token may go here>
)
<pp_token may go here>
{
<pp_token may go here>
$var(x) = 5;
<pp_token may go here>
}

Although the coding style is horrible, this is still valid script
syntax, but, all of a sudden, the grammar must be extended in order to
support random tokens on any possible line of this "if" statement.
Nope, not going there.  Just use the lexer to eat the tokens and be done
with the problem!


Compare: https://github.com/OpenSIPS/opensips/compare/46491c764cdb...134424deabb8


From noreply at github.com  Fri Feb 22 09:18:52 2019
From: noreply at github.com (Liviu Chircu)
Date: Fri, 22 Feb 2019 14:18:52 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3162d5: DEV-1: Exec the
 preprocessor cmdline; Feed output ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/feature/pluggable-preprocessor/134424-3162d5@github.com>

  Branch: refs/heads/feature/pluggable-preprocessor
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3162d504593ecf7989567d469a582a4e210ec89d
      https://github.com/OpenSIPS/opensips/commit/3162d504593ecf7989567d469a582a4e210ec89d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

  Changed paths:
    M cfg_pp.c

  Log Message:
  -----------
  DEV-1: Exec the preprocessor cmdline; Feed output to Yacc




From noreply at github.com  Fri Feb 22 09:20:35 2019
From: noreply at github.com (Liviu Chircu)
Date: Fri, 22 Feb 2019 06:20:35 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d6780d: DEV-1 (Pluggable
 Preprocessor): Prepare code layout
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/ec89b7-fd9c65@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d6780db16e43086cc4f5220f2c2a50f77f16bfbf
      https://github.com/OpenSIPS/opensips/commit/d6780db16e43086cc4f5220f2c2a50f77f16bfbf
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    A cfg.c
    A cfg.h
    M help_msg.h
    M main.c

  Log Message:
  -----------
  DEV-1 (Pluggable Preprocessor): Prepare code layout

    * add/document new "-p" (preprocessor) cmdline option
    * hook the new "-p" option into the parsing code
    * re-organize cfg file managing code into a separate file


  Commit: e83904d75666eca38dbb0f16350e7531d5c76d4e
      https://github.com/OpenSIPS/opensips/commit/e83904d75666eca38dbb0f16350e7531d5c76d4e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    M cfg.c
    M main.c

  Log Message:
  -----------
  DEV-1: Implement config file flattening + adnotations

The main idea is to be able to feed the preprocessor with a contiguous
stream of input.  The consequence of doing this is that we must
pre-resolve all "include_file" statements by creating one large cfg
file, in a process called "flattening".

Example of flattening + adnotation:

------ cfg/opensips-3.0-preproc-1.cfg ------
log_level = 4
log_stderror = yes

include_file "cfg/opensips-3.0-preproc-2.cfg"
loadmodule "tm.so"
include_file "cfg/opensips-3.0-preproc-4.cfg"
loadmodule "dialog.so"

------ cfg/opensips-3.0-preproc-2.cfg ------
listen = udp:*:5060
include_file "cfg/opensips-3.0-preproc-3.cfg"

------ cfg/opensips-3.0-preproc-3.cfg ------
mpath = "modules/"
loadmodule "proto_udp.so"

------ cfg/opensips-3.0-preproc-4.cfg ------
loadmodule "usrloc.so"

These four files with nested includes will be flattened into this beast:
---------------------------------------------------
__OSSPP_FILEBEGIN__ "cfg/opensips-3.0-preproc-1.cfg"
__OSSPP_LINE__ 1
log_level = 4
__OSSPP_LINE__ 2
log_stderror = yes
__OSSPP_LINE__ 3

__OSSPP_LINE__ 4
__OSSPP_FILEBEGIN__ "cfg/opensips-3.0-preproc-2.cfg"
__OSSPP_LINE__ 1
listen = udp:*:5060
__OSSPP_LINE__ 2
__OSSPP_FILEBEGIN__ "cfg/opensips-3.0-preproc-3.cfg"
__OSSPP_LINE__ 1
mpath = "modules/"
__OSSPP_LINE__ 2
loadmodule "proto_udp.so"
__OSSPP_FILEEND__
__OSSPP_FILEEND__
__OSSPP_LINE__ 5
loadmodule "tm.so"
__OSSPP_LINE__ 6
__OSSPP_FILEBEGIN__ "cfg/opensips-3.0-preproc-4.cfg"
__OSSPP_LINE__ 1
loadmodule "usrloc.so"
__OSSPP_FILEEND__
__OSSPP_LINE__ 7
loadmodule "dialog.so"
__OSSPP_FILEEND__
---------------------------------------------------


  Commit: 3050f7c57f779538980f0e1a4d5e09dac778e3e6
      https://github.com/OpenSIPS/opensips/commit/3050f7c57f779538980f0e1a4d5e09dac778e3e6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    R cfg.c
    R cfg.h
    M cfg.lex
    M cfg.y
    A cfg_pp.c
    A cfg_pp.h
    M main.c

  Log Message:
  -----------
  DEV-1: Hook the newly added logic into lexer/parser


  Commit: 9f251028a8d92076abb8d9929c28f9fa9daa3770
      https://github.com/OpenSIPS/opensips/commit/9f251028a8d92076abb8d9929c28f9fa9daa3770
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    M cfg.lex

  Log Message:
  -----------
  DEV-1: Clear deprecated "stacked Yacc buffers" logic


  Commit: 5405515f1ba3e0e2b283eab912493b653d43dc9d
      https://github.com/OpenSIPS/opensips/commit/5405515f1ba3e0e2b283eab912493b653d43dc9d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    M cfg.y
    M cfg_pp.c
    M cfg_pp.h

  Log Message:
  -----------
  DEV-1: Display a file inclusion backtrace on syntax errors


  Commit: 46491c764cdb9b68269ca298d2098c484a07b9fe
      https://github.com/OpenSIPS/opensips/commit/46491c764cdb9b68269ca298d2098c484a07b9fe
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

  Changed paths:
    M cfg.lex
    M cfg_pp.c

  Log Message:
  -----------
  DEV-1: Various fixes

    * avoid unnecessary strdup operation
    * do not close file streams multiple times
    * fix buffer size for final config file
    * remove unused lexer tokens


  Commit: 55e874ff3ddea54b54ecfe8561836f9331871102
      https://github.com/OpenSIPS/opensips/commit/55e874ff3ddea54b54ecfe8561836f9331871102
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

  Changed paths:
    M cfg_pp.c

  Log Message:
  -----------
  DEV-1: Avoid printing the include trace multiple times


  Commit: 134424deabb8fecaa4863a952d8149d8d4db675a
      https://github.com/OpenSIPS/opensips/commit/134424deabb8fecaa4863a952d8149d8d4db675a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

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

  Log Message:
  -----------
  DEV-1: Digest the pp tokens within lexer, not parser!

Using the lexer to consume the preprocessor tokens makes life so much
easier, as otherwise the complexity of the scripting language grammer
would skyrocket.  Example problem which is avoided by this:

if
<pp_token may go here>
(
<pp_token may go here>
condition
<pp_token may go here>
)
<pp_token may go here>
{
<pp_token may go here>
$var(x) = 5;
<pp_token may go here>
}

Although the coding style is horrible, this is still valid script
syntax, but, all of a sudden, the grammar must be extended in order to
support random tokens on any possible line of this "if" statement.
Nope, not going there.  Just use the lexer to eat the tokens and be done
with the problem!


  Commit: 3162d504593ecf7989567d469a582a4e210ec89d
      https://github.com/OpenSIPS/opensips/commit/3162d504593ecf7989567d469a582a4e210ec89d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

  Changed paths:
    M cfg_pp.c

  Log Message:
  -----------
  DEV-1: Exec the preprocessor cmdline; Feed output to Yacc


  Commit: fd9c65072eec0bef941dbaf123e53a4f6bd0629c
      https://github.com/OpenSIPS/opensips/commit/fd9c65072eec0bef941dbaf123e53a4f6bd0629c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

  Changed paths:
    M cfg.lex
    M cfg.y
    A cfg_pp.c
    A cfg_pp.h
    M help_msg.h
    M main.c

  Log Message:
  -----------
  Merge branch 'feature/pluggable-preprocessor'


Compare: https://github.com/OpenSIPS/opensips/compare/ec89b7866743...fd9c65072eec


From noreply at github.com  Fri Feb 22 09:20:54 2019
From: noreply at github.com (Liviu Chircu)
Date: Fri, 22 Feb 2019 14:20:54 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips]
Message-ID: <OpenSIPS/opensips/push/refs/heads/feature/pluggable-preprocessor/3162d5-000000@github.com>

  Branch: refs/heads/feature/pluggable-preprocessor
  Home:   https://github.com/OpenSIPS/opensips


From noreply at github.com  Fri Feb 22 10:32:45 2019
From: noreply at github.com (Liviu Chircu)
Date: Fri, 22 Feb 2019 07:32:45 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0de94a: rr: Fix a buffer mgm
 bug during strict routing cal...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/498aec-0de94a@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0de94a899d638134e461fe1294a89031b091909e
      https://github.com/OpenSIPS/opensips/commit/0de94a899d638134e461fe1294a89031b091909e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

  Changed paths:
    M modules/rr/loose.c

  Log Message:
  -----------
  rr: Fix a buffer mgm bug during strict routing callbacks

While doing strict routing (e.g. the R-URI host is a local domain) and
executing the module callbacks, the rr module would provide some bogus
memory pointer as the result of the rr_api.get_route_param() function.

Although opensips would not crash due to the dangling pointer residing
in pkg memory, some callbacks would misbehave (e.g. uac_auth() would
fail to adjust the outbound ACK CSeq, since it cannot locate the ";aci"
Route header field parameter within the dangling pkg area).

Related to #1613

(cherry picked from commit ec89b78667430da51e4146bc7f2514f68e9d21a9)




From noreply at github.com  Sun Feb 24 15:32:54 2019
From: noreply at github.com (opensips-github)
Date: Sun, 24 Feb 2019 12:32:54 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e64b11: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/0de94a-e64b11@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e64b11799a160081379e4fa1b46601c58a4d473f
      https://github.com/OpenSIPS/opensips/commit/e64b11799a160081379e4fa1b46601c58a4d473f
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-02-24 (Sun, 24 Feb 2019)

  Changed paths:
    M modules/rr/README
    M modules/rr/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Feb 24 15:50:31 2019
From: noreply at github.com (opensips-github)
Date: Sun, 24 Feb 2019 12:50:31 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9bf229: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/fd9c65-9bf229@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9bf229c37070ef2f59dbdbd811ff693e0fa5c2e6
      https://github.com/OpenSIPS/opensips/commit/9bf229c37070ef2f59dbdbd811ff693e0fa5c2e6
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-02-24 (Sun, 24 Feb 2019)

  Changed paths:
    M modules/rr/README
    M modules/rr/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Mon Feb 25 03:34:57 2019
From: noreply at github.com (Liviu Chircu)
Date: Mon, 25 Feb 2019 08:34:57 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9c2300: Lexer: Properly match
 EOF preprocessor tokens
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/9bf229-9c2300@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9c2300c71bbcfe96d98a2337f8d016a43948a3be
      https://github.com/OpenSIPS/opensips/commit/9c2300c71bbcfe96d98a2337f8d016a43948a3be
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-25 (Mon, 25 Feb 2019)

  Changed paths:
    M cfg.lex

  Log Message:
  -----------
  Lexer: Properly match EOF preprocessor tokens




From bogdan at opensips.org  Mon Feb 25 07:26:03 2019
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 25 Feb 2019 14:26:03 +0200
Subject: [OpenSIPS-Devel] [Blog] Auto process scaling,
	a cure for load and resources concerns
Message-ID: <f1adbdd7-7a5c-c936-53dc-0f51311db6c3@opensips.org>


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/



From Ben.Newlin at genesys.com  Mon Feb 25 17:27:46 2019
From: Ben.Newlin at genesys.com (Ben Newlin)
Date: Mon, 25 Feb 2019 22:27:46 +0000
Subject: [OpenSIPS-Devel] OpenSIPS Crashes
Message-ID: <5F2D0C50-48D1-48B6-AFEE-4FBBB87D0CD3@genesys.com>

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 <devel-bounces at lists.opensips.org> on behalf of Ben Newlin <Ben.Newlin at genesys.com>
Reply-To: OpenSIPS devel mailling list <devel at lists.opensips.org>
Date: Tuesday, February 5, 2019 at 10:58 AM
To: OpenSIPS devel mailling list <devel at lists.opensips.org>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20190225/d285becb/attachment.html>

From noreply at github.com  Tue Feb 26 09:13:52 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 26 Feb 2019 06:13:52 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 738905: dialog: prevent bin
	buffer double release
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/9c2300-738905@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 738905d2fc735e82043335d51ff23f714e2306b8
      https://github.com/OpenSIPS/opensips/commit/738905d2fc735e82043335d51ff23f714e2306b8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-02-26 (Tue, 26 Feb 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: prevent bin buffer double release




From noreply at github.com  Tue Feb 26 09:14:12 2019
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 26 Feb 2019 06:14:12 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 922e18: dialog: prevent bin
	buffer double release
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/e64b11-922e18@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 922e188c1de3338a39942736a89c544e76502877
      https://github.com/OpenSIPS/opensips/commit/922e188c1de3338a39942736a89c544e76502877
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-02-26 (Tue, 26 Feb 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: prevent bin buffer double release

(cherry picked from commit 738905d2fc735e82043335d51ff23f714e2306b8)




From noreply at github.com  Tue Feb 26 12:42:46 2019
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 26 Feb 2019 09:42:46 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d3a0aa: Proper/additional
 check of tcp_no_new_conn_bflag
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/738905-3ed541@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d3a0aaa5ef73f0f2b03c4f6ba32b5484ca0d71f7
      https://github.com/OpenSIPS/opensips/commit/d3a0aaa5ef73f0f2b03c4f6ba32b5484ca0d71f7
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  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 <bogdan at opensips.org>
  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


From noreply at github.com  Wed Feb 27 11:16:46 2019
From: noreply at github.com (Di-Shi Sun)
Date: Wed, 27 Feb 2019 08:16:46 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 010134: Updated OSP Toolkit
	project repository.
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/922e18-010134@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0101343ee55b9349c381ab376324662a15b97956
      https://github.com/OpenSIPS/opensips/commit/0101343ee55b9349c381ab376324662a15b97956
  Author: Di-Shi Sun <di-shi.sun at transnexus.com>
  Date:   2019-02-27 (Wed, 27 Feb 2019)

  Changed paths:
    M modules/osp/doc/osp_admin.xml

  Log Message:
  -----------
  Updated OSP Toolkit project repository.




From noreply at github.com  Wed Feb 27 11:22:41 2019
From: noreply at github.com (Di-Shi Sun)
Date: Wed, 27 Feb 2019 08:22:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dd9a5e: Updated OSP Toolkit
	project repository.
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0-dev/db547d-dd9a5e@github.com>

  Branch: refs/heads/3.0-dev
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dd9a5ee6467c8a14aa63cbb5e4d3e87450312ab8
      https://github.com/OpenSIPS/opensips/commit/dd9a5ee6467c8a14aa63cbb5e4d3e87450312ab8
  Author: Di-Shi Sun <di-shi.sun at transnexus.com>
  Date:   2019-02-27 (Wed, 27 Feb 2019)

  Changed paths:
    M modules/osp/doc/osp_admin.xml

  Log Message:
  -----------
  Updated OSP Toolkit project repository.




From noreply at github.com  Wed Feb 27 11:31:11 2019
From: noreply at github.com (Di-Shi Sun)
Date: Wed, 27 Feb 2019 08:31:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 317597: Updated OSP Toolkit
	project repository.
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/3ed541-317597@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3175977764bf73ba4927635c3943070391ad11ce
      https://github.com/OpenSIPS/opensips/commit/3175977764bf73ba4927635c3943070391ad11ce
  Author: Di-Shi Sun <di-shi.sun at transnexus.com>
  Date:   2019-02-27 (Wed, 27 Feb 2019)

  Changed paths:
    M modules/osp/doc/osp_admin.xml

  Log Message:
  -----------
  Updated OSP Toolkit project repository.




From noreply at github.com  Thu Feb 28 05:14:30 2019
From: noreply at github.com (Liviu Chircu)
Date: Thu, 28 Feb 2019 02:14:30 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d948aa: dialog: Propagate new
 $DLG_timeout values to DB/BIN
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/317597-d948aa@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d948aa037b04bbfa37581876655edd7fcd26570e
      https://github.com/OpenSIPS/opensips/commit/d948aa037b04bbfa37581876655edd7fcd26570e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-28 (Thu, 28 Feb 2019)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  dialog: Propagate new $DLG_timeout values to DB/BIN

Make sure to store/replicate the new value, not the old one!

Credits to Vlad Patrascu for helping track this down




From noreply at github.com  Thu Feb 28 05:17:37 2019
From: noreply at github.com (Liviu Chircu)
Date: Thu, 28 Feb 2019 02:17:37 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6c6c51: dialog: Propagate new
 $DLG_timeout values to DB/BIN
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/010134-6c6c51@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6c6c513f2bd69315a5539a9cc328d9bd9afa3f60
      https://github.com/OpenSIPS/opensips/commit/6c6c513f2bd69315a5539a9cc328d9bd9afa3f60
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-28 (Thu, 28 Feb 2019)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  dialog: Propagate new $DLG_timeout values to DB/BIN

Make sure to store/replicate the new value, not the old one!

Credits to Vlad Patrascu for helping track this down

(cherry picked from commit d948aa037b04bbfa37581876655edd7fcd26570e)




From noreply at github.com  Thu Feb 28 05:24:22 2019
From: noreply at github.com (Liviu Chircu)
Date: Thu, 28 Feb 2019 02:24:22 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 524495: dialog: Propagate new
 $DLG_timeout values to DB/BIN
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.2/4675b9-e1372f@github.com>

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 524495d7051d88820c9605224d6e79e1d0b6121e
      https://github.com/OpenSIPS/opensips/commit/524495d7051d88820c9605224d6e79e1d0b6121e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-28 (Thu, 28 Feb 2019)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  dialog: Propagate new $DLG_timeout values to DB/BIN

Make sure to store/replicate the new value, not the old one!

Credits to Vlad Patrascu for helping track this down

(cherry picked from commit d948aa037b04bbfa37581876655edd7fcd26570e)


  Commit: e1372feb8ac0c17a3e7e8e1174bf3432685450f5
      https://github.com/OpenSIPS/opensips/commit/e1372feb8ac0c17a3e7e8e1174bf3432685450f5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-02-28 (Thu, 28 Feb 2019)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  dialog: Remove unused vars


Compare: https://github.com/OpenSIPS/opensips/compare/4675b9eb9d48...e1372feb8ac0


From noreply at github.com  Thu Feb 28 12:28:28 2019
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 28 Feb 2019 09:28:28 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a8661f: Rework interface for
 script functions parameters
Message-ID: <OpenSIPS/opensips/push/refs/heads/func_params/000000-a8661f@github.com>

  Branch: refs/heads/func_params
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a8661f7507f5a68ef3c971dd75fb13108e812aa1
      https://github.com/OpenSIPS/opensips/commit/a8661f7507f5a68ef3c971dd75fb13108e812aa1
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-02-28 (Thu, 28 Feb 2019)

  Changed paths:
    M aaa/aaa.c
    M action.c
    M async.c
    M async.h
    M cfg.y
    M db/db.c
    M mod_fix.h
    M modules/tm/async.c
    M net/proto_tcp/proto_tcp.c
    M net/proto_udp/proto_udp.c
    M route.c
    M route_struct.c
    M route_struct.h
    M sr_module.c
    M sr_module.h
    M trace_api.c

  Log Message:
  -----------
  Rework interface for script functions parameters

* basic parameter fixup (type validation and variables evaluation) is now
  transparently done by the core for all script functions
* pass variables and integers to functions without quotes




From noreply at github.com  Thu Feb 28 12:36:01 2019
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 28 Feb 2019 17:36:01 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips]
Message-ID: <OpenSIPS/opensips/push/refs/heads/mi_rework/7fe50a-000000@github.com>

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


