Need to build Asterisk Console web page

Hello,
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.

Thanks,

TK

Instead of capturing the output, have you considered using Asterisk-Java asterisk-java.org/ ?

And monitoring events or querying for specific info?