[OpenSIPS-Devel] [OpenSIPS/opensips] c30a88: json: Retain backwards-compatibility on bool values

Liviu Chircu noreply at github.com
Mon Oct 5 14:39:52 UTC 2026


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c30a883ca43daf45494c5dcf5bdb2c7aa138f3d2
      https://github.com/OpenSIPS/opensips/commit/c30a883ca43daf45494c5dcf5bdb2c7aa138f3d2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-10-05 (Mon, 05 Oct 2026)

  Changed paths:
    M modules/json/json.c
    M modules/json/test/opensips.cfg

  Log Message:
  -----------
  json: Retain backwards-compatibility on bool values

Follow-up of f892a0a7d, which exposes string variants of the bool values
as "1" and "0", respectively.  This commit fixes these back to the
previous "true" and "false" values, thus retaining full
backwards-compatibility.

Also fix the unit tests opensips.cfg, where if you don't specify a
socket, the startup_route is not run at all.  Add new tests.



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list