[OpenSIPS-Devel] [OpenSIPS/opensips] bb6a88: structures and basic functions for qrouting
Liviu Chircu
noreply at github.com
Mon Feb 10 08:20:41 EST 2020
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: bb6a888f2df52564c1863d7cca716f80b117f179
https://github.com/OpenSIPS/opensips/commit/bb6a888f2df52564c1863d7cca716f80b117f179
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
A modules/qrouting/Makefile
A modules/qrouting/qr_stats.c
A modules/qrouting/qr_stats.h
A modules/qrouting/qrouting.c
Log Message:
-----------
structures and basic functions for qrouting
Commit: a199bc6d775a9261d0b997ee493e9fc3f0a9e292
https://github.com/OpenSIPS/opensips/commit/a199bc6d775a9261d0b997ee493e9fc3f0a9e292
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
A modules/qrouting/qr_acc.c
A modules/qrouting/qr_acc.h
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
Log Message:
-----------
ASR, CCR, PDD computed
Commit: 68af1f9acb2ad9dc99152362a3a127031f8555a8
https://github.com/OpenSIPS/opensips/commit/68af1f9acb2ad9dc99152362a3a127031f8555a8
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M modules/qrouting/qr_acc.c
M modules/qrouting/qr_acc.h
M modules/qrouting/qrouting.c
Log Message:
-----------
[qrouting]invite time stored in tmcb_params; call duration using dialog
Commit: ae553b75287bfbbff1fc46e582022c10c827c72f
https://github.com/OpenSIPS/opensips/commit/ae553b75287bfbbff1fc46e582022c10c827c72f
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M modules/qrouting/qr_acc.c
M modules/qrouting/qr_acc.h
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
Log Message:
-----------
added error labels, and free memory in case of error; protect the current interval w locking; complete acc
Commit: e3c9a389082d66ec5c46548608ce23b52e324824
https://github.com/OpenSIPS/opensips/commit/e3c9a389082d66ec5c46548608ce23b52e324824
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M modules/qrouting/qr_acc.c
M modules/qrouting/qr_acc.h
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
Log Message:
-----------
qr_status and score for destinations
Commit: ef05c100c97d155dab28987069099a21f22e65f5
https://github.com/OpenSIPS/opensips/commit/ef05c100c97d155dab28987069099a21f22e65f5
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M modules/drouting/dr_api.h
M modules/drouting/dr_api_internal.c
M modules/drouting/routing.c
M modules/qrouting/qr_acc.c
M modules/qrouting/qr_acc.h
A modules/qrouting/qr_sort.c
A modules/qrouting/qr_sort.h
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
A modules/qrouting/qrouting.h
Log Message:
-----------
[qrouting] dr callbacks for creating rules, and registering gw to dr and qr_status mi cmd
Commit: f225676cfe5d71aee465be938ec06486b32417c6
https://github.com/OpenSIPS/opensips/commit/f225676cfe5d71aee465be938ec06486b32417c6
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M modules/drouting/dr_api.h
M modules/drouting/dr_api_internal.c
M modules/drouting/dr_cb.h
M modules/drouting/routing.c
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
Log Message:
-----------
[qrouting] registering carriers, debug info and qr_create_gw
Commit: 5a244256fafc062e0c564ffc281d3aba20469853
https://github.com/OpenSIPS/opensips/commit/5a244256fafc062e0c564ffc281d3aba20469853
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M modules/drouting/dr_cb.h
M modules/drouting/drouting.c
M modules/drouting/prefix_tree.h
M modules/drouting/routing.c
M modules/qrouting/qr_acc.c
M modules/qrouting/qr_acc.h
M modules/qrouting/qr_sort.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
Log Message:
-----------
[qrouting] call acc done only on invites
Commit: 1d122c2a919c635de3bdb51a72c61a6be4275903
https://github.com/OpenSIPS/opensips/commit/1d122c2a919c635de3bdb51a72c61a6be4275903
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M modules/drouting/dr_cb.c
M modules/drouting/dr_cb.h
M modules/drouting/drouting.c
M modules/drouting/prefix_tree.h
M modules/qrouting/qr_acc.c
M modules/qrouting/qr_sort.c
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
Log Message:
-----------
[qrouting] added grp score, drouting sorting callback based, free shm memory for dialog_prop and trans_prop
Commit: 04edbcee9c3f4c76fe881d630626138aa67a1e3a
https://github.com/OpenSIPS/opensips/commit/04edbcee9c3f4c76fe881d630626138aa67a1e3a
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M db/schema/dr_carriers.xml
M db/schema/dr_rules.xml
M modules/drouting/dr_api.h
M modules/drouting/dr_api_internal.c
M modules/drouting/dr_cb.c
M modules/drouting/dr_cb.h
M modules/drouting/dr_db_def.c
M modules/drouting/dr_db_def.h
M modules/drouting/dr_load.c
A modules/drouting/dr_sorting_cbs.h
M modules/drouting/drouting.c
M modules/drouting/prefix_tree.h
M modules/drouting/routing.c
M modules/drouting/routing.h
M modules/qrouting/qr_acc.c
M modules/qrouting/qr_sort.c
M modules/qrouting/qr_sort.h
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
M scripts/db_berkeley/opensips/dr_carriers
M scripts/db_berkeley/opensips/dr_rules
M scripts/dbtext/opensips/dr_carriers
M scripts/dbtext/opensips/dr_rules
M scripts/mysql/drouting-create.sql
M scripts/oracle/drouting-create.sql
M scripts/pi_http/drouting-mod
M scripts/pi_http/drouting-table
M scripts/pi_http/pi_framework.xml
M scripts/postgres/drouting-create.sql
Log Message:
-----------
[qrouting]sort_alg field added to dr_carriers table and sort_alg, sort_profile fileds added to dr_rules table, sorting related cbs moved to dr_sorting_cbs.h
Commit: b249576c6f1930db00990150b43aa76bf0f20e23
https://github.com/OpenSIPS/opensips/commit/b249576c6f1930db00990150b43aa76bf0f20e23
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
A db/schema/opensips-qrouting.xml
A db/schema/qr_profiles.xml
M modules/drouting/dr_load.c
M modules/drouting/drouting.c
A modules/qrouting/qr_load.c
A modules/qrouting/qr_load.h
M modules/qrouting/qrouting.c
A scripts/db_berkeley/opensips/qr_profiles
M scripts/db_berkeley/opensips/version
A scripts/dbtext/opensips/qr_profiles
M scripts/dbtext/opensips/version
M scripts/mysql/drouting-create.sql
A scripts/mysql/qrouting-create.sql
M scripts/oracle/drouting-create.sql
A scripts/oracle/qrouting-create.sql
M scripts/pi_http/pi_framework.xml
A scripts/pi_http/qrouting-mod
A scripts/pi_http/qrouting-table
M scripts/postgres/drouting-create.sql
A scripts/postgres/qrouting-create.sql
Log Message:
-----------
[qrouting] qr_profiles table added
Commit: b3e1963155766f5dc263e3eee1cf6bfab1f0574a
https://github.com/OpenSIPS/opensips/commit/b3e1963155766f5dc263e3eee1cf6bfab1f0574a
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M db/schema/dr_rules.xml
M modules/drouting/dr_cb.c
M modules/drouting/dr_sorting_cbs.h
M modules/drouting/drouting.c
M modules/drouting/routing.c
M modules/qrouting/qr_load.c
M modules/qrouting/qr_sort.c
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
M obsolete_modules/pdt/scripts/dbtext/pdt
M scripts/db_berkeley/opensips/dr_rules
M scripts/dbtext/opensips/address
M scripts/dbtext/opensips/b2b_entities
M scripts/dbtext/opensips/b2b_sca
M scripts/dbtext/opensips/cachedb
M scripts/dbtext/opensips/carrierfailureroute
M scripts/dbtext/opensips/carrierroute
M scripts/dbtext/opensips/cc_agents
M scripts/dbtext/opensips/cc_cdrs
M scripts/dbtext/opensips/cc_flows
M scripts/dbtext/opensips/closeddial
M scripts/dbtext/opensips/cpl
M scripts/dbtext/opensips/dbaliases
M scripts/dbtext/opensips/domain
M scripts/dbtext/opensips/domainpolicy
M scripts/dbtext/opensips/dr_carriers
M scripts/dbtext/opensips/dr_partitions
M scripts/dbtext/opensips/dr_rules
M scripts/dbtext/opensips/globalblacklist
M scripts/dbtext/opensips/grp
M scripts/dbtext/opensips/imc_members
M scripts/dbtext/opensips/imc_rooms
M scripts/dbtext/opensips/pua
M scripts/dbtext/opensips/qr_profiles
M scripts/dbtext/opensips/re_grp
M scripts/dbtext/opensips/rls_presentity
M scripts/dbtext/opensips/rls_watchers
M scripts/dbtext/opensips/route_tree
M scripts/dbtext/opensips/rtpproxy_sockets
M scripts/dbtext/opensips/speed_dial
M scripts/dbtext/opensips/subscriber
M scripts/dbtext/opensips/uri
M scripts/dbtext/opensips/userblacklist
M scripts/dbtext/opensips/usr_preferences
M scripts/dbtext/opensips/watchers
M scripts/dbtext/opensips/xcap
M scripts/mysql/drouting-create.sql
M scripts/oracle/drouting-create.sql
M scripts/pi_http/drouting-table
M scripts/pi_http/pi_framework.xml
M scripts/postgres/drouting-create.sql
Log Message:
-----------
[qrouting]callback for adding profile to rule
Commit: 8e318838f3523683d902cda44fdd2c15547f1467
https://github.com/OpenSIPS/opensips/commit/8e318838f3523683d902cda44fdd2c15547f1467
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M db/schema/dr_carriers.xml
M modules/drouting/dr_partitions.h
M modules/drouting/dr_sorting_cbs.h
M modules/drouting/drouting.c
M modules/qrouting/qr_sort.c
M modules/qrouting/qr_sort.h
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
M obsolete_modules/pdt/scripts/dbtext/pdt
M scripts/db_berkeley/opensips/dr_carriers
M scripts/dbtext/opensips/address
M scripts/dbtext/opensips/b2b_entities
M scripts/dbtext/opensips/b2b_sca
M scripts/dbtext/opensips/cachedb
M scripts/dbtext/opensips/carrierfailureroute
M scripts/dbtext/opensips/carrierroute
M scripts/dbtext/opensips/cc_agents
M scripts/dbtext/opensips/cc_cdrs
M scripts/dbtext/opensips/cc_flows
M scripts/dbtext/opensips/closeddial
M scripts/dbtext/opensips/cpl
M scripts/dbtext/opensips/dbaliases
M scripts/dbtext/opensips/domain
M scripts/dbtext/opensips/domainpolicy
M scripts/dbtext/opensips/dr_carriers
M scripts/dbtext/opensips/dr_partitions
M scripts/dbtext/opensips/dr_rules
M scripts/dbtext/opensips/globalblacklist
M scripts/dbtext/opensips/grp
M scripts/dbtext/opensips/imc_members
M scripts/dbtext/opensips/imc_rooms
M scripts/dbtext/opensips/pua
M scripts/dbtext/opensips/qr_profiles
M scripts/dbtext/opensips/re_grp
M scripts/dbtext/opensips/rls_presentity
M scripts/dbtext/opensips/rls_watchers
M scripts/dbtext/opensips/route_tree
M scripts/dbtext/opensips/rtpproxy_sockets
M scripts/dbtext/opensips/speed_dial
M scripts/dbtext/opensips/subscriber
M scripts/dbtext/opensips/uri
M scripts/dbtext/opensips/userblacklist
M scripts/dbtext/opensips/usr_preferences
M scripts/dbtext/opensips/watchers
M scripts/dbtext/opensips/xcap
M scripts/mysql/drouting-create.sql
M scripts/oracle/drouting-create.sql
M scripts/pi_http/drouting-table
M scripts/pi_http/pi_framework.xml
M scripts/postgres/drouting-create.sql
Log Message:
-----------
[qrouting] changed sorting algorithm
Commit: 2af111b6622c349d12bf3b7b3e0946fdfe23b9b3
https://github.com/OpenSIPS/opensips/commit/2af111b6622c349d12bf3b7b3e0946fdfe23b9b3
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M modules/drouting/dr_cb.c
M modules/drouting/dr_load.c
M modules/drouting/dr_load.h
M modules/drouting/dr_partitions.h
M modules/drouting/dr_sorting_cbs.h
M modules/drouting/drouting.c
M modules/drouting/routing.c
M modules/drouting/routing.h
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
Log Message:
-----------
[qrouting] qr destinations register for multiple partitions; qr unaware of partitions
Commit: b2a3cdd4a5c4e56e94aa412ce2805ddeffd11f30
https://github.com/OpenSIPS/opensips/commit/b2a3cdd4a5c4e56e94aa412ce2805ddeffd11f30
Author: tallicamike <mtiganus at gmail.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M modules/drouting/dr_cb.c
M modules/drouting/dr_load.c
M modules/drouting/dr_load.h
M modules/drouting/dr_sorting_cbs.h
M modules/drouting/drouting.c
M modules/drouting/routing.c
M modules/drouting/routing.h
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
Log Message:
-----------
[qrouting] QR aware of DR partitions; qr_status modified to recognize partitions
Commit: 89ad979a4aa14990faacb8037cb0191f6cda6a14
https://github.com/OpenSIPS/opensips/commit/89ad979a4aa14990faacb8037cb0191f6cda6a14
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-01-29 (Wed, 29 Jan 2020)
Changed paths:
M modules/drouting/dr_api.h
M modules/drouting/dr_api_internal.c
M modules/drouting/dr_cb.c
M modules/drouting/dr_cb.h
M modules/drouting/dr_db_def.c
M modules/drouting/dr_db_def.h
M modules/drouting/dr_load.c
M modules/drouting/dr_load.h
M modules/drouting/dr_partitions.h
M modules/drouting/drouting.c
M modules/drouting/prefix_tree.h
M modules/drouting/routing.c
M modules/drouting/routing.h
Log Message:
-----------
drouting: Integrate qr callbacks with 3.1 codebase [part 1]
Commit: e5b1358259e1691a9c0e79fd4910e91745e65f46
https://github.com/OpenSIPS/opensips/commit/e5b1358259e1691a9c0e79fd4910e91745e65f46
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-01-29 (Wed, 29 Jan 2020)
Changed paths:
M modules/drouting/dr_api.h
M modules/drouting/dr_api_internal.c
M modules/drouting/dr_cb.c
M modules/drouting/dr_cb.h
M modules/drouting/dr_cb_sorting.h
M modules/drouting/dr_db_def.c
M modules/drouting/dr_db_def.h
M modules/drouting/dr_load.c
M modules/drouting/dr_load.h
M modules/drouting/dr_partitions.h
R modules/drouting/dr_sorting_cbs.h
M modules/drouting/drouting.c
M modules/drouting/prefix_tree.h
M modules/drouting/routing.c
M modules/drouting/routing.h
M scripts/db_berkeley/opensips/dr_rules
M scripts/dbtext/opensips/dr_carriers
M scripts/dbtext/opensips/dr_rules
M scripts/mysql/qrouting-create.sql
M scripts/sqlite/drouting-create.sql
A scripts/sqlite/qrouting-create.sql
Log Message:
-----------
drouting: Integrate qr callbacks with 3.1 codebase [part 2]
Commit: 1a09d4cfb25709d683c991a1057191a1503cb02b
https://github.com/OpenSIPS/opensips/commit/1a09d4cfb25709d683c991a1057191a1503cb02b
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-01-29 (Wed, 29 Jan 2020)
Changed paths:
M modules/drouting/dr_api.h
M modules/drouting/dr_api_internal.c
M modules/drouting/dr_api_internal.h
M modules/drouting/dr_bl.c
M modules/drouting/dr_bl.h
M modules/drouting/dr_cb.c
M modules/drouting/dr_cb.h
M modules/drouting/dr_cb_sorting.h
M modules/drouting/dr_clustering.c
M modules/drouting/dr_clustering.h
M modules/drouting/dr_db_def.c
M modules/drouting/dr_db_def.h
M modules/drouting/dr_load.c
M modules/drouting/dr_load.h
M modules/drouting/dr_partitions.h
M modules/drouting/parse.h
M modules/drouting/prefix_tree.c
M modules/drouting/prefix_tree.h
M modules/drouting/routing.c
M modules/drouting/routing.h
Log Message:
-----------
drouting: Normalize license headers; Update copyrights
Commit: 562a2c7005cac0df9875b506a6599e377c9b246f
https://github.com/OpenSIPS/opensips/commit/562a2c7005cac0df9875b506a6599e377c9b246f
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M modules/drouting/prefix_tree.h
M modules/qrouting/qr_acc.c
M modules/qrouting/qr_acc.h
M modules/qrouting/qr_sort.c
M modules/qrouting/qr_sort.h
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
R modules/qrouting/qrouting.h
Log Message:
-----------
qrouting: Integrate with 3.1 codebase
* adapt to new MI API
* adapt to new module interface
* adapt to new timer interface
* simplify dr callbacks and param passing
Commit: d054ffa86e1f88ecad15b4ecd5b9682497ad619f
https://github.com/OpenSIPS/opensips/commit/d054ffa86e1f88ecad15b4ecd5b9682497ad619f
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M modules/qrouting/qr_acc.c
M modules/qrouting/qr_acc.h
Log Message:
-----------
qrouting: Fix gcc warnings
Commit: a6d2b5a259e91972cd0484a766558e9accabfc39
https://github.com/OpenSIPS/opensips/commit/a6d2b5a259e91972cd0484a766558e9accabfc39
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M modules/qrouting/qr_acc.c
M modules/qrouting/qr_acc.h
M modules/qrouting/qr_load.c
M modules/qrouting/qr_load.h
A modules/qrouting/qr_mi.c
A modules/qrouting/qr_mi.h
M modules/qrouting/qr_sort.c
M modules/qrouting/qr_sort.h
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
Log Message:
-----------
qrouting: Re-organize MI code; Update copyrights
Commit: a00b2efbc3abe554cc062c6f39da383bafa40a12
https://github.com/OpenSIPS/opensips/commit/a00b2efbc3abe554cc062c6f39da383bafa40a12
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M modules/qrouting/qr_sort.c
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
Log Message:
-----------
qrouting: Clean up mod_init code
Commit: 81c9f5eb419bcd35f4407422a90bf46455362576
https://github.com/OpenSIPS/opensips/commit/81c9f5eb419bcd35f4407422a90bf46455362576
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M modules/qrouting/qr_stats.c
M modules/qrouting/qrouting.c
Log Message:
-----------
qrouting: Code refactoring
* name the timer function
* simplify code
* normalize coding style
Commit: 4de3e3c487b5e6e64fc832b81487f4542de8886a
https://github.com/OpenSIPS/opensips/commit/4de3e3c487b5e6e64fc832b81487f4542de8886a
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M modules/qrouting/qr_stats.c
M modules/qrouting/qrouting.c
Log Message:
-----------
qrouting: Improve code quality [part 1]
* fix some SHM leaks
* avoid redundant zero initializations (either globally or on stack)
* avoid redundant pointer resets to NULL after a shm_free(). If
there's a double free, all modern OpenSIPS debugging allocators
will detect it anyway
* eliminate free_history(), just use shm_free_all()
* normalize coding style
Commit: c29be86381f90dc7e0f30496c6d84effb10d3e2b
https://github.com/OpenSIPS/opensips/commit/c29be86381f90dc7e0f30496c6d84effb10d3e2b
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M modules/drouting/dr_cb.h
M modules/drouting/dr_cb_sorting.h
M modules/drouting/dr_load.c
M modules/drouting/routing.c
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
Log Message:
-----------
qrouting/drouting: Simplify callbacks code [part 1]
* merge unnecessary DRCB_SET_PROFILE callback
* avoid unnecessary pkg_malloc() bloat, just use stack structures
* fix a ton of pkg memory leaks
Commit: 007218a739737f6d2ef7ecb7a4e7784bed75bf42
https://github.com/OpenSIPS/opensips/commit/007218a739737f6d2ef7ecb7a4e7784bed75bf42
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M modules/drouting/dr_cb.h
M modules/drouting/drouting.c
M modules/drouting/routing.c
M modules/qrouting/qr_acc.c
M modules/qrouting/qr_sort.c
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
Log Message:
-----------
qrouting/drouting: Simplify callbacks code [part 2]
* avoid unnecessary, extra referencing level?!
* avoid unnecessary pkg_malloc() bloat
* fix several pkg memory leaks
Commit: 1239cb49a50562510160a8eb0b44597f09504649
https://github.com/OpenSIPS/opensips/commit/1239cb49a50562510160a8eb0b44597f09504649
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M modules/drouting/dr_cb.h
M modules/qrouting/qr_stats.c
M modules/qrouting/qrouting.c
Log Message:
-----------
qrouting/drouting: Remove unused (deprecated?) callback
Commit: 8142b352b31ab395c5fc34d85ea949ba64bc2e9c
https://github.com/OpenSIPS/opensips/commit/8142b352b31ab395c5fc34d85ea949ba64bc2e9c
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M modules/drouting/drouting.c
M modules/qrouting/qr_acc.c
M modules/qrouting/qrouting.c
Log Message:
-----------
qrouting/drouting: Improve code quality [part 2]
* fix "n_partitions" logic
* add more OOM checks
* simplify if conditions and redundant code (e.g. "return;")
* improve callback ordering at registration (in execution order)
* normalize coding style
Commit: 9cf7fadc5b6b083bdb66de4848a083627fe1eacb
https://github.com/OpenSIPS/opensips/commit/9cf7fadc5b6b083bdb66de4848a083627fe1eacb
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M modules/drouting/drouting.c
M modules/qrouting/qrouting.c
Log Message:
-----------
qrouting/drouting: Update module dependencies
Commit: 7211e7828bd838c9202bac28ee876c29e583da9d
https://github.com/OpenSIPS/opensips/commit/7211e7828bd838c9202bac28ee876c29e583da9d
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M modules/qrouting/qr_acc.c
M modules/qrouting/qr_acc.h
M modules/qrouting/qr_stats.c
M modules/qrouting/qrouting.c
Log Message:
-----------
qrouting: Fix undefined vars; Startup works now
Commit: f12e8d527d7a4e9f492d64735fdbed0e11f3a967
https://github.com/OpenSIPS/opensips/commit/f12e8d527d7a4e9f492d64735fdbed0e11f3a967
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M modules/drouting/dr_cb.c
Log Message:
-----------
drouting: Store callbacks in pkg, not shm
Commit: fdf93032b318531f40b5747bad3409c30580c84b
https://github.com/OpenSIPS/opensips/commit/fdf93032b318531f40b5747bad3409c30580c84b
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-06 (Thu, 06 Feb 2020)
Changed paths:
M modules/qrouting/qr_stats.c
M ut.h
Log Message:
-----------
qrouting: Improve GW stats list management
* fix double free crash due to list being circular
* avoid shm leak on OOM condition
Commit: 46a8e50c894c62b8ab93910f29feaf13194a01cb
https://github.com/OpenSIPS/opensips/commit/46a8e50c894c62b8ab93910f29feaf13194a01cb
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-06 (Thu, 06 Feb 2020)
Changed paths:
M modules/qrouting/qr_acc.c
M modules/qrouting/qr_sort.h
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
Log Message:
-----------
qrouting: Code refactoring
* add helpful comments
* improve field naming
* fix misplaced LM_DBG, could segfault
Commit: abede7d29d1c7332e74c0f86e4bf0b3d4b1e3334
https://github.com/OpenSIPS/opensips/commit/abede7d29d1c7332e74c0f86e4bf0b3d4b1e3334
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-06 (Thu, 06 Feb 2020)
Changed paths:
M modules/drouting/drouting.c
M modules/qrouting/qr_stats.c
M ut.h
Log Message:
-----------
qrouting/drouting: Fix shm/pkg memory leak
Commit: ebe9ad8d754d60d1e1ff05943717e71b2966e98a
https://github.com/OpenSIPS/opensips/commit/ebe9ad8d754d60d1e1ff05943717e71b2966e98a
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-06 (Thu, 06 Feb 2020)
Changed paths:
M modules/drouting/dr_cb.h
M modules/drouting/dr_cb_sorting.h
M modules/drouting/dr_load.c
M modules/drouting/dr_load.h
M modules/drouting/drouting.c
M modules/drouting/routing.c
M modules/drouting/routing.h
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
Log Message:
-----------
qrouting/drouting: Allow reloading just 1 partition
The callback logic had to be changed in order to support this feature,
which would otherwise crash the server (e.g. "dr_reload my_part").
The good news is that the resulting callback API is cleaner now!
Commit: 2e9c22feca49217af8a76cecf8867aeded8b1586
https://github.com/OpenSIPS/opensips/commit/2e9c22feca49217af8a76cecf8867aeded8b1586
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-06 (Thu, 06 Feb 2020)
Changed paths:
M db/schema/qr_profiles.xml
M modules/qrouting/qr_load.c
M modules/qrouting/qr_load.h
M modules/qrouting/qr_sort.c
M modules/qrouting/qr_stats.h
M scripts/db_berkeley/opensips/qr_profiles
M scripts/dbtext/opensips/qr_profiles
M scripts/mysql/qrouting-create.sql
M scripts/oracle/qrouting-create.sql
M scripts/pi_http/pi_framework.xml
M scripts/pi_http/qrouting-mod
M scripts/pi_http/qrouting-table
M scripts/postgres/qrouting-create.sql
M scripts/sqlite/qrouting-create.sql
Log Message:
-----------
qrouting: Drop the gateway disabling concept
A gateway should _only_ be discounted from routing if it is dead (no
ping replies!), and not because it received a poor rating from qrouting.
On such a worst case, it is better to simply demote the gateway to the
last position in the sorted list. This way, we don't risk breaking
connectivity.
Commit: 359a20fecb48c139d2cca68724da2603b13266c0
https://github.com/OpenSIPS/opensips/commit/359a20fecb48c139d2cca68724da2603b13266c0
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-07 (Fri, 07 Feb 2020)
Changed paths:
M modules/drouting/drouting.c
M modules/qrouting/qr_acc.c
M modules/qrouting/qr_load.c
M modules/qrouting/qr_load.h
M modules/qrouting/qr_mi.c
M modules/qrouting/qr_mi.h
M modules/qrouting/qr_sort.c
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
Log Message:
-----------
qrouting: Add MI qr_reload command
Refactor the "qr_profiles" code so it can be reloadable. Also, after
reloading a new set of qr_profiles, make sure to refresh the cloned dr
rule structures so they point to the newly reloaded data instead.
Commit: 6c85d3a926d9482f2738781eaf73e91eaf5fefdc
https://github.com/OpenSIPS/opensips/commit/6c85d3a926d9482f2738781eaf73e91eaf5fefdc
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-07 (Fri, 07 Feb 2020)
Changed paths:
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
Log Message:
-----------
qrouting: Remove dead code
Commit: ab683aa5c12fced619c0667f97cb304ca6c18907
https://github.com/OpenSIPS/opensips/commit/ab683aa5c12fced619c0667f97cb304ca6c18907
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-07 (Fri, 07 Feb 2020)
Changed paths:
M modules/qrouting/qr_load.c
M modules/qrouting/qr_stats.c
M modules/qrouting/qr_stats.h
M modules/qrouting/qrouting.c
Log Message:
-----------
qrouting: Refactor the "rw_lock_qr" lock
* avoid unnecessary extra referencing level
* improve naming
Commit: 79e338102398e55cf21a28f77d0dfa04b83d0f5f
https://github.com/OpenSIPS/opensips/commit/79e338102398e55cf21a28f77d0dfa04b83d0f5f
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-07 (Fri, 07 Feb 2020)
Changed paths:
M modules/qrouting/qr_stats.c
Log Message:
-----------
qrouting: Fix some buggy corner-cases
* fix un-initialized stat history intervals
* improve handling for OOM during a dr_reload
Commit: c5b34a8529c3e21c38df241ce512758b88ae2233
https://github.com/OpenSIPS/opensips/commit/c5b34a8529c3e21c38df241ce512758b88ae2233
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-07 (Fri, 07 Feb 2020)
Changed paths:
M modules/qrouting/qr_load.h
Log Message:
-----------
qrouting: Add missing include guards
Commit: 08b1f4233625d55a2fdbd31868e286419b9e1cb0
https://github.com/OpenSIPS/opensips/commit/08b1f4233625d55a2fdbd31868e286419b9e1cb0
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-10 (Mon, 10 Feb 2020)
Changed paths:
A modules/qrouting/doc/qrouting.xml
A modules/qrouting/doc/qrouting_admin.xml
M modules/qrouting/qrouting.c
Log Message:
-----------
qrouting: Add documentation
Commit: 52f3fe21801d8ff092ee554844f439c1a3981f2b
https://github.com/OpenSIPS/opensips/commit/52f3fe21801d8ff092ee554844f439c1a3981f2b
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-02-10 (Mon, 10 Feb 2020)
Changed paths:
M db/schema/dr_carriers.xml
M db/schema/dr_rules.xml
A db/schema/opensips-qrouting.xml
A db/schema/qr_profiles.xml
M modules/drouting/dr_api.h
M modules/drouting/dr_api_internal.c
M modules/drouting/dr_api_internal.h
M modules/drouting/dr_bl.c
M modules/drouting/dr_bl.h
M modules/drouting/dr_cb.c
M modules/drouting/dr_cb.h
M modules/drouting/dr_cb_sorting.h
M modules/drouting/dr_clustering.c
M modules/drouting/dr_clustering.h
M modules/drouting/dr_db_def.c
M modules/drouting/dr_db_def.h
M modules/drouting/dr_load.c
M modules/drouting/dr_load.h
M modules/drouting/dr_partitions.h
M modules/drouting/drouting.c
M modules/drouting/parse.h
M modules/drouting/prefix_tree.c
M modules/drouting/prefix_tree.h
M modules/drouting/routing.c
M modules/drouting/routing.h
A modules/qrouting/Makefile
A modules/qrouting/doc/contributors.xml
A modules/qrouting/doc/qrouting.xml
A modules/qrouting/doc/qrouting_admin.xml
A modules/qrouting/qr_acc.c
A modules/qrouting/qr_acc.h
A modules/qrouting/qr_load.c
A modules/qrouting/qr_load.h
A modules/qrouting/qr_mi.c
A modules/qrouting/qr_mi.h
A modules/qrouting/qr_sort.c
A modules/qrouting/qr_sort.h
A modules/qrouting/qr_stats.c
A modules/qrouting/qr_stats.h
A modules/qrouting/qrouting.c
M scripts/db_berkeley/opensips/dr_carriers
M scripts/db_berkeley/opensips/dr_rules
A scripts/db_berkeley/opensips/qr_profiles
M scripts/db_berkeley/opensips/version
M scripts/dbtext/opensips/dr_carriers
M scripts/dbtext/opensips/dr_rules
A scripts/dbtext/opensips/qr_profiles
M scripts/dbtext/opensips/version
M scripts/mysql/drouting-create.sql
A scripts/mysql/qrouting-create.sql
M scripts/oracle/drouting-create.sql
A scripts/oracle/qrouting-create.sql
M scripts/pi_http/drouting-mod
M scripts/pi_http/drouting-table
M scripts/pi_http/pi_framework.xml
A scripts/pi_http/qrouting-mod
A scripts/pi_http/qrouting-table
M scripts/postgres/drouting-create.sql
A scripts/postgres/qrouting-create.sql
M scripts/sqlite/drouting-create.sql
A scripts/sqlite/qrouting-create.sql
M ut.h
Log Message:
-----------
Merge branch 'feature/qrouting'
Compare: https://github.com/OpenSIPS/opensips/compare/1d238b899a4f...52f3fe21801d
More information about the Devel
mailing list