You can set the value from bash as shown here: Asterisk running, freePBX running, freePBX not able to connect to Asterisk - #3 by lgaetz