|
Ring Daemon
|
#include <account.h>


Public Member Functions | |
| Account (const std::string &accountID) | |
| void | addDefaultModerator (const std::string &peerURI) |
| void | attach (const std::shared_ptr< Call > &call) |
| void | attach (const std::shared_ptr< Conference > &conf) |
| virtual std::unique_ptr< AccountConfig > | buildConfig () const =0 |
| const AccountConfig & | config () const |
| virtual void | connectivityChanged () |
| Inform the account that the network status has changed. | |
| bool | detach (const std::shared_ptr< Call > &call) |
| virtual void | doRegister ()=0 |
| Register the account. | |
| virtual void | doUnregister (bool forceShutdownConnections=false)=0 |
| Unregister the account. | |
| void | editConfig (std::function< void(AccountConfig &config)> &&edit) |
| void | enableAutoLoadConversations (bool enable) |
| void | enableIceCompIdRfc5245Compliance (bool enable) |
| void | enableIceForMedia (bool enable) |
| void | enableVideo (bool enable) |
| virtual void | flush () |
| This method is called to request removal of possible account traces on the system, like internal account setup files. | |
| std::map< std::string, std::string > | getAccountDetails () const |
| const std::string & | getAccountID () const |
| Get the account ID. | |
| virtual std::string_view | getAccountType () const =0 |
| std::vector< std::shared_ptr< SystemCodecInfo > > | getActiveAccountCodecInfoList (MediaType mediaType) const |
| std::vector< unsigned > | getActiveCodecs (MediaType mediaType=MEDIA_ALL) const |
| const std::string & | getAlias () const |
| std::shared_ptr< Call > | getCall (const std::string &callId) const |
| std::vector< std::string > | getCallList () const |
| std::shared_ptr< Conference > | getConference (const std::string &confId) const |
| std::vector< std::string > | getConferenceList () const |
| std::set< std::string > | getDefaultModerators () const |
| std::string | getDisplayName () const |
| virtual std::string | getFromUri () const =0 |
| const std::string & | getHostname () const |
| virtual std::vector< libjami::Message > | getLastMessages (const uint64_t &) |
| std::string | getMailBox () const |
| virtual im::MessageStatus | getMessageStatus (uint64_t) const |
| Return the status corresponding to the token. | |
| virtual std::map< std::string, std::string > | getNearbyPeers () const |
| const std::filesystem::path & | getPath () const |
| vCard::utils::VCardData | getProfileVcard () const |
| RegistrationState | getRegistrationState () const |
| bool | getRingtoneEnabled () const |
| std::filesystem::path | getRingtonePath () const |
| bool | getUPnPActive () const |
| returns whether or not UPnP is enabled and active ie: if it is able to make port mappings | |
| dhtnet::IpAddr | getUPnPIpAddress () const |
| Get the UPnP IP (external router) address. | |
| const std::string & | getUserAgentName () |
| Get the user-agent. | |
| const std::string & | getUsername () const |
| virtual std::map< std::string, std::string > | getVolatileAccountDetails () const |
| virtual bool | handleMessage (const std::shared_ptr< dht::crypto::Certificate > &, const std::string &, const std::pair< std::string, std::string > &) |
| void | hangupCalls () |
| Free all ressources related to this account. | |
| bool | hasActiveCodec (MediaType mediaType) const |
| bool | isActive () const noexcept |
| Tell if the account is activated (can currently be used). | |
| bool | isAllModerators () const |
| bool | isAutoAnswerEnabled () const |
| bool | isComposingEnabled () const |
| bool | isDenySecondCallEnabled () const |
| bool | isEmptyOffersEnabled () const |
| bool | isEnabled () const |
| Tell if the account is enable or not. | |
| bool | isIceCompIdRfc5245Compliant () const |
| bool | isIceForMediaEnabled () const |
| virtual bool | isIP2IP () const |
| Returns true if this is the IP2IP account. | |
| bool | isLocalModeratorsEnabled () const |
| bool | isReadReceiptEnabled () const |
| bool | isRendezVous () const |
| bool | isUsable () const |
| bool | isVideoEnabled () const |
| virtual void | loadConfig () |
| Load the settings in this account. | |
| void | loadDefaultCodecs () |
| Helper function used to load the default codec order from the codec factory. | |
| virtual std::shared_ptr< Call > | newOutgoingCall (std::string_view toUrl, const std::vector< libjami::MediaMap > &mediaList)=0 |
| Create a new outgoing call. | |
| bool | removeConference (const std::string &confId) |
| void | removeDefaultModerator (const std::string &peerURI) |
| virtual void | saveConfig () const |
| std::shared_ptr< SystemCodecInfo > | searchCodecById (unsigned codecId, MediaType mediaType) |
| std::shared_ptr< SystemCodecInfo > | searchCodecByPayload (unsigned payload, MediaType mediaType) |
| virtual uint64_t | sendTextMessage (const std::string &, const std::string &, const std::map< std::string, std::string > &, uint64_t=0, bool=false) |
| If supported, send a text message from this account. | |
| void | setAccountDetails (const std::map< std::string, std::string > &details) |
| void | setActive (bool active) noexcept |
| virtual void | setActiveCodecs (const std::vector< unsigned > &list) |
| Update both the codec order structure and the codec string used for SDP offer and configuration respectively. | |
| void | setCodecActive (unsigned codecId) |
| void | setCodecInactive (unsigned codecId) |
| void | setConfig (std::unique_ptr< AccountConfig > &&config) |
| void | setEnabled (bool enable) |
| virtual void | setIsComposing (const std::string &, bool) |
| virtual bool | setMessageDisplayed (const std::string &, const std::string &, int) |
| virtual bool | setPushNotificationConfig (const std::map< std::string, std::string > &data) |
| virtual bool | setPushNotificationToken (const std::string &pushDeviceToken="") |
| virtual bool | setPushNotificationTopic (const std::string &topic="") |
| virtual void | setRegistrationState (RegistrationState state, int detail_code=0, const std::string &detail_str={}) |
| Set the registration state of the specified link. | |
| virtual void | updateProfile (const std::string &, const std::string &, const std::string &, int32_t)=0 |
| virtual | ~Account () |
| Virtual destructor. | |
Static Public Member Functions | |
| static std::map< std::string, std::string > | getDefaultCodecDetails (const unsigned &codecId) |
| static std::vector< unsigned > | getDefaultCodecsId () |
| static bool | meetMinimumRequiredVersion (const std::vector< unsigned > &jamiVersion, const std::vector< unsigned > &minRequiredVersion) |
Public Attributes | |
| std::mt19937_64 | rand |
| Random generator engine Logical account state shall never rely on the state of the random generator. | |
Protected Member Functions | |
| std::vector< unsigned > | getAccountCodecInfoIdList (MediaType mediaType) const |
| std::shared_ptr< SystemCodecInfo > | searchCodecByName (const std::string &name, MediaType mediaType) |
| private account codec searching functions | |
| void | setAllCodecsActive (MediaType mediaType, bool active) |
| void | sortCodec () |
| virtual void | updateUpnpController () |
Static Protected Member Functions | |
| static std::string | getDefaultUserAgent () |
| Build the user-agent string. | |
| static std::string | mapStateNumberToString (RegistrationState state) |
Protected Attributes | |
| std::vector< std::shared_ptr< SystemCodecInfo > > | accountCodecInfoList_ |
| Vector containing all account codecs (set of system codecs with custom parameters) | |
| const std::string | accountID_ |
| Account ID are assign in constructor and shall not changed. | |
| bool | active_ {true} |
| Tells if the account is active now. | |
| bool | autoLoadConversations_ {true} |
| Auto load conversations when creatinf convModule() | |
| std::unique_ptr< AccountConfig > | config_ {} |
| std::recursive_mutex | configurationMutex_ {} |
| bool | iceCompIdRfc5245Compliant_ {false} |
| bool | iceForMediaEnabled_ {true} |
| std::filesystem::path | idPath_ {} |
| path to account | |
| RegistrationState | registrationState_ {RegistrationState::UNLOADED} |
| std::filesystem::path | ringtonePath_ |
| Ringtone .au file used for this account. | |
| std::shared_ptr< SystemCodecContainer > | systemCodecContainer_ |
| Vector containing all system codecs (with default parameters) | |
| std::mutex | upnp_mtx {} |
| UPnP IGD controller and the mutex to access it. | |
| std::shared_ptr< dhtnet::upnp::Controller > | upnpCtrl_ |
Static Protected Attributes | |
| static const std::string | DEFAULT_USER_AGENT = Account::getDefaultUserAgent() |
Friends | |
| class | ConfigurationTest |
| jami::Account::Account | ( | const std::string & | accountID | ) |
Definition at line 64 of file account.cpp.
References loadDefaultCodecs().

|
virtual |
Virtual destructor.
Definition at line 74 of file account.cpp.
Definition at line 434 of file account.cpp.
References config_.
Definition at line 407 of file account.h.
References jami::CallSet::add().

|
inline |
Definition at line 409 of file account.h.
References jami::CallSet::add(), and jami::emitSignal().

|
pure virtual |
Implemented in jami::JamiAccount, and jami::SIPAccount.
Referenced by setAccountDetails().
|
inline |
Definition at line 108 of file account.h.
References config_.
Referenced by jami::JamiAccount::config(), jami::SIPAccount::config(), jami::SIPAccountBase::config(), enableVideo(), getAccountDetails(), getAlias(), getDefaultModerators(), getDisplayName(), getHostname(), getMailBox(), getRingtoneEnabled(), getUsername(), isAllModerators(), isAutoAnswerEnabled(), isComposingEnabled(), isDenySecondCallEnabled(), isEnabled(), isLocalModeratorsEnabled(), isReadReceiptEnabled(), isRendezVous(), isUsable(), isVideoEnabled(), setConfig(), and updateUpnpController().
Inform the account that the network status has changed.
Reimplemented in jami::JamiAccount, jami::SIPAccount, and jami::SIPAccountBase.
Definition at line 408 of file account.h.
References jami::CallSet::remove().

Register the account.
This should update the getRegistrationState() return value.
Implemented in jami::JamiAccount, and jami::SIPAccount.
Unregister the account.
This should update the getRegistrationState() return value.
Implemented in jami::JamiAccount, and jami::SIPAccount.
|
inline |
Definition at line 116 of file account.h.
References config_, configurationMutex_, jami::emitSignal(), and saveConfig().
Referenced by jami::JamiAccount::editConfig(), jami::SIPAccount::editConfig(), and enableVideo().

Definition at line 398 of file account.h.
References autoLoadConversations_.
Definition at line 397 of file account.h.
References iceCompIdRfc5245Compliant_.
Definition at line 372 of file account.h.
References iceForMediaEnabled_.
Definition at line 273 of file account.h.
References config(), editConfig(), and jami::AccountConfig::videoEnabled.

This method is called to request removal of possible account traces on the system, like internal account setup files.
Reimplemented in jami::JamiAccount, and jami::SIPAccountBase.
Definition at line 424 of file account.h.
Referenced by jami::SIPAccountBase::flush().
|
protected |
Definition at line 363 of file account.cpp.
References accountCodecInfoList_, jami::emitSignal(), and jami::MEDIA_NONE.

|
inline |
Definition at line 135 of file account.h.
References config(), configurationMutex_, and jami::AccountConfig::toMap().

|
inline |
Get the account ID.
Definition at line 149 of file account.h.
References accountID_.
Referenced by jami::JamiAccount::buildConfig(), jami::SIPAccount::buildConfig(), jami::SIPAccountBase::flush(), hangupCalls(), jami::im::MessageEngine::load(), jami::SIPAccountBase::loadConfig(), jami::im::MessageEngine::onMessageSent(), jami::operator<<(), jami::operator<<(), removeConference(), jami::SIPPresence::reportPresSubClientNotification(), and jami::SIPAccount::updateProfile().
|
pure virtual |
Implemented in jami::JamiAccount, and jami::SIPAccount.
| std::vector< std::shared_ptr< SystemCodecInfo > > jami::Account::getActiveAccountCodecInfoList | ( | MediaType | mediaType | ) | const |
Definition at line 407 of file account.cpp.
References accountCodecInfoList_, jami::emitSignal(), and jami::MEDIA_NONE.

Definition at line 349 of file account.cpp.
References accountCodecInfoList_, jami::emitSignal(), and jami::MEDIA_NONE.

|
inline |
Definition at line 287 of file account.h.
References jami::AccountConfig::alias, and config().

Definition at line 400 of file account.h.
References jami::CallSet::getCall().

|
inline |
Definition at line 401 of file account.h.
References jami::CallSet::getCallIds().

|
inline |
Definition at line 402 of file account.h.
References jami::emitSignal(), and jami::CallSet::getConference().

|
inline |
Definition at line 406 of file account.h.
References jami::CallSet::getConferenceIds().

|
static |
Definition at line 266 of file account.cpp.
References jami::emitSignal(), jami::getSystemCodecContainer, jami::MEDIA_ALL, jami::MEDIA_AUDIO, and jami::MEDIA_VIDEO.
Referenced by libjami::getCodecDetails().

|
static |
Definition at line 260 of file account.cpp.
References jami::getSystemCodecContainer, and jami::MEDIA_ALL.
Referenced by libjami::getActiveCodecList().
|
inline |
Definition at line 362 of file account.h.
References config(), and jami::AccountConfig::defaultModerators.

|
staticprotected |
Build the user-agent string.
Definition at line 428 of file account.cpp.
References jami::emitSignal(), jami::platform(), and libjami::version().

|
inline |
Definition at line 309 of file account.h.
References config(), and jami::AccountConfig::displayName.

|
pure virtual |
Implemented in jami::JamiAccount, and jami::SIPAccount.
|
inline |
Definition at line 286 of file account.h.
References config(), and jami::AccountConfig::hostname.

|
inlinevirtual |
Reimplemented in jami::JamiAccount, and jami::SIPAccountBase.
|
inline |
Definition at line 310 of file account.h.
References config(), and jami::AccountConfig::mailbox.

|
inlinevirtual |
Return the status corresponding to the token.
Reimplemented in jami::SIPAccountBase.
Definition at line 222 of file account.h.
References jami::im::UNKNOWN.
|
inlinevirtual |
Reimplemented in jami::JamiAccount.
|
inline |
| vCard::utils::VCardData jami::Account::getProfileVcard | ( | ) | const |
Definition at line 181 of file account.cpp.
References jami::emitSignal(), idPath_, JAMI_ERROR, jami::fileutils::loadTextFile(), and jami::vCard::utils::toMap().
Referenced by jami::SIPAccount::updateProfile().

|
inline |
Definition at line 172 of file account.h.
References registrationState_.
|
inline |
Definition at line 308 of file account.h.
References config(), and jami::AccountConfig::ringtoneEnabled.

|
inline |
Definition at line 307 of file account.h.
References ringtonePath_.
| bool jami::Account::getUPnPActive | ( | ) | const |
returns whether or not UPnP is enabled and active ie: if it is able to make port mappings
returns whether or not UPnP is enabled and active_ ie: if it is able to make port mappings
Definition at line 300 of file account.cpp.
References jami::emitSignal(), upnp_mtx, and upnpCtrl_.
Referenced by jami::SIPAccountBase::getIceOptions(), and jami::SIPAccount::newOutgoingCall().

| dhtnet::IpAddr jami::Account::getUPnPIpAddress | ( | ) | const |
Get the UPnP IP (external router) address.
If use UPnP is set to false, the address will be empty.
Definition at line 287 of file account.cpp.
References jami::emitSignal(), upnp_mtx, and upnpCtrl_.
Referenced by jami::SIPAccount::newOutgoingCall().

| const std::string & jami::Account::getUserAgentName | ( | ) |
Get the user-agent.
Definition at line 422 of file account.cpp.
References config_, and DEFAULT_USER_AGENT.
Referenced by jami::SIPPresence::fillDoc().
|
inline |
Definition at line 285 of file account.h.
References config(), and jami::AccountConfig::username.

|
virtual |
Reimplemented in jami::JamiAccount, jami::SIPAccount, and jami::SIPAccountBase.
Definition at line 174 of file account.cpp.
References libjami::Account::VolatileProperties::ACTIVE, active_, jami::Conf::CONFIG_ACCOUNT_REGISTRATION_STATUS, jami::FALSE_STR, mapStateNumberToString(), registrationState_, and jami::TRUE_STR.
Referenced by jami::SIPAccountBase::getVolatileAccountDetails(), and setRegistrationState().

|
inlinevirtual |
Reimplemented in jami::JamiAccount.
Definition at line 341 of file account.h.
Referenced by jami::SIPAccountBase::onTextMessage().
| void jami::Account::hangupCalls | ( | ) |
Free all ressources related to this account.
Current calls using this account are HANG-UP
Definition at line 77 of file account.cpp.
References getAccountID(), jami::CallSet::getCallIds(), jami::Manager::hangupCall(), and jami::Manager::instance().

Definition at line 195 of file account.cpp.
References accountCodecInfoList_, and jami::emitSignal().

|
inlinenoexcept |
|
inline |
Definition at line 368 of file account.h.
References jami::AccountConfig::allModeratorsEnabled, and config().

|
inline |
Definition at line 313 of file account.h.
References jami::AccountConfig::autoAnswerEnabled, and config().

|
inline |
Definition at line 316 of file account.h.
References config(), and jami::AccountConfig::sendComposing.

|
inline |
Definition at line 314 of file account.h.
References config(), and jami::AccountConfig::denySecondCallEnabled.

|
inline |
Definition at line 375 of file account.h.
Referenced by jami::SIPAccount::newOutgoingCall().
|
inline |
Tell if the account is enable or not.
Definition at line 252 of file account.h.
References config(), and jami::AccountConfig::enabled.

|
inline |
Definition at line 396 of file account.h.
References iceCompIdRfc5245Compliant_.
|
inline |
Definition at line 371 of file account.h.
References iceForMediaEnabled_.
Returns true if this is the IP2IP account.
Reimplemented in jami::SIPAccount.
Definition at line 158 of file account.h.
Referenced by jami::SIPAccountBase::getVolatileAccountDetails().
|
inline |
Definition at line 367 of file account.h.
References config(), and jami::AccountConfig::localModeratorsEnabled.

|
inline |
Definition at line 315 of file account.h.
References config(), and jami::AccountConfig::sendReadReceipt.

|
inline |
Definition at line 312 of file account.h.
References config(), and jami::AccountConfig::isRendezVous.

|
inline |
Definition at line 271 of file account.h.
References active_, config(), jami::emitSignal(), and jami::AccountConfig::enabled.
Referenced by updateUpnpController().

|
inline |
Definition at line 277 of file account.h.
References config(), and jami::AccountConfig::videoEnabled.
Referenced by jami::SIPAccountBase::createDefaultMediaList(), and jami::SIPAccount::newOutgoingCall().

|
virtual |
Load the settings in this account.
Reimplemented in jami::JamiAccount, jami::SIPAccount, and jami::SIPAccountBase.
Definition at line 148 of file account.cpp.
References config_, jami::DEFAULT_RINGTONE_PATH, jami::emitSignal(), jami::fileutils::get_resource_dir_path(), jami::fileutils::getFullPath(), JAMI_WARNING, jami::RINGDIR, ringtonePath_, setActiveCodecs(), and updateUpnpController().
Referenced by jami::SIPAccountBase::loadConfig(), setAccountDetails(), and setConfig().

| void jami::Account::loadDefaultCodecs | ( | ) |
Helper function used to load the default codec order from the codec factory.
Definition at line 124 of file account.cpp.
References accountCodecInfoList_, jami::CODEC_ENCODER_DECODER, jami::emitSignal(), jami::MEDIA_AUDIO, jami::MEDIA_VIDEO, and systemCodecContainer_.
Referenced by Account().

|
staticprotected |
Definition at line 234 of file account.cpp.
References CASE_STATE, jami::ERROR_AUTH, libjami::Account::States::ERROR_GENERIC, jami::ERROR_GENERIC, jami::ERROR_HOST, jami::ERROR_NEED_MIGRATION, jami::ERROR_NETWORK, jami::ERROR_SERVICE_UNAVAILABLE, jami::INITIALIZING, jami::REGISTERED, jami::TRYING, jami::UNLOADED, and jami::UNREGISTERED.
Referenced by getVolatileAccountDetails(), and setRegistrationState().
|
static |
Definition at line 446 of file account.cpp.
References jami::emitSignal(), and jami::swarm_protocol::version.

|
pure virtual |
Create a new outgoing call.
| toUrl | The address to call |
| mediaList | A list of media |
Implemented in jami::JamiAccount, and jami::SIPAccount.
Definition at line 410 of file account.h.
References jami::emitSignal(), getAccountID(), and jami::CallSet::removeConference().

Definition at line 440 of file account.cpp.
References config_.
|
virtual |
Reimplemented in jami::JamiAccount.
Definition at line 168 of file account.cpp.
References jami::Manager::instance(), and jami::Manager::saveConfig().
Referenced by editConfig(), setAccountDetails(), setPushNotificationConfig(), setPushNotificationToken(), and setPushNotificationTopic().

| std::shared_ptr< SystemCodecInfo > jami::Account::searchCodecById | ( | unsigned | codecId, |
| MediaType | mediaType | ||
| ) |
Definition at line 313 of file account.cpp.
References accountCodecInfoList_, jami::emitSignal(), and jami::MEDIA_NONE.
Referenced by setActiveCodecs().

|
protected |
private account codec searching functions
Definition at line 325 of file account.cpp.
References accountCodecInfoList_, jami::emitSignal(), and jami::MEDIA_NONE.

| std::shared_ptr< SystemCodecInfo > jami::Account::searchCodecByPayload | ( | unsigned | payload, |
| MediaType | mediaType | ||
| ) |
Definition at line 337 of file account.cpp.
References accountCodecInfoList_, jami::emitSignal(), and jami::MEDIA_NONE.

|
inlinevirtual |
If supported, send a text message from this account.
Reimplemented in jami::JamiAccount, and jami::SIPAccountBase.
|
inline |
Definition at line 125 of file account.h.
References buildConfig(), config_, configurationMutex_, jami::emitSignal(), loadConfig(), and saveConfig().

Update both the codec order structure and the codec string used for SDP offer and configuration respectively.
Reimplemented in jami::JamiAccount, and jami::SIPAccount.
Definition at line 204 of file account.cpp.
References jami::emitSignal(), jami::MEDIA_ALL, searchCodecById(), setAllCodecsActive(), and sortCodec().
Referenced by loadConfig().

Definition at line 378 of file account.cpp.
References accountCodecInfoList_, jami::emitSignal(), and jami::MEDIA_NONE.
Referenced by setActiveCodecs().

Definition at line 389 of file account.cpp.
References accountCodecInfoList_, and jami::emitSignal().

Definition at line 398 of file account.cpp.
References accountCodecInfoList_, and jami::emitSignal().

|
inline |
Definition at line 96 of file account.h.
References config(), config_, configurationMutex_, and loadConfig().

Definition at line 254 of file account.h.
References config_, and updateUpnpController().

Reimplemented in jami::JamiAccount.
|
inlinevirtual |
Reimplemented in jami::JamiAccount.
|
virtual |
Reimplemented in jami::JamiAccount, and jami::SIPAccount.
Definition at line 459 of file account.cpp.
References config_, configurationMutex_, jami::emitSignal(), jami::platform(), and saveConfig().

|
inlinevirtual |
Reimplemented in jami::JamiAccount, and jami::SIPAccount.
Definition at line 224 of file account.h.
References config_, configurationMutex_, jami::emitSignal(), and saveConfig().

|
inlinevirtual |
Reimplemented in jami::JamiAccount.
Definition at line 235 of file account.h.
References config_, configurationMutex_, jami::emitSignal(), and saveConfig().

|
virtual |
Set the registration state of the specified link.
| state | The registration state of underlying VoIPLink |
Reimplemented in jami::SIPAccount, jami::SIPAccountBase, and jami::JamiAccount.
Definition at line 103 of file account.cpp.
References accountID_, jami::emitSignal(), getVolatileAccountDetails(), mapStateNumberToString(), registrationState_, and jami::runOnMainThread().
Referenced by jami::SIPAccountBase::setRegistrationState().

|
protected |
Definition at line 224 of file account.cpp.
References accountCodecInfoList_, and jami::emitSignal().
Referenced by setActiveCodecs().

|
pure virtual |
Implemented in jami::JamiAccount, and jami::SIPAccount.
|
protectedvirtual |
Definition at line 84 of file account.cpp.
References config(), jami::Manager::instance(), isUsable(), upnp_mtx, and upnpCtrl_.
Referenced by loadConfig(), and setEnabled().

|
protected |
Vector containing all account codecs (set of system codecs with custom parameters)
Definition at line 477 of file account.h.
Referenced by getAccountCodecInfoIdList(), getActiveAccountCodecInfoList(), getActiveCodecs(), hasActiveCodec(), loadDefaultCodecs(), searchCodecById(), searchCodecByName(), searchCodecByPayload(), setAllCodecsActive(), setCodecActive(), setCodecInactive(), and sortCodec().
|
protected |
Account ID are assign in constructor and shall not changed.
Definition at line 453 of file account.h.
Referenced by getAccountID(), jami::SIPAccountBase::onTextMessage(), and setRegistrationState().
Tells if the account is active now.
This allows doRegister to be called. When an account is unactivated, doUnregister must be called.
Definition at line 462 of file account.h.
Referenced by getVolatileAccountDetails(), isActive(), isUsable(), and setActive().
Auto load conversations when creatinf convModule()
Definition at line 500 of file account.h.
Referenced by enableAutoLoadConversations().
|
protected |
Definition at line 437 of file account.h.
Referenced by addDefaultModerator(), config(), jami::JamiAccount::consumeConfigCredentials(), editConfig(), getUserAgentName(), loadConfig(), removeDefaultModerator(), setAccountDetails(), setConfig(), setEnabled(), setPushNotificationConfig(), setPushNotificationToken(), and setPushNotificationTopic().
|
mutableprotected |
Definition at line 455 of file account.h.
Referenced by editConfig(), getAccountDetails(), setAccountDetails(), setConfig(), setPushNotificationConfig(), setPushNotificationToken(), and setPushNotificationTopic().
|
staticprotected |
Definition at line 441 of file account.h.
Referenced by getUserAgentName().
Definition at line 496 of file account.h.
Referenced by enableIceCompIdRfc5245Compliance(), and isIceCompIdRfc5245Compliant().
Definition at line 495 of file account.h.
Referenced by enableIceForMedia(), and isIceForMediaEnabled().
|
protected |
path to account
Definition at line 482 of file account.h.
Referenced by jami::JamiAccount::buildConfig(), getPath(), getProfileVcard(), and jami::SIPAccount::updateProfile().
|
mutable |
Random generator engine Logical account state shall never rely on the state of the random generator.
Definition at line 334 of file account.h.
Referenced by jami::SIPAccountBase::acquireRandomEvenPort(), jami::SIPAccountBase::getRandomEvenPort(), jami::im::MessageEngine::sendMessage(), and jami::SIPAccountBase::sendTextMessage().
|
protected |
Definition at line 468 of file account.h.
Referenced by getRegistrationState(), getVolatileAccountDetails(), jami::SIPAccountBase::setRegistrationState(), and setRegistrationState().
|
protected |
Ringtone .au file used for this account.
Definition at line 487 of file account.h.
Referenced by getRingtonePath(), and loadConfig().
|
protected |
Vector containing all system codecs (with default parameters)
Definition at line 473 of file account.h.
Referenced by loadDefaultCodecs().
|
mutableprotected |
UPnP IGD controller and the mutex to access it.
Definition at line 492 of file account.h.
Referenced by getUPnPActive(), getUPnPIpAddress(), and updateUpnpController().
|
protected |
Definition at line 493 of file account.h.
Referenced by jami::SIPAccountBase::getIceOptions(), getUPnPActive(), getUPnPIpAddress(), and updateUpnpController().