[OpenSIPS-Devel] [OpenSIPS/opensips] 8761ce: route: pass parameters as values

Răzvan Crainea noreply at github.com
Tue Dec 20 11:51:49 UTC 2022

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8761ce6d2089915f18db6ae21677a690a6958bac
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2022-12-20 (Tue, 20 Dec 2022)

  Changed paths:
    M action.c

  Log Message:
  route: pass parameters as values

When calling route(NAME, $pv, ...), expand the `$pv` before running the
route - this way the parameter is passed as value, rather than
reference, which could lead to some unexpected behavior.

More information about the Devel mailing list