[Asterisk-Dev] Dev Meeting list

Eric Wieling aka ManxPower eric at fnords.org
Thu Apr 28 21:53:26 MST 2005


alex at pilosoft.com wrote:
> On Thu, 28 Apr 2005, John Todd wrote:
> 
> 
>>Interesting method, but not quite consistent across all applications
>>considering many applications have many arguments they take, and adding
>>priorities into the argument list seems a bit "busy".  Here's a rehashed
>>message from long ago (and look!  I even used ENUM as the example!) -
>>perhaps it may be of some use in this thread:
> 
> Am I the only one who has horrible flashbacks of both BASIC (numbered 
> code) and FORTRAN (computed GOTOs) at same time? 
> 
> Ugh. I think by now everyone should realize that line-numbered programming
> is so 20th century. ;)
> 
> No, I'm not volunteering to replace asterisk dialplan with Yet Another 
> Embedded Language ;)

I'm a big fan of this (I use it in my macros and AGIs):

1) Set some variables to pass things/settings/informstion to the 
application

2) Run the application

3) Check the variables that the application sets to get information 
from the application.

-- 
Always do right. This will gratify some people and astonish the rest.
Mark Twain



More information about the asterisk-dev mailing list