[OpenSIPS-Devel] [OpenSIPS/opensips] bea910: qrouting: Add generic support for custom stats

Liviu Chircu noreply at github.com
Tue Feb 25 20:16:50 EST 2020


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

  Changed paths:
    M modules/qrouting/doc/qrouting_admin.xml
    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_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 modules/qrouting/qrouting.h

  Log Message:
  -----------
  qrouting: Add generic support for custom stats

Using the "extra_stats" modparam to define these custom statistics and
the "qr_set_xstat()" script function to populate them, script writers
may now add new dimensions to their quality-based routing logic.

For example, some possibly useful custom stats for a gateway which may
be worthwhile to factor into the routing logic could be its MoS
(mean opinion score) or its R-Factor (rating factor).  Both of these
metrics indicate the quality of the media passing through the gateway.





More information about the Devel mailing list