]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx_variables: Increase parsing capabilities of MSet
authorNaveen Albert <asterisk@phreaknet.org>
Sat, 20 Nov 2021 20:37:16 +0000 (20:37 +0000)
committerGeorge Joseph <gjoseph@digium.com>
Mon, 13 Dec 2021 19:45:59 +0000 (13:45 -0600)
commitc6309af560feedf5ce044e02ccc2aab2f3040dcd
treecdbea4132790a6b77848d8fa5253baf9eefe1bf4
parent3108457d8f96a133fe2ab4212710b03dd2fbd967
pbx_variables: Increase parsing capabilities of MSet

Currently MSet can only parse a maximum of 24 variables.
If more variables are provided to MSet, the 24th variable
will simply contain the remainder of the string and the
remaining variables thereafter will never get set.

This increases the number of variables that can be parsed
in one go from 24 to 99. Additionally, documentation is added
since this limitation is currently undocumented and is
confusing to users who encounter this limitation.

ASTERISK-29766 #close

Change-Id: I3fe35b462dedec0a452fd9ea7f92c920a3939f16
main/pbx_variables.c