script text max characters?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

script text max characters?

Postby bronson » Sat Oct 30, 2021 4:17 am

Is there a max character count for the script text?

I tried posting my script text but it got chopped in half after pressing enter.
bronson
 
Posts: 96
Joined: Thu Oct 14, 2021 10:34 am

Re: script text max characters?

Postby mflorell » Sat Oct 30, 2021 6:51 am

For VICIdial Scripts in the admin screen, the maximum length is 65,535 characters because it is a "TEXT" field type in MySQL.

If you need to raise that, you can try altering the database table, although I've never tried that before, but it should work:

ALTER TABLE vicidial_scripts MODIFY script_text MEDIUMTEXT;


The above mysql command should change it to a maximum of 16,777,215 characters.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 124 guests