It seems the maximum length for variables (at least those in extensions.conf) in Asterisk 1.2 is 255 characters. Running into this problem has to be uncommon, but it can really bite you if aren't aware.
Although I am only aware of this limitation in Asterisk 1.2, it might exist in other version as well.