SetGlobalVar( ) Sets a global variable to the specified value
SetGlobalVar(n=value)
Sets a global variable called n to the specified value. Global variables are available across channels.
; set the NUMRINGS global variable to 3
exten => 123,1,SetGlobalVar(NUMRINGS=3)