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

Liviu Chircu noreply at github.com
Wed Jan 17 10:24:56 UTC 2024


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2cf7031070aba66a9bb45a47eddc493a583e2db7
      https://github.com/OpenSIPS/opensips/commit/2cf7031070aba66a9bb45a47eddc493a583e2db7
  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");

(cherry picked from commit 1d6d2e4b5b91990199b8351b473b8d159e362fba)





More information about the Devel mailing list