[OpenSIPS-Devel] [OpenSIPS/opensips] 8ce238: registrar: Fix ping latency-based contact sorting

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


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8ce2382b4c81de5b783bfdfd3a8e68b9b31c4a27
      https://github.com/OpenSIPS/opensips/commit/8ce2382b4c81de5b783bfdfd3a8e68b9b31c4a27
  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.

(cherry picked from commit 6af768f6891b081104f1c4bc41ce47ba9db8c1b4)




More information about the Devel mailing list