azhar117: ${EXTEN} is not a global variable. Internally it is not even really a variable. The fact that it works is irrelevant here.
constantinp: the GLOBAL function isn’t needed in 1.6.1.0. It might be needed for very old versions, and it may allow the value to be accessed when there is a conflicting local variable. It is needed when setting.
cometogether: There is nothing obviously wrong. The version of Asterisk may be relevant. My best guess is that you have two globals sections. If you want to continue a section, you must use this syntax:
[quote=“david55”]
cometogether: There is nothing obviously wrong. The version of Asterisk may be relevant. My best guess is that you have two globals sections. If you want to continue a section, you must use this syntax: