[OpenSIPS-Devel] [OpenSIPS/opensips] 25ca20: usrloc: Refactor modparams to fit upcoming additio...

Liviu Chircu liviu at opensips.org
Wed Mar 21 07:36:11 EDT 2018


  Branch: refs/heads/feature/usrloc-clustering
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 25ca2078bb0b7b775c3d2c47fa08e0b9d3c07ee1
      https://github.com/OpenSIPS/opensips/commit/25ca2078bb0b7b775c3d2c47fa08e0b9d3c07ee1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/usrloc/ul_mod.c
    M modules/usrloc/ul_mod.h
    M modules/usrloc/usrloc.h

  Log Message:
  -----------
  usrloc: Refactor modparams to fit upcoming additions


  Commit: 12daaa21c94743d003fcb792c58b57bee5496081
      https://github.com/OpenSIPS/opensips/commit/12daaa21c94743d003fcb792c58b57bee5496081
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M cachedb/cachedb.h
    M modules/usrloc/udomain.c
    M modules/usrloc/ul_mod.c
    M modules/usrloc/ul_mod.h
    M modules/usrloc/usrloc.h

  Log Message:
  -----------
  usrloc: Add support for "cache DB" URLs


  Commit: a484e134f35229c0b288459d6e4ac2ffa4a870a0
      https://github.com/OpenSIPS/opensips/commit/a484e134f35229c0b288459d6e4ac2ffa4a870a0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/usrloc/udomain.c

  Log Message:
  -----------
  usrloc: Implement the NoSQL version of get_urecord()


  Commit: ff61f55f5047feba4e316dda82bff1e36256c146
      https://github.com/OpenSIPS/opensips/commit/ff61f55f5047feba4e316dda82bff1e36256c146
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M cachedb/cachedb.h
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/usrloc/udomain.c

  Log Message:
  -----------
  usrloc & cachedb: Document and check some return codes


  Commit: f14d18a275276fad29eb0205eeb7949e8d8eff01
      https://github.com/OpenSIPS/opensips/commit/f14d18a275276fad29eb0205eeb7949e8d8eff01
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M cachedb/cachedb.h
    M cachedb/cachedb_dict.c
    M cachedb/cachedb_dict.h
    M cachedb/cachedb_types.h

  Log Message:
  -----------
  cachedb: Add easy-to-use dict append primitives


  Commit: e478366512642ce95dec2f54cfe5224134994f94
      https://github.com/OpenSIPS/opensips/commit/e478366512642ce95dec2f54cfe5224134994f94
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Adapt filters to libmongoc 1.5.0+


  Commit: 4ece3b8aa24c0c49e49a2c0dd446b5f61d8c59b8
      https://github.com/OpenSIPS/opensips/commit/4ece3b8aa24c0c49e49a2c0dd446b5f61d8c59b8
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/usrloc/udomain.c
    M modules/usrloc/urecord.c
    M modules/usrloc/urecord.h

  Log Message:
  -----------
  usrloc: Implement "core cluster" urecord handling


  Commit: f10c56c5243f41f147c7fd3c013475787273e45d
      https://github.com/OpenSIPS/opensips/commit/f10c56c5243f41f147c7fd3c013475787273e45d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/mid_registrar/mid_registrar.c
    M modules/nathelper/nathelper.c
    M modules/usrloc/dlist.c
    M modules/usrloc/ucontact.c
    M modules/usrloc/udomain.c
    M modules/usrloc/ul_mi.c
    M modules/usrloc/ul_mod.c
    M modules/usrloc/ul_mod.h
    M modules/usrloc/urecord.c
    M modules/usrloc/usrloc.c
    M modules/usrloc/usrloc.h

  Log Message:
  -----------
  usrloc: Refactor all code using "db_mode"


  Commit: fe1855174c4f1bab96c5dd4aaf1225366f8e3e3e
      https://github.com/OpenSIPS/opensips/commit/fe1855174c4f1bab96c5dd4aaf1225366f8e3e3e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/usrloc/ul_mod.c
    M sr_module_deps.c
    M sr_module_deps.h

  Log Message:
  -----------
  usrloc: Fix some startup issues

    * proper module deps for the cache URL
    * fix some trivial modparam bugs


  Commit: 9955d3931b28d041038d0f62886c5636178b02c5
      https://github.com/OpenSIPS/opensips/commit/9955d3931b28d041038d0f62886c5636178b02c5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M db/db.h
    M modules/clusterer/clusterer_mod.c

  Log Message:
  -----------
  clusterer: Abort startup when 'db_url' is mandatory


  Commit: 9f34a553b3c239fd5423c582f8da21fa718a223c
      https://github.com/OpenSIPS/opensips/commit/9f34a553b3c239fd5423c582f8da21fa718a223c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M cachedb/cachedb_dict.c
    M cachedb/cachedb_dict.h
    M cachedb/cachedb_types.c
    M cachedb/cachedb_types.h
    M cachedb/test/test_backends.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/usrloc/dlist.c
    M modules/usrloc/udomain.c
    M modules/usrloc/urecord.c
    M modules/usrloc/usrloc.h

  Log Message:
  -----------
  usrloc core cachedb cluster: Fix some left-over issues

    * base64 encode all contact keys (".", for example, breaks MongoDB)
    * do not pkg_free() SHM strings during cleanup
    * add useful dict/BSON debugging lines
    * improve coding style


  Commit: fa37075e9b101421d2cbf4773b81d6e591ce012f
      https://github.com/OpenSIPS/opensips/commit/fa37075e9b101421d2cbf4773b81d6e591ce012f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M cachedb/cachedb.h

  Log Message:
  -----------
  cachedb: Elaborate key naming restrictions


  Commit: 351aa65713c73c9806c984b03cd18e95fc24e38d
      https://github.com/OpenSIPS/opensips/commit/351aa65713c73c9806c984b03cd18e95fc24e38d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/usrloc/ul_mod.h
    M modules/usrloc/usrloc.h

  Log Message:
  -----------
  usrloc: Do not pollute "usrloc.h" with internal vars


  Commit: 5223f03f1e1600e62daeb68a0ef9c50dc3ee95ec
      https://github.com/OpenSIPS/opensips/commit/5223f03f1e1600e62daeb68a0ef9c50dc3ee95ec
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/registrar/lookup.c
    M modules/usrloc/dlist.c
    M modules/usrloc/dlist.h
    M modules/usrloc/ucontact.c
    M modules/usrloc/ucontact.h
    M modules/usrloc/udomain.c
    M modules/usrloc/udomain.h
    A modules/usrloc/ul_dbg.h
    M modules/usrloc/ul_mod.c
    M modules/usrloc/urecord.c
    M modules/usrloc/urecord.h
    M modules/usrloc/usrloc.h

  Log Message:
  -----------
  usrloc: Expose struct debugging functions to upper modules


  Commit: 1f22a6e460e5fcad4c61781e553d6b0a9058cc82
      https://github.com/OpenSIPS/opensips/commit/1f22a6e460e5fcad4c61781e553d6b0a9058cc82
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/registrar/lookup.c
    M modules/usrloc/udomain.c
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  usrloc "core-cachedb-only": Fix remaining lookup issues

    * fix "methods" field
    * avoid "NO-OP" update queries


  Commit: cac7fbb5870702f8b292769d571ec4141f632a59
      https://github.com/OpenSIPS/opensips/commit/cac7fbb5870702f8b292769d571ec4141f632a59
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/registrar/save.c

  Log Message:
  -----------
  registrar: Fix remove() with "*db-only" usrloc modes


  Commit: 0544953f5c3e181fb35fc8deb36a225092ee7cdf
      https://github.com/OpenSIPS/opensips/commit/0544953f5c3e181fb35fc8deb36a225092ee7cdf
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Add bson debugging logs in old API


  Commit: f156335a5c55294866520194b55da1cacdfeb017
      https://github.com/OpenSIPS/opensips/commit/f156335a5c55294866520194b55da1cacdfeb017
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/nathelper/nathelper.c
    M modules/nathelper/nh_table.c
    M modules/nathelper/nh_table.h
    M modules/nathelper/sip_pinger.h
    M modules/usrloc/dlist.c
    M modules/usrloc/dlist.h
    M modules/usrloc/ucontact.c
    M modules/usrloc/ucontact.h
    M modules/usrloc/udomain.c
    M modules/usrloc/ul_mod.c
    M modules/usrloc/usrloc.c
    M modules/usrloc/usrloc.h

  Log Message:
  -----------
  usrloc/nathelper: Refactor code for cachedb-only pinging


  Commit: 0e0af62d03fdeb1c2eb8e97a4f31a053bda420b3
      https://github.com/OpenSIPS/opensips/commit/0e0af62d03fdeb1c2eb8e97a4f31a053bda420b3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Fix memory corruption on api.update()

bson_reinit() must not be called on a bson_destroy()'ed bson.


  Commit: 68260a2a8a79ceb9a65af844f033bfb01c61f4ad
      https://github.com/OpenSIPS/opensips/commit/68260a2a8a79ceb9a65af844f033bfb01c61f4ad
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M cachedb/cachedb_types.h
    M cachedb/test/test_backends.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb: Rename some filter operators


  Commit: da7d7415fe8f949195d98474fdb045e75106c174
      https://github.com/OpenSIPS/opensips/commit/da7d7415fe8f949195d98474fdb045e75106c174
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/clusterer/node_info.c
    M modules/clusterer/sync.c

  Log Message:
  -----------
  clusterer: Minor improvements

    * get_my_index(): return a 1-indexed "nr_nodes" value
    * get_my_index(): release "cl_list_lock" earliest possible
    * add useful startup logging lines


  Commit: 209a7b971bf2b12551ca96b55bd72d7f08803af1
      https://github.com/OpenSIPS/opensips/commit/209a7b971bf2b12551ca96b55bd72d7f08803af1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M str.h

  Log Message:
  -----------
  str.h: Fix doc line wrapping


  Commit: 7796686b81d0979b62d40f0f77ed5f83af76ea40
      https://github.com/OpenSIPS/opensips/commit/7796686b81d0979b62d40f0f77ed5f83af76ea40
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/nathelper/nathelper.c
    M modules/nathelper/nh_table.c
    M modules/usrloc/dlist.c
    M modules/usrloc/dlist.h
    M modules/usrloc/ucontact.c
    M modules/usrloc/ucontact.h
    M modules/usrloc/udomain.c
    M modules/usrloc/urecord.c
    M modules/usrloc/usrloc.c
    M modules/usrloc/usrloc.h

  Log Message:
  -----------
  usrloc/nathelper: Implement pinging/timeouts in cachedb-only mode


  Commit: 484a8a82c51db9fa5ce623acf83cfa6693e769e6
      https://github.com/OpenSIPS/opensips/commit/484a8a82c51db9fa5ce623acf83cfa6693e769e6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/nathelper/nathelper.c
    M modules/nathelper/sip_pinger.h

  Log Message:
  -----------
  nathelper: Add "sipping_ignore_rpl_codes" CSV modparam

This is useful when an OpenSIPS ping originator node is front-ended
by some other SIP entity of the platform. When contacts are unreachable,
the front-end will still respond to the pings (e.g. 408 Request Timeout),
which we would rather ignore and get closer to removing the offline contacts.


  Commit: 97d1c558df4130b569f00273b3e0db41aa13c4da
      https://github.com/OpenSIPS/opensips/commit/97d1c558df4130b569f00273b3e0db41aa13c4da
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/nathelper/sip_pinger.h

  Log Message:
  -----------
  nathelper/usrloc: Fix shm memleak


  Commit: 89fda46774c856d066483f572a0e6c346d39a00c
      https://github.com/OpenSIPS/opensips/commit/89fda46774c856d066483f572a0e6c346d39a00c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M lib/reg/ci.c

  Log Message:
  -----------
  registrar lib: Fix confusing variable name


  Commit: 5290fcf9eee7907cc8fcdbfc21bab59923e6d347
      https://github.com/OpenSIPS/opensips/commit/5290fcf9eee7907cc8fcdbfc21bab59923e6d347
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/nathelper/nathelper.c

  Log Message:
  -----------
  nathelper: Complete commit 4957cc3eff0

Properly null-terminate the array...


  Commit: a5da072f252685135beb0a374df666f13f99740e
      https://github.com/OpenSIPS/opensips/commit/a5da072f252685135beb0a374df666f13f99740e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  usrloc, core-cachedb-only: Fix "sip_instance" updates


  Commit: 08aff24c93b72b3679252f1ab81f838f8a58b4e5
      https://github.com/OpenSIPS/opensips/commit/08aff24c93b72b3679252f1ab81f838f8a58b4e5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  usrloc, core-cluster: Fix timer-based contact cleanups


  Commit: 10d6c2edbd48738446bdc9d6c4c4c60114c87998
      https://github.com/OpenSIPS/opensips/commit/10d6c2edbd48738446bdc9d6c4c4c60114c87998
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/usrloc/dlist.c

  Log Message:
  -----------
  usrloc: Improve some log messages


  Commit: 8ca2e0cf4417fa0daee88809ae3c57850f0e01a6
      https://github.com/OpenSIPS/opensips/commit/8ca2e0cf4417fa0daee88809ae3c57850f0e01a6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  dialog/usrloc: Refactor clusterer deps

Reuse definition from commit 9a6eba7e18cb9f


Compare: https://github.com/OpenSIPS/opensips/compare/aa9d08b0c5d1...8ca2e0cf4417


More information about the Devel mailing list