How can I get friends' status from asterisk with linphone

I’m learning linphone on android. Now it’s working pretty well with asterisk as a sip server. Here’s my question, how can I get friends’ status from asterisk with a linphone client. Anyone help me? Thanks!

Did you got it to work?