forked from mirrors/linphone-iphone
update primary contact when network is up (so that in "guess" mode, we have an up to date ip address)
This commit is contained in:
parent
f893132414
commit
b40fd03881
1 changed files with 1 additions and 0 deletions
|
|
@ -6265,6 +6265,7 @@ static void set_sip_network_reachable(LinphoneCore* lc,bool_t is_sip_reachable,
|
|||
|
||||
if (is_sip_reachable){
|
||||
getPlatformHelpers(lc)->setDnsServers();
|
||||
if (lc->sip_conf.guess_hostname) update_primary_contact(lc);
|
||||
}
|
||||
|
||||
ms_message("SIP network reachability state is now [%s]",is_sip_reachable?"UP":"DOWN");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue