[OpenSIPS-Devel] [OpenSIPS/opensips] c0bf5a: acc: Eat leading whitespace in "extra_fields"

Liviu Chircu liviu at opensips.org
Wed May 16 09:52:13 EDT 2018


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c0bf5a05923c65fa53f5d5cc1eb3fef24474980d
      https://github.com/OpenSIPS/opensips/commit/c0bf5a05923c65fa53f5d5cc1eb3fef24474980d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-05-16 (Wed, 16 May 2018)

  Changed paths:
    M modules/acc/acc_extra.c

  Log Message:
  -----------
  acc: Eat leading whitespace in "extra_fields"

This allows readable formatting such as:

modparam("acc", "extra_fields", "
    db:
  account_id;
  provider_id;
  account_card_id;
")

(cherry picked from commit f757ce4143cc7943adc872e6a7fc0bd3b3cc2a38)


  Commit: a8ee28c466350fa79836f870361a7c8ee444babe
      https://github.com/OpenSIPS/opensips/commit/a8ee28c466350fa79836f870361a7c8ee444babe
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-05-16 (Wed, 16 May 2018)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  transformations: Fix parsing of nested transformations

We once again allow multiple levels of nested transformations, e.g.:

$(var(tu){s.substr,$(var(tu){s.substr,$(var(idx){s.int}),1}{s.int}),0})
    (example of three-level nesting of tranformations)

(cherry picked from commit 61dec8937bd65f0848413e988b0f77cd924b362f)


Compare: https://github.com/OpenSIPS/opensips/compare/467df134fd37...a8ee28c46635
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list