[OpenSIPS-Devel] [OpenSIPS/opensips] bb6a88: structures and basic functions for qrouting

Liviu Chircu noreply at github.com
Wed Feb 5 05:04:35 EST 2020


  Branch: refs/heads/feature/qrouting
  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


Compare: https://github.com/OpenSIPS/opensips/compare/bb6a888f2df5%5E...562a2c7005ca



More information about the Devel mailing list