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

Bogdan Andrei IANCU noreply at github.com
Mon Aug 16 11:42:20 EST 2021


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 35cf96e2cc3d9a0f1e280d47a5ff1ee526940bef
      https://github.com/OpenSIPS/opensips/commit/35cf96e2cc3d9a0f1e280d47a5ff1ee526940bef
  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.





More information about the Devel mailing list