[asterisk-users] How to write a function with a return value in Asterisk

EdPimentl edpimentl at gmail.com
Wed Aug 8 14:33:40 CDT 2007


Why not use
1-Ruby RAGI
2-http://adhearsion.com/
or similar tools which overcome Asterisk dial plan limitations?
-E

On 8/8/07, Andrew Kohlsmith <akohlsmith-asterisk at benshaw.com> wrote:
>
> On Wednesday 08 August 2007 1:39:34 pm Mike wrote:
> > exten => 12345,1,AGI(agi-helloworld.agi)
>
> AGI is an application, and you've called it.
>
> > exten => 12345,1,Noop(${AGI(agi-helloworld.agi)})
>
> AGI is not a function.  You cannot "nest" applications like that.  The
> NoOp
> application cannot call another application.
>
> -A.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070808/0fbc3054/attachment.htm 


More information about the asterisk-users mailing list