pjsua_buddy_subscribe_pres method
Enable/disable buddy's presence monitoring. Once buddy's presence is subscribed, application will be informed about buddy's presence status changed via \a on_buddy_state() callback.
@param buddy_id Buddy identification. @param subscribe Specify non-zero to activate presence subscription to the specified buddy.
@return PJ_SUCCESS on success, or the appropriate error code.
Implementation
int pjsua_buddy_subscribe_pres(
int buddy_id,
int subscribe,
) {
return _pjsua_buddy_subscribe_pres(
buddy_id,
subscribe,
);
}