I am using Java language in my application to monitor the status of SIP peers with the help of asterisk-java jar. Previously I have used chan_sip driver, So I could able fetch the status SIP peers using SipShowPeerAction class. Now I have moved to chan_pjsip driver. I need to fetch the status of PJSIP endpoints using API not using command like “pjsip show endpoints”.