<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Wed, Sep 11, 2013 at 1:57 AM, Jeremy Kister <span dir="ltr">&lt;<a href="mailto:asterisk-dev-02@jeremykister.com" target="_blank">asterisk-dev-02@jeremykister.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
I just found that the Asterisk::AGI Perl module does not handle GoSub, so i&#39;m sending in a patch.<br>
<br>
my patch seems to work correctly, but the console always prints:<br>
<br>
NOTICE[4856][C-00000010]: app_stack.c:1182 handle_gosub: SIP/143-0000000f Abnormal AGI Gosub(SaferSIPDial,s,1(<u></u><a href="tel:2158552423" value="+12158552423" target="_blank">2158552423</a>)) exit.  Popping routine return locations.<br>

<br>
What&#39;s this trying to tell me?<br>
<br>
app_stack.c:1182 is talking about current vs former values of context/priority/extension.<br>
<br>
my patch is at: <a href="http://pastebin.com/EvvSudNK" target="_blank">http://pastebin.com/EvvSudNK</a><span class=""><font color="#888888"><br>
<br></font></span></blockquote><div><br></div><div style>Asterisk is letting you know that the GoSub routine that was executed didn&#39;t Return. Every GoSub routine should end with a Return application execution so that the stack remains balanced.</div>
</div><div class="gmail_extra"><br></div>Matt<br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Matthew Jordan<br></div><div>Digium, Inc. | Engineering Manager</div><div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div>
<div>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> &amp; <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></div></div>
</div></div>