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

This commit is contained in:
Alexandre Savard
2010-01-14 13:04:07 -05:00
parent 00b7ee0cb8
commit 629ca0844c

View File

@ -3979,6 +3979,7 @@ ManagerImpl::addAccount (const std::map< std::string, std::string >& details)
if (accountType == "SIP") {
newAccount = AccountCreator::createAccount (AccountCreator::SIP_ACCOUNT, newAccountID);
newAccount->setVoIPLink();
} else if (accountType == "IAX") {
newAccount = AccountCreator::createAccount (AccountCreator::IAX_ACCOUNT, newAccountID);
} else {