Asterisk Dialplan string variable length limit?

I have a rather large string from an agi script that I need to store in asterisk to be used when launching other AGI scripts. When I set the variable in the first script, it only stores the first 2024 characters of the string and ignores the rest. Any ideas on how to get around this?

hi,are you got any idea about the variable length limit ?
i have the same problem .

Maybe the OP’s 3 year old question is a limitation of his AGI library.