[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] Gosub and Macro
From:       Tilghman Lesher <tilghman () mail ! jeffandtilghman ! com>
Date:       2008-05-30 1:54:11
Message-ID: 200805292054.11611.tilghman () mail ! jeffandtilghman ! com
[Download RAW message or body]

On Thursday 29 May 2008 17:57:44 Tim Ringenbach wrote:
> On Mon, May 26, 2008 at 11:36 PM, Tilghman Lesher wrote:
> > There are several ways in which Gosub and Macro differ in behavior, and
> > these differences are extremely difficult to emulate.
>
> One other difference (and correct me if I'm wrong, I haven't played
> with Gosub all that much), is that if you exec application Macro from
> an AGI, you can run some dialplan code and then return to the AGI.
> Believe with Gosub, nothing happens except changing where execution
> continuing after exiting the AGI.

That is a really good point, and I think you had a good expectation that it
should have worked, and even though you understand why it didn't, I think it
was a bug that it didn't work.

If you have some time to look at this, I have a prospective patch that should
take care of this (implemented as a native command).

http://bugs.digium.com/view.php?id=12760

-- 
Tilghman

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic