Allow call to self.
This commit is contained in:
parent
051c423e72
commit
b3798a436c
2 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
|||
<bool name="allow_edit_in_dialer">true</bool>
|
||||
<color name="conf_active_bg_color">#191970</color>
|
||||
|
||||
<bool name="forbid_self_call">false</bool>
|
||||
<string name="about_bugreport_email">linphone-android@belledonne-communications.com</string>
|
||||
</resources>
|
||||
|
||||
|
|
|
@ -314,7 +314,7 @@ public final class LinphoneManager implements LinphoneCoreListener {
|
|||
LinphoneAddress lAddress;
|
||||
try {
|
||||
lAddress = mLc.interpretUrl(to);
|
||||
if (mLc.isMyself(lAddress.asStringUriOnly())) {
|
||||
if (mR.getBoolean(R.bool.forbid_self_call) && mLc.isMyself(lAddress.asStringUriOnly())) {
|
||||
mListenerDispatcher.tryingNewOutgoingCallButWrongDestinationAddress();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue