diff --git a/sflphone-common/src/account.h b/sflphone-common/src/account.h index de933a3a0e91054afc26e7e50250e6a68a3a9085..a263128e371b47c457fa1f0a39dccd8d34569d58 100644 --- a/sflphone-common/src/account.h +++ b/sflphone-common/src/account.h @@ -364,7 +364,7 @@ class Account : public Serializable /** * Account ID are assign in constructor and shall not changed */ - std::string _accountID; + const std::string _accountID; /** * Account login information: username diff --git a/sflphone-common/src/iax/iaxaccount.cpp b/sflphone-common/src/iax/iaxaccount.cpp index 6c2221781199422941739e583dac9618b9c317cc..a1e8ac5530f7f1a5d502078d63296e73ee2a0446 100644 --- a/sflphone-common/src/iax/iaxaccount.cpp +++ b/sflphone-common/src/iax/iaxaccount.cpp @@ -97,7 +97,6 @@ void IAXAccount::unserialize (Conf::MappingNode *map) map->getValue(aliasKey, &_alias); map->getValue(typeKey, &_type); - map->getValue(idKey, &_accountID); map->getValue(usernameKey, &_username); map->getValue(passwordKey, &_password); map->getValue(hostnameKey, &_hostname); diff --git a/sflphone-common/src/sip/sipaccount.cpp b/sflphone-common/src/sip/sipaccount.cpp index b90f5e423570387310a628c2b0a72def7cdc2123..e64a91dd45ba3b361451d91f299cfed7097ca150 100644 --- a/sflphone-common/src/sip/sipaccount.cpp +++ b/sflphone-common/src/sip/sipaccount.cpp @@ -296,7 +296,6 @@ void SIPAccount::unserialize (Conf::MappingNode *map) map->getValue(aliasKey, &_alias); map->getValue(typeKey, &_type); - map->getValue(idKey, &_accountID); map->getValue(usernameKey, &_username); map->getValue(authenticationUsernameKey, &_authenticationUsername); map->getValue(passwordKey, &_password);