[OpenSIPS-Devel] [OpenSIPS/opensips] 1d6d2e: for-each statement: Fix iteration when <reply> con...

Liviu Chircu noreply at github.com
Wed Jan 17 10:23:55 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1d6d2e4b5b91990199b8351b473b8d159e362fba
      https://github.com/OpenSIPS/opensips/commit/1d6d2e4b5b91990199b8351b473b8d159e362fba
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-01-17 (Wed, 17 Jan 2024)

  Changed paths:
    M action.c

  Log Message:
  -----------
  for-each statement: Fix iteration when <reply> context is used

Make sure to interpret the variable's context, if any, e.g.:

    for ($var(ct) in $(<reply>ct[*]))
        xlog("300 Redirect Contact: $var(ct)\n");





More information about the Devel mailing list