On Thu, Jul 10, 2008 at 9:07 PM, Tilghman Lesher < [EMAIL PROTECTED]> wrote:
> On Thursday 10 July 2008 19:13:50 Douglas Garstang wrote: > > It's a known problem. > > > > If you call Background() in a macro, then Asterisk will look for the > > extensions to jump to in the CALLING Macro/context and NOT the Macro that > > the Background() app was called in. > > I wouldn't call it a known problem. It works precisely as it was designed > to > work. It may not work the way that you want it to, but it works like a > Macro: > an independent set of instructions, with substitution, that acts as if it > were > invoked inline with the calling location. That is why Background will > match > in the context of the calling location: it acts like it never left that > original context (and, in a way, it really didn't). > > Subroutines are a different beast, and they are available with the Gosub/ > Return set of routines in app_stack.so. > > -- > Tilghman See this thread for info on who paid for ExternalIVR, who uses(used?) it and some history. http://www.asteriskguru.com/archives/image-vp255203.html Thanks, Steve Totaro
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
