Displaying 1 result from an estimated 1 matches for "mymeetme".
Did you mean:
meetme
2007 Jul 28
3
global variables and updates
...se a global variable ${NEXTMEETME}, and add one every
time I redirect.
Is the changing of a global variable atomic ? That is, if I have two or
more channels being redirected at the same time, and they all execute
exten => _X.,n,Set(NEXTMEETME=${MATH(${NEXTMEETME}+1,i)})
exten => _X.,n,Set(MYMEETME=${NEXTMEETME})
if NEXTMEETME is initially 0, would channel A get MYMEETME as 1, channel
B get 2 and channel C get 3, even if they execute the dialplan at the
same time ?
Julian.