[Asterisk-Users] AGI Rocks!! (A happy camper)

costas costas at meezon.com
Tue Nov 25 13:02:55 MST 2003


I was just looking at AGI with PHP myself. I just have a real dumb question. How does Linux know to send $stdout(or echo) to *? What if there are other apps open as well waiting for input. WOn't they get the output?

Also, how does the AGI know to read from $stdin is * input?

Costas

---------- Original Message ----------------------------------
From: WipeOut <wipe_out at users.sourceforge.net>
Reply-To: asterisk-users at lists.digium.com
Date:  Tue, 25 Nov 2003 19:14:48 +0000

>A note to all those who are avoiding writing up an AGI becasue it looks 
>two complicated..
>
>I have just written up my first and its awesome.. It makes Asterisk open 
>to all sorts of possibilities.. let your imagination run wild..
>
>I put off writing an AGI script because a) I could not find any docs b) 
>it looked like the only way to do it was perl and I know nothing about 
>perl and c) I am not a coder, more a simple sysadmin..
>
>Eventually I decided to give it a try, and seeing as the language I know 
>the best is PHP I decided to do my script in PHP.. The truth of the 
>matter is that once you have worked out how to get your variables from 
>Asterisk into a usable array or whatever you are happy using the rest is 
>a piece of cake..
>
>It goes without saying that what I have done is stupidly simple but for 
>a non coder its still a giant achivement..
>
>So all I can say is thanks to the Mark and the team for dreaming up 
>AGI... To those who are putting off giving it a go, don't!!.. Dive in 
>and give it a try..
>
>PS. I won't be much help to anyone on AGI related questions, the list is 
>still you best bet, this was just to hopefully inspire others to give it 
>a try..
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>

--
Costas Menico
Meezon Software Corp
201-224-8111
costas at meezon.com

--



More information about the asterisk-users mailing list