[OpenSIPS-Devel] [OpenSIPS/opensips] 6af768: registrar: Fix ping latency-based contact sorting

Liviu Chircu liviu at opensips.org
Thu Mar 29 12:40:07 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6af768f6891b081104f1c4bc41ce47ba9db8c1b4
      https://github.com/OpenSIPS/opensips/commit/6af768f6891b081104f1c4bc41ce47ba9db8c1b4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-29 (Thu, 29 Mar 2018)

  Changed paths:
    M action.c
    M cfg.y
    M modules/registrar/lookup.c
    M serialize.c
    M serialize.h

  Log Message:
  -----------
  registrar: Fix ping latency-based contact sorting

serialize_branches() was designed to always sort branches in descending
"q" value order. This patch adds an optional serialize_branches() parameter
which disables this behavior.




More information about the Devel mailing list