[OpenSIPS-Devel] [OpenSIPS/opensips] 7fb5dd: drouting: Allow 64-bit integers for dr_rules.sort_...

Liviu Chircu noreply at github.com
Tue Nov 23 18:01:35 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7fb5ddf64826bc9d6c1c3d3c0d58cf7275e748dc
      https://github.com/OpenSIPS/opensips/commit/7fb5ddf64826bc9d6c1c3d3c0d58cf7275e748dc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-11-23 (Tue, 23 Nov 2021)

  Changed paths:
    M modules/drouting/dr_load.c

  Log Message:
  -----------
  drouting: Allow 64-bit integers for dr_rules.sort_profile

This allows SQL views to represent the NULL value as a 64-bit integer
without getting rejected by OpenSIPS, which expected a 32-bit integer
for that column.

Admittedly, any 64-bit integer "sort profile" will now be truncated to
32 bits, but OpenSIPS had no full support for 64-bit sort profile values
in the first place, so it's better to just truncate and NOT error.





More information about the Devel mailing list