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

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Wed Aug 8 12:53:46 CDT 2007


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.



More information about the asterisk-users mailing list