<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt"><span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"> <hr width="100%" size="2" align="center" />
<b>From</b>: "Bryant Zimmerman" &lt;BryantZ@zktech.com&gt;<br />
<b>Sent</b>: Friday, July 22, 2011 11:21 AM<br />
<b>To</b>: asterisk-users@lists.digium.com<br />
<b>Subject</b>: Re: [asterisk-users] Phase out macro command.</span><br />
<br />
<span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Hey all<br />
<br />
I am looking at pulling out the macro command from all of my dial plans. This is due to the long term phase out of macros as per the upgrade documentation.&nbsp;&nbsp; I would like to get feed back from others on how they might go about this. Based on what I see it looks like Gosub / Return is the way to do this I have already started&nbsp;this with new code written&nbsp;for 1.8.x..&nbsp;From what&nbsp;I have found&nbsp;this&nbsp;requires&nbsp;variables to be scoped to the entire call plan verses the older method of passing macro level variables. <br />
<br />
I would love to hear others take on this topic as well before I pull out all of my macros.<br />
<br />
<div id="divSignature">Thanks<br />
<br />
Bryant&nbsp;Zimmerman (ZK Tech Inc.)<br />
</div>
</span>&nbsp; <hr width="100%" size="2" align="center" />
<br />
Sorry guys I went back and read the wiki again and see that I can pass arguments in the gosub. I have been out there multiple times and for some reason it just had not got it until I stopped and read word for word again.&nbsp;It now make more sense.&nbsp; I guess some days it just takes asking the question to wake up and see the answer has been there staring me in the face. Too many hours too little sleep some days. <br />
<br />
Thanks<br />
Bryant<br />
<br />
<br /></span>