It seems to me that the data submitted to the adapter has to use the ARI protocol.
My question is if there is any way to just submit raw data from telnet to the browser?

For example the data received from my asterisk telnet connection is :
Event: PeerStatus
Privilege: system,all
Peer: SIP/6000
PeerStatus: Registered

I would like to pass that to the browser, by just relaying the output of the asterisk api interface to the lightstreamer proxy data adapter.

I have read the ARI specification and could create the datatype as "Event" and datasegment as "PeerStatus" ... is this the best way?