[OpenSIPS-Devel] [OpenSIPS/opensips] 31d3cd: Add code to troubleshoot some BUG report on weight...

Bogdan Andrei IANCU noreply at github.com
Mon Aug 16 11:43:14 EST 2021


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 31d3cd382ca3d9a61090f040246d5b0ad41ce901
      https://github.com/OpenSIPS/opensips/commit/31d3cd382ca3d9a61090f040246d5b0ad41ce901
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-08-16 (Mon, 16 Aug 2021)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Add code to troubleshoot some BUG report on weight sorting alg.

Dump all the gws, their weights and the running sums, so we can undestand why the alg fails here - this dump will happen only when the bug is detected.
Also, in case of this BUG, avoid dropping the call (by return -1), but rather return something usefull, so the call can be routed further.

(cherry picked from commit 35cf96e2cc3d9a0f1e280d47a5ff1ee526940bef)





More information about the Devel mailing list