[OpenSIPS-Devel] [OpenSIPS/opensips] df362f: Allow writing to AVPs with negative index

Liviu Chircu noreply at github.com
Wed Oct 26 12:56:14 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: df362fb231fc42735f6aedcbdb8f036a72a98f2e
      https://github.com/OpenSIPS/opensips/commit/df362fb231fc42735f6aedcbdb8f036a72a98f2e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-10-26 (Wed, 26 Oct 2022)

  Changed paths:
    M pvar.c
    M usr_avp.c
    M usr_avp.h

  Log Message:
  -----------
  Allow writing to AVPs with negative index

This includes both SET and DELETE operations, for example:
    $(avp(foo)[-1]) = NULL;
    $(avp(foo)[-1]) = "42";





More information about the Devel mailing list