Hello,<div>I am not able to jump to a label from inside a macro. The goto is made inside a catch while the label is in the body of the macro:</div><div><br></div><div style="text-align:justify"><div><font face="courier new, monospace">macro recordMessage() {</font></div>
<div><font face="courier new, monospace"> Answer();</font></div><div><font face="courier new, monospace"> recordagain:</font></div><div><font face="courier new, monospace"> Playback(after-the-tone);</font></div>
<div><font face="courier new, monospace"> Playback(say-temp-msg-prs-pound);</font></div><div><font face="courier new, monospace"> record(/tmp/${UNIQUEID}.wav);</font></div><div><font face="courier new, monospace"> earagain:</font></div>
<div><font face="courier new, monospace"> Playback(/tmp/${UNIQUEID});</font></div><div><font face="courier new, monospace"> Background(press-1);</font></div><div><font face="courier new, monospace"> Background(to-hear-msg-again);</font></div>
<div><font face="courier new, monospace"> Background(press-2);</font></div><div><font face="courier new, monospace"> Background(to-rerecord-yr-message);</font></div><div><font face="courier new, monospace"> Background(press-pound-save-changes);</font></div>
<div><font face="courier new, monospace"> WaitExten(15);</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"> catch 1 {</font></div><div><font face="courier new, monospace"> goto earagain;</font></div>
<div><font face="courier new, monospace"> };</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"> catch 2 {</font></div><div><font face="courier new, monospace"> goto recordagain;</font></div>
<div><font face="courier new, monospace"> };</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"> catch # {</font></div><div><font face="courier new, monospace"> AGI(uploadMedia.php,/tmp/${UNIQUEID}.wav,wav,${TENANTID});</font></div>
<div><font face="courier new, monospace"> Playback(your-msg-has-been-saved);</font></div><div><font face="courier new, monospace"> };</font></div><div><font face="courier new, monospace">};</font></div><div style="font-family:'Lucida Grande',Verdana,Lucida,Helvetica,Arial,sans-serif">
<br></div><div style="font-family:'Lucida Grande',Verdana,Lucida,Helvetica,Arial,sans-serif">The "goto earagain" fails because the label is searched inside the 1 extension.</div><div style="font-family:'Lucida Grande',Verdana,Lucida,Helvetica,Arial,sans-serif">
<br></div><div style="font-family:'Lucida Grande',Verdana,Lucida,Helvetica,Arial,sans-serif">How can I jump correctly to the label?</div><div style="font-family:'Lucida Grande',Verdana,Lucida,Helvetica,Arial,sans-serif">
<br></div><div style="font-family:'Lucida Grande',Verdana,Lucida,Helvetica,Arial,sans-serif">Leandro</div></div>