Well, a macro is the closest thing the dial plan has to a subroutine, and 
without that, we might as well be programming in Assembler (no subroutines, 
local variables, lots of goto's... sound familiar?).

Doug.


----- Original Message ----
From: Tilghman Lesher <[EMAIL PROTECTED]>
To: Asterisk Users Mailing List - Non-Commercial Discussion 
<[email protected]>
Sent: Friday, July 11, 2008 7:20:40 AM
Subject: Re: [asterisk-users] Asterisk as an IVR solution

On Friday 11 July 2008 01:28:34 Douglas Garstang wrote:
> Well I can tell you that it makes a difficult programming environment, just
> a little more difficult. It means I can't implement a menu as a single
> reusable piece of code inside a macro.

That's the point.  A Macro is NOT a subroutine.  It's like saying that you
can't effectively hammer a nail with a screwdriver, and therefore you think
the screwdriver has a known problem.  There's nothing wrong with the
screwdriver; it simply is the wrong tool for the job.

-- 
Tilghman

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



      
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to