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

[#2486] Do not store IP address in config as this address may change

parent 3e0d1384
No related branches found
No related tags found
No related merge requests found
......@@ -335,7 +335,12 @@ void SIPAccount::loadConfig()
setLocalPort (atoi (localPort.c_str()));
setLocalAddress (Manager::instance().getConfigString (_accountID, LOCAL_ADDRESS));
// Do not store or use IP address in config as this address may change
// Use loadSIPLocalIP for now instead in register/unregister (UDP,STUN,TLS), newOutGoingCall, mod_on_rx_request
// TODO: if we realy have to bind to a specific interface, store interfaces by name instead
setLocalAddress (std::string("0.0.0.0"));
// setLocalAddress (Manager::instance().getConfigString (_accountID, LOCAL_ADDRESS));
// Published parameters
setPublishedSameasLocal (Manager::instance().getConfigString (_accountID, PUBLISHED_SAMEAS_LOCAL) == TRUE_STR ? true : false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment