[asterisk-users] Large dial plans and variables

Andreas Sikkema andreas.sikkema at bbeyond.nl
Thu May 3 02:39:36 MST 2007


> You're so right!
> 
> I thought about having just a catchall _. extension in the
> dialplan and doing everything else in a "real" language via AGI -
> PHP, Perl, ... whichever you like. It would make the programming
> part much easier as the scope of variables is just as you
> expect it to be.

Well, they're called macro's for a reason.... You guys are 
proposing adding functions or procedures. 

My first step in any macro would be to copy incoming 
variables, be it arguments or even asterisk defined stuff 
to local variables. But that is just me and my coding 
convention.

-- 
Andreas Sikkema


More information about the asterisk-users mailing list