[Asterisk-Dev] Java based AGI

Alastair Maw asterisk at almaw.com
Mon Oct 27 06:20:36 MST 2003


On 27/10/03 12:39, Johanna Kangas wrote:
> I have made several AGIs with Java, based on the documentation in
> http://home.cogeco.ca/~camstuff/agi.html

I don't know about your application EXEC problem, and I don't wish to 
sound discouraging, but I feel the need to point something out here...

Java is *not* something you should be using for AGI scripts. This isn't 
a language holy war thing (I code Java all day). It's simply that having 
the whole of the Java virtual machine start up for every AGI script you 
call is really very very nasty. Don't expect the machine to take any 
load whatsoever, particularly if you don't have much RAM in it.

-- 
Alastair Maw
MX Telecom - Systems Analyst
http://www.mxtelecom.com




More information about the asterisk-dev mailing list