[asterisk-dev] European Asterisk Developer's Meet-Up: Last Call

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Apr 29 17:12:19 CDT 2009


On Wednesday 29 April 2009 15:22:25 Benny Amorsen wrote:
> Tilghman Lesher <tilghman at mail.jeffandtilghman.com> writes:
> > I think it should be a function, not an application, as its function is
> > to change a value, not to do something to the channel.
>
> There really is nothing to return, and the function would be primarily
> called for side effects.

exten => _XXX,1,Set(foo=3)
exten => _XXX,n,While(${DEC(foo)})
exten => _XXX,n,DoSomethingInteresting
exten => _XXX,n,EndWhile

-- 
Tilghman



More information about the asterisk-dev mailing list