Asterisk Dialplan string variable length limit?

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