[OpenSIPS-Devel] [OpenSIPS/opensips] 6f14ba: Allow writing to AVPs with negative index
Liviu Chircu
noreply at github.com
Wed Oct 26 13:40:32 UTC 2022
Branch: refs/heads/3.2
Home: https://github.com/OpenSIPS/opensips
Commit: 6f14bae9c5d822db4091236860163fcef0c0a779
https://github.com/OpenSIPS/opensips/commit/6f14bae9c5d822db4091236860163fcef0c0a779
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";
(cherry picked from commit df362fb231fc42735f6aedcbdb8f036a72a98f2e)
More information about the Devel
mailing list