[asterisk-users] Asterisk as an IVR solution
Douglas Garstang
dougmig33 at yahoo.com
Fri Jul 11 09:40:55 CDT 2008
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 <tilghman at mail.jeffandtilghman.com>
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080711/e3ab6b4a/attachment.htm
More information about the asterisk-users
mailing list