Easiest way to make outgoing call from manager
This commit is contained in:
parent
87e8ae05b4
commit
d1785e31f7
1 changed files with 5 additions and 2 deletions
|
@ -371,7 +371,10 @@ public class LinphoneManager implements LinphoneCoreListener {
|
|||
|
||||
public void newOutgoingCall(AddressType address) {
|
||||
String to = address.getText().toString();
|
||||
newOutgoingCall(to, address.getDisplayedName());
|
||||
}
|
||||
|
||||
public void newOutgoingCall(String to, String displayName) {
|
||||
// if (mLc.isIncall()) {
|
||||
// listenerDispatcher.tryingNewOutgoingCallButAlreadyInCall();
|
||||
// return;
|
||||
|
@ -392,7 +395,7 @@ public class LinphoneManager implements LinphoneCoreListener {
|
|||
mListenerDispatcher.tryingNewOutgoingCallButWrongDestinationAddress();
|
||||
return;
|
||||
}
|
||||
lAddress.setDisplayName(address.getDisplayedName());
|
||||
lAddress.setDisplayName(displayName);
|
||||
|
||||
boolean isLowBandwidthConnection = !LinphoneUtils.isHightBandwidthConnection(LinphoneService.instance().getApplicationContext());
|
||||
|
||||
|
|
Loading…
Reference in a new issue