Home --> Documentations --> PJSIP Reference
#include <account.hpp>
Parameters for presNotify() account method.
Server presence subscription instance.
Server presence subscription state to set.
Optionally specify the state string name, if state is not "active", "pending", or "terminated".
If the new state is PJSIP_EVSUB_STATE_TERMINATED, optionally specify the termination reason.
If the new state is PJSIP_EVSUB_STATE_TERMINATED, this specifies whether the NOTIFY request should contain message body containing account's presence information.
Optional list of headers to be sent with the NOTIFY request.