[globals]
myno=1 /* here i am setting global value to 1 */
[TEST]
exten=>123,1,Set(GLOBAL(myno)=${CALLERID(num)}) /* storing caller number to myno */
[NEWTEST]
exten => s,1,NoOp(${myno})
I set the value of global variable ‘myno’ to CALLERID(num) in TEST.
Now I want to access this value in NEWTEST but i am getting value 1 in NEWTEST. How to access value of myno in NEWTEST which is set in TEST?