[OpenSIPS-Devel] [OpenSIPS/opensips] 0395ea: dialog: Relax the allowed output variable types

Liviu Chircu noreply at github.com
Tue Mar 16 17:27:28 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0395eaf80d0b70dc1b4200beb22e97fb8ab5426e
      https://github.com/OpenSIPS/opensips/commit/0395eaf80d0b70dc1b4200beb22e97fb8ab5426e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  dialog: Relax the allowed output variable types

This patch also allows module variables to be passed as output variables
to various dialog functions, e.g.:

  get_profile_size("tot-calls/b", $avp(dst), $acc_leg(ongoing_channels))

Fun fact: commit 4ba14e51cbb did exactly the same thing ~2 years ago,
but the logic was lost during the function interface migration :-)





More information about the Devel mailing list