Newbe dialplan question

hi,

(probably a stupid question)

I define a global context variable my extensions.conf:

[globals] MON-GENERIC=mon-generic,1234,1

Then I cant ‘jump’ with a Goto(${VARIABLE}) from one context to another:

[code][context-in]

exten => s,n,Set(CTEST=${MON-GENERIC})

several tests

exten => s,n,NoOp(final destination is ${CTEST})
exten => s,n,Goto(${CTEST})

[mon-generic]
exten => 1234,1,NoOp(incoming call ${CALLERID(num)} )
exten => 1234,n,Answer()

[/code]
My dialplan stops on the Goto(${CTEST}) saying ‘mon-generic,1234,1’ no such label in the ‘s’ context…must be an existing label or a number>0.

Can you explain/help me?

Argument delimiters parsed before variables substituted?

what happens if you replace 1234 with s?

putting ‘s’ in place of ‘1234’ doesn’t resolve the situation…

my question is: how can I jump outside a context with a goto(${VARIABLE}) command? If I try to do so, the command search the ${VARIABLE} label inside the current context and doesn’t jump to the outside ${VARIABLE} context.
Maybe is it variable inheritance related (single/double underscore variable)? Or is a EVAL() function needed? Or both?

Can somebody help me?