<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <font face="Helvetica, Arial, sans-serif">Thank you for sharing your
      experience.<br>
      <br>
      Anyone else ? Maybe one of the developers can confirm this risk of
      working with macros ?<br>
      <br>
      I'm now also moving towards GoSub where possible. I was
      experiencing asterisk restarts every 40minutes. Exactly 40 minutes
      ! I've created a backtrace of the core dump file but have not had
      any reaction (and I myself don't understand the content of the
      backtrace)<br>
      <br>
      <br>
      Jonas.<br>
      <br>
    </font><br>
    On 01/18/2012 01:27 PM, Sammy Govind wrote:
    <blockquote
cite="mid:CAJUJwtg+2bbq6DFc7s+Vj6bvizhVa0mxG8+zzeqOF=ytjUWBqg@mail.gmail.com"
      type="cite">Yes I've personally experienced issue with nested
      macros and eventually asterisk failing to process call any
      further. So I moved onto using GoSUBs and everything worked
      perfectly. Since then I'm using GoSUBs happily.<br>
      <br>
      <div class="gmail_quote">On Wed, Jan 18, 2012 at 4:54 PM, Jonas
        Kellens <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:jonas.kellens@telenet.be">jonas.kellens@telenet.be</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div text="#000000" bgcolor="#ffffff"> <font face="Helvetica,
              Arial, sans-serif">Can someone confirm that the nesting of
              macro's or the continuous and simultaneous use of
              different macro's, can lead to stack-problems and cause an
              Asterisk spontaneous reboot/restart ?<br>
              <br>
              <br>
              Kind regards,<br>
              Jonas.<br>
              <br>
              <br>
            </font>
            <div>
              <div class="h5"><br>
                On 01/17/2012 03:02 PM, Bryant Zimmerman wrote: </div>
            </div>
            <blockquote type="cite">
              <div>
                <div class="h5"><span style="font-family:
                    Arial,Helvetica,sans-serif; font-size: 10pt;">Jonas<br>
                    <br>
                    &gt;From what I understand they are trying to phase
                    out Macros. We are slowly removing them from our
                    dialplans as time allows for testing. <br>
                    <br>
                    <div>Thanks<br>
                      <br>
                      Bryant Zimmerman (ZK Tech Inc.)<br>
                      616-855-1030 Ext. 2003</div>
                    <br>
                    <br>
                    <span style="font-family: tahoma,arial,sans-serif;
                      font-size: 10pt;">
                      <hr size="2" width="100%" align="center"> <b>From</b>:
                      "Jonas Kellens" <a moz-do-not-send="true"
                        href="mailto:jonas.kellens@telenet.be"
                        target="_blank">&lt;jonas.kellens@telenet.be&gt;</a><br>
                      <b>Sent</b>: Tuesday, January 17, 2012 5:53 AM<br>
                      <b>To</b>: "Asterisk Users Mailing List -
                      Non-Commercial Discussion" <a
                        moz-do-not-send="true"
                        href="mailto:asterisk-users@lists.digium.com"
                        target="_blank">&lt;asterisk-users@lists.digium.com&gt;</a><br>
                      <b>Subject</b>: [asterisk-users] Macro vs sub</span><br>
                    <br>
                    <span style="font-family:
                      helvetica,arial,sans-serif;">Hello list,<br>
                      <br>
                      can I conclude that it is better to use sub's in
                      stead of macro's ?<br>
                      <br>
                      I read the following in an Asterisk-book :<br>
                      <br>
                      GoSub() works in a different manner from Macro(),
                      though, in that it doesn’t have the stack space
                      requirements, so<br>
                      it nests effectively. Essentially, GoSub() acts
                      like Goto() with a memory of where it came from.<br>
                      <br>
                      Is it then not better to use a method that does
                      not stack ?!<br>
                      <br>
                      <br>
                      Kind regards,<br>
                      <br>
                      Jonas.<br>
                    </span><br>
                  </span> </div>
              </div>
              <pre><span class="HOEnZb"><font color="#888888"><fieldset></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a moz-do-not-send="true" href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a moz-do-not-send="true" href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a moz-do-not-send="true" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></font></span></pre>
            </blockquote>
          </div>
          <br>
          --<br>
_____________________________________________________________________<br>
          -- Bandwidth and Colocation Provided by <a
            moz-do-not-send="true" href="http://www.api-digital.com"
            target="_blank">http://www.api-digital.com</a> --<br>
          New to Asterisk? Join us for a live introductory webinar every
          Thurs:<br>
                        <a moz-do-not-send="true"
            href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
          <br>
          asterisk-users mailing list<br>
          To UNSUBSCRIBE or update options visit:<br>
            <a moz-do-not-send="true"
            href="http://lists.digium.com/mailman/listinfo/asterisk-users"
            target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
        </blockquote>
      </div>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
    </blockquote>
  </body>
</html>