This callback in pjsua should give you everything that you need in terms of presence info. BR Johan /** * Notify application when the state of client subscription session * associated with a buddy has changed. Application may use this * callback to retrieve more detailed information about the state * changed event. * * @param buddy_id The buddy id. * @param sub Event subscription session. * @param event The event which triggers state change event. */ void (*on_buddy_evsub_state)(pjsua_buddy_id buddy_id, pjsip_evsub *sub, pjsip_event *event); -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111223/a50dd18b/attachment.html>