[OpenSIPS-Devel] [OpenSIPS/opensips] 83d0e3: dialog: Relax the allowed output variable types

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


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 83d0e35df16f0647138caf1b896cb3cfee53f87b
      https://github.com/OpenSIPS/opensips/commit/83d0e35df16f0647138caf1b896cb3cfee53f87b
  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 :-)

(cherry picked from commit 0395eaf80d0b70dc1b4200beb22e97fb8ab5426e)





More information about the Devel mailing list