[OpenSIPS-Devel] [OpenSIPS/opensips] a6f4e3: cfgutils: fix async sleep()/usleep() doc examples

Bogdan Andrei IANCU noreply at github.com
Thu Jul 16 07:54:13 UTC 2026


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a6f4e3852bfe61403b119b69df142266c9205e06
      https://github.com/OpenSIPS/opensips/commit/a6f4e3852bfe61403b119b69df142266c9205e06
  Author: Norm Brandinger <n.brandinger at gmail.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M modules/cfgutils/README
    M modules/cfgutils/README.md
    M modules/cfgutils/doc/cfgutils_admin.xml

  Log Message:
  -----------
  cfgutils: fix async sleep()/usleep() doc examples

The async sleep/usleep examples still used the pre-3.0 string-style
parameters (sleep("5"), usleep("1000")). Since the typed module
interface, both functions declare CMD_PARAM_INT, so the quoted form
fails at startup with:

  ERROR:core:fix_cmd: Param [1] expected to be an integer or variable
  ERROR:core:fix_actions: Failed to fix command <sleep>

Use integer parameters, matching the synchronous examples.


  Commit: 2c8760d59202bcfa0e7b6d2c273bc70f3a811929
      https://github.com/OpenSIPS/opensips/commit/2c8760d59202bcfa0e7b6d2c273bc70f3a811929
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2026-07-16 (Thu, 16 Jul 2026)

  Changed paths:
    M modules/cfgutils/README
    M modules/cfgutils/README.md
    M modules/cfgutils/doc/cfgutils_admin.xml

  Log Message:
  -----------
  Merge pull request #4110 from NormB/fix/cfgutils-async-sleep-docs

cfgutils: fix async sleep()/usleep() doc examples


Compare: https://github.com/OpenSIPS/opensips/compare/9828be82bbdf...2c8760d59202

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



More information about the Devel mailing list