[OpenSIPS-Devel] [OpenSIPS/opensips] 2e9c22: qrouting: Drop the gateway disabling concept

Liviu Chircu noreply at github.com
Thu Feb 6 12:26:27 EST 2020


  Branch: refs/heads/feature/qrouting
  Home:   https://github.com/OpenSIPS/opensips
  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.





More information about the Devel mailing list