I am trying to figure out how to goto a label, from a catch context, defined within a macro (example):
context mycontext {
s => {
&mymacro(arg);
Hangup();
}
}
macro mymacro(arg) {
loop:
Background(option-message);
WaitExten(10);
catch 1 {
NoOp(do whatever);
goto loop; <---- I cannot make anything work here.
}
}
Any help would be appreciated.