Fixed (outgoing) calls

This commit is contained in:
Sylvain Berfini 2017-11-27 16:35:20 +01:00
parent 8e814a36df
commit 3fd7df75f2
2 changed files with 6 additions and 4 deletions

View file

@ -567,13 +567,15 @@ public class LinphoneManager implements CoreListener, ChatMessageListener, Senso
}
ProxyConfig lpc = getLc().getDefaultProxyConfig();
if (lpc != null) {
/*if (lpc != null) {
to = lpc.normalizePhoneNumber(to);
}
}*/
Address lAddress;
lAddress = mLc.interpretUrl(to);
if (lAddress == null) return;
if (lAddress == null) {
return;
}
if (mR.getBoolean(R.bool.forbid_self_call) && lpc != null && lAddress.asStringUriOnly().equals(lpc.getIdentityAddress())) {
return;
}

@ -1 +1 @@
Subproject commit 9a8181ee3108e7ab713d80edbaf705a457e01440
Subproject commit ca159350b8bdaa9147518d581485e26ffe46f8e5