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?