John Brown [mailto:[EMAIL PROTECTED] writes:

> It would be nice to have a Gosub type command.  That
> way you could pop off to a standard strain of code, even
> nest a bit and then by the magic of a stack pop back to
> previous parts......

That's exactly what macros do.

Just set up a context called something like "[macro-foo]",
and you can "gosub" to it like:

exten => _1800NXXXXXX,1,Macro(foo)

/a
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to