Need to build Asterisk Console web page

I am looking to get the standard output from an Asterisk console and display it back to a web page. The whole web part I have no problem with, I was wondering how I would go about getting standard output of the console using the Java Asterisk API. Does anyone know how to do this? I’m able to do this using J2SSH API, but I get too much data back, which causes an IOException. Any help would be greatly appreciated.



Instead of capturing the output, have you considered using Asterisk-Java ?

And monitoring events or querying for specific info?