mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
[#2519] Store new localUDPTransport if changed in IP2IP settings
This commit is contained in:
@ -2685,7 +2685,14 @@ void SIPVoIPLink::shutdownSipTransport(const AccountID& accountID)
|
||||
void SIPVoIPLink::updateAccountInfo (const AccountID& accountID)
|
||||
{
|
||||
|
||||
createUDPServer (accountID);
|
||||
createSipTransport (accountID);
|
||||
|
||||
if(accountID == IP2IP_PROFILE) {
|
||||
|
||||
SIPAccount* account = dynamic_cast<SIPAccount *> (Manager::instance().getAccount (accountID));
|
||||
// Store new IP2IP UDP transport as default
|
||||
_localUDPTransport = account->getAccountTransport();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user