Hello,
I have an Asterisk16.x. I can’t set global variables anymore:
same => n,Set(GLOBAL(TOGGLEVAR225)=0)
Always get an error at cli:
ERROR[3035][C-00000001]: pbx_functions.c:699 ast_func_write: Function GLOBAL not registered
It depends on how exactly things are configured. If autoload is on then it should load automatically, you’d need to consult the Asterisk startup log messages to see if it was attempted and failed for some reason. If autoload is off then you have to explicitly configure it in modules.conf to load.