pjsua_acc_set_online_status method
Modify account's presence status to be advertised to remote/presence subscribers. This would trigger the sending of outgoing NOTIFY request if there are server side presence subscription for this account, and/or outgoing PUBLISH if presence publication is enabled for this account.
@see pjsua_acc_set_online_status2()
@param acc_id The account ID. @param is_online True of false.
@return PJ_SUCCESS on success, or the appropriate error code.
Implementation
int pjsua_acc_set_online_status(
int acc_id,
int is_online,
) {
return _pjsua_acc_set_online_status(
acc_id,
is_online,
);
}