SIP peer poke info need to parse on my JAVA application


Our scenario is given below,
Need to parse all SIP peer poke real time information"what we are seeing on asterisk CLI prompt" to my Java application with out asterisk commands and AMI.

Which helps to my users which SIP users are alive or not? before going to make a SIP calls.

Could you please give us some suggestion for this?