Skip to content
Snippets Groups Projects
Commit 629ca084 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#2662] Call setVoIPLink() manually when adding a new SIP account

parent 00b7ee0c
No related branches found
No related tags found
No related merge requests found
...@@ -3979,6 +3979,7 @@ ManagerImpl::addAccount (const std::map< std::string, std::string >& details) ...@@ -3979,6 +3979,7 @@ ManagerImpl::addAccount (const std::map< std::string, std::string >& details)
if (accountType == "SIP") { if (accountType == "SIP") {
newAccount = AccountCreator::createAccount (AccountCreator::SIP_ACCOUNT, newAccountID); newAccount = AccountCreator::createAccount (AccountCreator::SIP_ACCOUNT, newAccountID);
newAccount->setVoIPLink();
} else if (accountType == "IAX") { } else if (accountType == "IAX") {
newAccount = AccountCreator::createAccount (AccountCreator::IAX_ACCOUNT, newAccountID); newAccount = AccountCreator::createAccount (AccountCreator::IAX_ACCOUNT, newAccountID);
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment