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?