[OpenSIPS-Devel] [OpenSIPS/opensips] c48e3d: qrouting: Add a weight-based selection algorithm

Liviu Chircu noreply at github.com
Tue Feb 25 08:51:58 EST 2020


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

  Changed paths:
    M db/schema/qr_profiles.xml
    M modules/qrouting/doc/qrouting_admin.xml
    M modules/qrouting/qr_load.c
    M modules/qrouting/qr_load.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
    A modules/qrouting/qrouting.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: Add a weight-based selection algorithm

qrouting now supports two destination selection algorithms, via a new
"algorithm" modparam:

    * "dynamic-weights" (default)
    * "best-dest-first"

New "penalty" columns have been added to the qr_profiles table, to act
as a way of penalizing underperforming gateways, which will receive less
traffic.

Documentation updated accordingly.





More information about the Devel mailing list