#include <account.hpp>
Account information. Application can query the account information by calling Account::getInfo().
◆ AccountInfo()
pj::AccountInfo::AccountInfo |
( |
| ) |
|
|
inline |
◆ fromPj()
◆ id
◆ isDefault
bool pj::AccountInfo::isDefault |
Flag to indicate whether this is the default account.
◆ uri
string pj::AccountInfo::uri |
◆ regIsConfigured
bool pj::AccountInfo::regIsConfigured |
Flag to tell whether this account has registration setting (reg_uri is not empty).
◆ regIsActive
bool pj::AccountInfo::regIsActive |
Flag to tell whether this account is currently registered (has active registration session).
◆ regExpiresSec
unsigned pj::AccountInfo::regExpiresSec |
An up to date expiration interval for account registration session.
◆ regStatus
Last registration status code. If status code is zero, the account is currently not registered. Any other value indicates the SIP status code of the registration.
◆ regStatusText
string pj::AccountInfo::regStatusText |
String describing the registration status.
◆ regLastErr
Last registration error code. When the status field contains a SIP status code that indicates a registration failure, last registration error code contains the error code that causes the failure. In any other case, its value is zero.
◆ onlineStatus
bool pj::AccountInfo::onlineStatus |
Presence online status for this account.
◆ onlineStatusText
string pj::AccountInfo::onlineStatusText |
Presence online status text.
The documentation for this struct was generated from the following file: