[asterisk-dev] AGI Gosub warnings

Matthew Jordan mjordan at digium.com
Wed Sep 11 08:47:03 CDT 2013


On Wed, Sep 11, 2013 at 1:57 AM, Jeremy Kister <
asterisk-dev-02 at jeremykister.com> wrote:

>
> I just found that the Asterisk::AGI Perl module does not handle GoSub, so
> i'm sending in a patch.
>
> my patch seems to work correctly, but the console always prints:
>
> NOTICE[4856][C-00000010]: app_stack.c:1182 handle_gosub: SIP/143-0000000f
> Abnormal AGI Gosub(SaferSIPDial,s,1(**2158552423)) exit.  Popping routine
> return locations.
>
> What's this trying to tell me?
>
> app_stack.c:1182 is talking about current vs former values of
> context/priority/extension.
>
> my patch is at: http://pastebin.com/EvvSudNK
>
>
Asterisk is letting you know that the GoSub routine that was executed
didn't Return. Every GoSub routine should end with a Return application
execution so that the stack remains balanced.

Matt

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130911/1e617d3c/attachment.htm>


More information about the asterisk-dev mailing list